0% found this document useful (0 votes)
9 views

SPI 2110 Introduction to Database Management Systems Year I II Semester II I

The document outlines the structure and content of a university examination for the course SPI 2110: Introduction to Database Management Systems. It includes instructions for answering questions, with a focus on database concepts, design, and SQL commands. The exam consists of five questions, covering topics such as database advantages, normalization, data models, and entity-relationship diagrams.

Uploaded by

westyjoe377
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

SPI 2110 Introduction to Database Management Systems Year I II Semester II I

The document outlines the structure and content of a university examination for the course SPI 2110: Introduction to Database Management Systems. It includes instructions for answering questions, with a focus on database concepts, design, and SQL commands. The exam consists of five questions, covering topics such as database advantages, normalization, data models, and entity-relationship diagrams.

Uploaded by

westyjoe377
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

UNIVERSITY EXAMINATION 2020/2021

YEAR 1/2 SEMESTER II/I EXAMINATION FOR THE DEGREE OF BACHELOR OF


SCIENCE IN INFORMATION TECHNOLOGY / MATHEMATICS AND COMPUTER
SCIENCE

SPI 2110: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS

DATE: Friday, 21st May, 2021 TIME: 1.30 pm – 3.30 pm

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)

QUESTION FOUR [20 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)

QUESTION FIVE [20 marks]


a) Describe any Four Data Model (8 Marks)
b) Using the table below in First Normal form INF, illustrate how you would
convert to 2NF and 3NF (12 marks)

Page 2 of 3
Page 3 of 3

You might also like