SPI 2110 Introduction to Database Management Systems Year I II Semester II I
SPI 2110 Introduction to Database Management Systems Year I II Semester II I
INSTRUCTIONS: Answer question one [compulsory] and any other two questions
QUESTION ONE [30 marks]
a) List three advantages of database systems over file-based systems (3 Marks)
b) Explain the importance of Logs in Database design (2 Marks)
c) Distinguish between the following: -
i) Data and Information
ii) Primary Key and Foreign Key
iii) Field and Record (6 Marks)
d) Outline the three classification of databases (6 Marks)
e) Explain the importance of business rules in database design (4 Marks)
f) Outline the three components of a relational data model (3 Marks)
g) Using a suitable example explain the following relationships: -
i) 1:M
ii) 1:1
iii) M:N (6 Marks)
QUESTION TWO [20 marks]
a) Using suitable command examples explain the following
i) Data Definition Language
ii) Data Manipulation Language (6 Marks)
b) Briefly explain how normalization improves database design (5 Marks)
c) Discuss the database design phases (9 Marks)
Page 1 of 3
QUESTION THREE [20 marks]
a) With the help on an example describe the following Data model building
blocks
i) Entity (2 marks)
ii) Attribute (2 marks)
iii) Constraint (2 marks)
iv) Relationship (2 marks)
v) Domain (2 Marks)
b) Write the SQL statements to execute the following tasks
i) Show the names of all courses units taught by professor Hamre
in 2020 (2 marks)
ii) Delete the record for the student whose name in 'Saulo' and
whose students' number is 100 (2 marks)
iii) Insert a new course <' Knowledge Management' 'INS 500', 3,
'RAM'> (2 marks)
iv) Update the course 'data mining' with new course code INF
444E (2 marks)
v) Delete entire Student table (2 Marks)
a) Using the Database in Question 3 (b) above develop an ERD showing all
the fields, primary keys, foreign keys and relationships (9 Marks)
b) Describe the normalization process (9 Marks)
c) Distinguish between composite and derived attributes (2 marks)
Page 2 of 3
Page 3 of 3