DBMS Exam Revised
DBMS Exam Revised
DBMS Exam Revised
INSTRUCTIONS
1. The Paper is made up of FIVE (5) Questions, question ONE is compulsory plus any other
TWO questions.
2. Credit is given for legibility, clarity of expressions and use of relevant illustrations.
3. Clearly write your registration number on each answer sheet used.
QUESTION ONE:
a) Differentiate between the following terms as used in database
QUESTION TWO
a) Explain 5 components of SQL. (10 marks)
b) Given the two tables below:
STUDENT COURSE
i. Write SQL statements that will SELECT all data from both tables.
ii. Write SQL statements that will INSERT data in Student tables.
iii. Write SQL statement that will UPDATE data on a specific student from the
Student table.
iv. Write SQL statements that will DELETE specific records from both either of the
tables.
(8 marks)
c) Write an SQL SELECT statement that enforces ordering display of records.(2 marks)
QUESTION THREE
a) Explain four properties of a transaction. (8 marks)
b) Explain 3 problems presented by Interference between Concurrent transactions.
(6 marks)
a) With illustrations explain a deadly embrace deadlock. (6 marks)
QUESTION FOUR
b) Explain the steps involved in a database development lifecycle. (12 marks)
c) State and explain 4 functional components of a database system. (8 marks)
QUESTION FIVE
a) Define a relationship as used in Database systems? (2 marks)
b) By use of illustrations explain the basic types of relationships. (6 marks)
c) Explain 3 types of data models. (6 marks)
a) Explain the following forms of Normalization: