Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
49 views
6 pages
2017 Nov
Theans
Uploaded by
nicoleakoya547
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save 2017nov(0) For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
49 views
6 pages
2017 Nov
Theans
Uploaded by
nicoleakoya547
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save 2017nov(0) For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save 2017nov(0) For Later
You are on page 1
/ 6
Search
Fullscreen
easytvet.com 292/206 DATABASE MANAGEMENT SYSTEM November 2017 ‘Time: 3 hours THE KENYA NATIONAL EXAMINATIONS COUNCIL DIPLOMA IN INFORMATION TECHNOLOGY MODULE H DATABASE MANAGEMENT SYSTEM 3 hours INSTRUCTIONS TO CANDIDATES: Answer any FIVE of the following EIGHT questions in the answer booklet provided. All questions carry equal marks. Candidates to answer the questions in English. ‘This paper consists of 6 printed pages. Candidates should check the question paper to ascertain that all the pages are printed as indicated and that no questions are missing. © 2017 The Kenya National Examinations Council, ‘Turn over(b) © 2920/206 November 2017 easytvet.com Explain each of the following terms as used in databases. (4 marks) () Data Definition Language. (ii) Database Catalogue, Table 1 is an extract from a database. Use it to answer the questions that follow. jationalD [FarmerName [Age nus jF00801 [Agnes ps 20000 FFo0679 [Catherine las 75000 [F00ss8 [Gladys Iss 35000 john Fo0725 Alex a 25000 Table 1: Farmer Write an algebraic expression to: (i) display the NationallD, FarmerName for all farmers who eam a bonus of less than 25,000; G marks) (ii) rename the table Farmer to FarmerDetail, the columns NationallD to ID arid Farmername to Frame; G marks) t (iii) display the average bonus eamed by the farmers. Hs oy fe marks) ys sy Explain ewo circumstances that may prompt an organisa to ingplementa centralised" 3" database. >in marks) © % Distinguish between one to one and one fo many cardinality as used in databases. Ore can sueys 0€ ore GAN agrees many (4 marks) State the database users who perform each of the following tasks: (2 marks) (Interacts with database systems without writing programs ; tt (i) Interacts with database systems through previously created programs. Study the following narrative and use it to answer the questions that follow A car insurance company has customers. The customer can be identified by, the idemtification number, name and location, The customer can own one or more cars and can buy one or more Insurance premiums. Each car has been associated with one or more accidents. A car can be identified by the registration number, model and capacity. we Represent the information in an BR diagram. E x = me Explain two limitations of the file-based database approach. \ Ae COS vy 5 oe ; Gs oe neg ’easytvet.com @—G)__ Distinguish between commit and roitback statements as used iv SQL. (4 marks) Gi) Explain the use of each of the following SQL statements: (4 marks) () Drop table Users Restrict: (II) Drop table Users Cascade. (2) Explain cach of the following terms as used in distributed database systems: (4 macks) - (i) partitioned tables; (ii) replicated tables... (6) With the aid of an example, distinguish between the terms relation and relation schema as used in databases. (4 marks} (©) John, a database administrator has been experiencing challenges manipulating data stored in a database, Explain three ways in which data normalization can resolve some of the challenges. — fists chasis - (6 marks) moon ysis (d)— @)—_ Outline the funefion’ kth tea product as used in algebra expression ued te pape O cy imesh marks) , (iy Wate the equvatet algebraic expression foreach ofthe following tuple calculus ex} {4 marks) © Yuen l= da)t ay {t|tEra_B]=17} (a Define the term file server as used in a client server database. ) marks) i aan) ine fi s er > marks) BEC Phe NG eV eBS All ALG BAGS (AGED ore tet (b) Describe two cobionents of 9 database. Sts | (4 marks) (c) Table 2 is an Employee table represented in INF, Use it to answer the questions that follow. EmployeeID | Contract | Hours | Employee Company | Company No Name » Location Gees |Scio2s [72 | P. White sclis Nairobi GTA3I5A | $C1025__ [48 __ | R. Press SCUS “| Nairobi 3231138 | SC1026_|24__| P. Smith $C23 ‘Nairobi @i6ss1B [SCi026—] 24 [P, White $C23 Nairobi ‘Table 2: Employee . Represent the table in its 3NF. — & marks) (a) ‘Using an example in each case, explain the following operators as used in relational algebra; (6 masks) @)umlon, = Uk Ku es yoR ES (i) intersection. 9 os 2920/206 3 ‘Turn over November 2017easytvet.com (iti) difference. 57 (@)_ Distinguish between the physical and logical stages of the database life eyele. (4 marks) (b) _Bxplain two functions of the Database Administrator in database environment. Se mance cceryoiity oF It (4-marks) Se Shrning og clerks (©) _Explain the nse of Grant Select on projects to Userl:SQL statement when applic in databases ate wasn, (marks) one eotema oe puget te (i) Table 3 is an extract 6a Oslablbe. Use it to answer the questions that follow. | [StudentID | CourseID | StudentName | Marks ! 190200 [C236 __| Catherine 70 190201 | C236 [Agnes 80 100302 C242__| Stephen 90 100322 | C240. Alexis 80, 100328 | C240 ___| John 86 100352 | C240 Jemimah 9 100201 [C241 [Agnes 30 Table 3: Students Write SQL statements to perform each of the following: (1) display StudentiD, StudentName for all students whose CourselD is ‘ C240; (2 marks (1) determine the total marks for the student Named Agnes and store the results in a field named TotalMarks; (2 matks) (IB) display the lowest mark seored for CourselD is C236. 2 marks) (@) Describe each of the following types of fictional dependency: (4 marks) ti) fully functional; (ii) tansitive 5/ —(@)__Oulline twa concurrency controls applied in database management systems. (2 marks) ° (b) State two differences between object oriented and relational database models. NO. (4.marks) (©) @__Define the term SQL injection as used in databases, (Qmarks) i) Table 4is an extract from a database. Use it to answer the questions that follow. BookID | BookName BookCategory | Status B00501_| Alice in wonderland _| Fiction IN 804003 _| History of the world | General IN 804006 | Our Country General our 105002 | A walk in the park _| Fiction our 402001 School Rules: Reference IN, Table 4: Book / 2920/206 4 . November 20172920/206 November 2017 easytvet.com Write an SQL statement that would perform each of the following: (display all records from the table with records having status IN and arrange them based on the field name BookCategory in descending order, _. Gmarks) (1) remove all records with BookID labelled B0200 1 from the table: (2 marks) (111) display fields BookID, BookName for the books with BookID starting with BO4 or BookCategory fiction _G marks) Explain ¢wo ways in which organisations can cope with challenges that arise from database emerging technologies. ‘(Gamarks) Define each of the following terms as used in databases. (4 marks) (i) authorization; - geting Ces se (ii) authentication. ~ Yeniggng Explain two circumstances that would prompt an organisation 10 use a special purpose database. “°PECHE purpase we ene “ “4 parks) = Eyicre re ee eos pares) Distinguish between a composite Key oe ‘@ compotind key as used in databases. ve (4narks) Table 5 shows the structure of a table named Car. Use it to answer the questions that follow: premen ts datubs® ” Field Data Type_| Fs = ime Carll) Integer Physical > Sou clauses ty create Model ‘VarChar(20) he td CON anon ‘YearofManufacture | Date Loqical- results In senor I { Status. Integer tema = ERdagram or clas diagram Table 5: Car 1S the basis 4 Haus relunen Schemas’ Write an SQL statement that would perform each of the following: Gi) create the table Car with the relevant fields; (3 marks) Gi) make CarID the primary Key; (2 marks) (iii) add fields named Make and Price that stote 30 characters and numbers respectively. (G marks) Define the term database security as used in databases. (2 marks) Explain two ways in which the role of a database designer complements that of a database developer. (4 marks) 5 ‘Turn overeasytvet.com (c) ‘Table 6 and 7 are extracts from a database. Use them to answer the questions that follow: GradeID | GradeName 002 Tutor 003 ‘Assistant Lecturer 004 Lecturer 005 Professor Table 6: Grade . LecturerNo | LecturerName | GradelD | Salary | Age | Yearimployed . 1345675 | Eunice (003 30000 [45 [1982 . 1347890 [ Agnes 003 45000 | 60_| 1985 1345679 | Alex ‘02 36000 [55__| 1989 1.456782 | Ted 008 25000 [22 [1996 1739073 | Felix 012 15000 [35 [1994 1397032 | Glad 015 $0000 1998 Table 7: Lecturer c aw (State an appropriate data type for the field named GradeName.-\® (1 mark) (ii) Write SQL statements to perform each of the following: () display the LecturerNo, LecturerName and Salary of all the lecturers, with GradeName “Assistant Lecturer”. (3 marks) 2 (1) display the LectureNo, GradelD and Salary for all Lecturers above age 50 and YearEmployed is between 1980 and 1992. (3 marks) (IIT) display all details of the lecturers whose age is not captured in the table Lecturer. (@ marks) (d)__Jane intends to commence the requirements gathering phase for the development of a database management system in her organisation. Outline two reasons why she should consider each of the following during the phase: onal eet (Reviewing of existing organisational documentation; — SS eds marks) (ii) Understanding the current operating environment. (2 marks) Jo THIS IS THE LAST PRINTED PAGE. 2920/206 6 November 2017
You might also like
Dbms Vtu Question Paper
PDF
No ratings yet
Dbms Vtu Question Paper
10 pages
6-Database Design and Development
PDF
No ratings yet
6-Database Design and Development
6 pages
Ubteb Tdit 123 Databased Planning, Design and Management Aug 2022
PDF
No ratings yet
Ubteb Tdit 123 Databased Planning, Design and Management Aug 2022
5 pages
Dbms
PDF
No ratings yet
Dbms
7 pages
Eee 207 Data Base Management Systems
PDF
No ratings yet
Eee 207 Data Base Management Systems
3 pages
Level 6 Database Systems Cat 1
PDF
No ratings yet
Level 6 Database Systems Cat 1
5 pages
Mount Kenya
PDF
No ratings yet
Mount Kenya
7 pages
Cs403 Collection of Old Papers
PDF
100% (1)
Cs403 Collection of Old Papers
19 pages
Faculty of Business / School of Computing and Mathematics Session ?? Examination
PDF
No ratings yet
Faculty of Business / School of Computing and Mathematics Session ?? Examination
11 pages
New Delhi Public School Class: XI Session: 2021-22 Informatics Practices (Code 065) Periodic Test-3 (Theory)
PDF
No ratings yet
New Delhi Public School Class: XI Session: 2021-22 Informatics Practices (Code 065) Periodic Test-3 (Theory)
6 pages
2016 Nov
PDF
No ratings yet
2016 Nov
7 pages
Dbf510s - Database Fundamentals - 1st Opp - June 2022
PDF
No ratings yet
Dbf510s - Database Fundamentals - 1st Opp - June 2022
9 pages
2013 J
PDF
No ratings yet
2013 J
17 pages
9 10 Ict CH6 MCQ
PDF
No ratings yet
9 10 Ict CH6 MCQ
103 pages
Database Systems MQs
PDF
No ratings yet
Database Systems MQs
13 pages
2019 July
PDF
No ratings yet
2019 July
5 pages
2017 July
PDF
No ratings yet
2017 July
6 pages
SPC 2304 SPI 2302 Advanced Database Management Systems Year III SEMESTER I
PDF
No ratings yet
SPC 2304 SPI 2302 Advanced Database Management Systems Year III SEMESTER I
4 pages
2016
PDF
No ratings yet
2016
10 pages
امتحانات سنة 2 ترم 2
PDF
No ratings yet
امتحانات سنة 2 ترم 2
14 pages
Database Management System
PDF
No ratings yet
Database Management System
6 pages
Paper 1
PDF
No ratings yet
Paper 1
3 pages
EE467 Final 2020 - Q17 Solutions
PDF
No ratings yet
EE467 Final 2020 - Q17 Solutions
7 pages
Batch 1 Set1
PDF
No ratings yet
Batch 1 Set1
5 pages
Bbit 304 Advanced Databases Systems
PDF
No ratings yet
Bbit 304 Advanced Databases Systems
3 pages
Cit 843 B
PDF
No ratings yet
Cit 843 B
33 pages
Database
PDF
No ratings yet
Database
6 pages
Dit1301 Database Systems Eve Main
PDF
No ratings yet
Dit1301 Database Systems Eve Main
3 pages
Databases
PDF
No ratings yet
Databases
10 pages
XI IP Annual Exam - 240127 - 145915
PDF
No ratings yet
XI IP Annual Exam - 240127 - 145915
7 pages
23cs1303 Database Management Systems Red
PDF
No ratings yet
23cs1303 Database Management Systems Red
5 pages
Week 1 Tutorial
PDF
No ratings yet
Week 1 Tutorial
7 pages
Exam
PDF
No ratings yet
Exam
4 pages
2018 Nov
PDF
No ratings yet
2018 Nov
4 pages
Sit 200-Data Base Management Systems
PDF
No ratings yet
Sit 200-Data Base Management Systems
3 pages
Exam March 2013, Questions Exam March 2013, Questions
PDF
No ratings yet
Exam March 2013, Questions Exam March 2013, Questions
5 pages
2nd Year One File Notes
PDF
No ratings yet
2nd Year One File Notes
23 pages
Q LR
PDF
No ratings yet
Q LR
2 pages
@2023 Tvet Cdacc: Page 1 of 4
PDF
No ratings yet
@2023 Tvet Cdacc: Page 1 of 4
4 pages
DBMS2
PDF
No ratings yet
DBMS2
18 pages
BCT 2304 Database Management System
PDF
No ratings yet
BCT 2304 Database Management System
3 pages
Heq Apr22 Dip Ds
PDF
No ratings yet
Heq Apr22 Dip Ds
4 pages
Cs3492 Dbms QB 1
PDF
No ratings yet
Cs3492 Dbms QB 1
24 pages
SPI 2110 Introduction To Database Management Systems Year I II Semester II I
PDF
No ratings yet
SPI 2110 Introduction To Database Management Systems Year I II Semester II I
3 pages
Database Questions
PDF
No ratings yet
Database Questions
4 pages
DB Sample Exam Intake30
PDF
No ratings yet
DB Sample Exam Intake30
8 pages
Assignment 2
PDF
No ratings yet
Assignment 2
6 pages
Sixth Semester University QP
PDF
No ratings yet
Sixth Semester University QP
19 pages
BCA/3/CC/15 Professional Course Examination, January 2021
PDF
No ratings yet
BCA/3/CC/15 Professional Course Examination, January 2021
3 pages
DBMS
PDF
No ratings yet
DBMS
3 pages
T Date: 6.8.2021 (AN) : Fourth Semester
PDF
No ratings yet
T Date: 6.8.2021 (AN) : Fourth Semester
7 pages
Database Fundamentals June 2019 Exam Paper
PDF
No ratings yet
Database Fundamentals June 2019 Exam Paper
5 pages
Hargeisa Technical Secondary School
PDF
No ratings yet
Hargeisa Technical Secondary School
4 pages
Dbmsprev
PDF
No ratings yet
Dbmsprev
7 pages
Batch 1 - Set A-Answer Key
PDF
No ratings yet
Batch 1 - Set A-Answer Key
6 pages
BIT - Database Programming 2024
PDF
No ratings yet
BIT - Database Programming 2024
7 pages
2223 1 Sehh2240
PDF
No ratings yet
2223 1 Sehh2240
5 pages
DBMS
PDF
No ratings yet
DBMS
5 pages
Cst204 Database Management Systems, December 2024
PDF
No ratings yet
Cst204 Database Management Systems, December 2024
3 pages