UNIVERSITY EXAMINATION 2017/2018
SCHOOL OF COMPUTING AND INFORMATICS
DEPARTMENT OF INFORMATION TECHNOLOGY
CERTIFICATE/DIPLOMA IN BUSINESS INFORMATION TECHNOLOGY
REGULAR
UNIT CODE: DIT1101 UNIT TITLE: INTRODUCTION TO DATABASE
DATE: AUGUST, 2018 SUPPLIMENTARY/SPECIAL EXAM TIME: 2 HOURS
INSTRUCTIONS: Answer Question One and any other two
QUESTION ONE
a) What do the following terms mean in database. (8 Marks)
i. Database
ii. Field Name
iii. Normalization
iv. DBMS
b) Relative database programs are said to be object oriented, name the major five
objects found in Ms Access. (5 Marks)
c) Using examples, Explain the difference between a validation rule and a validation
text. (4 Marks)
d) List and explain four application areas where Ms Access is used. (4 Marks)
e) Stored data may be destroyed by accident, machine malfunction or otherwise. What
are the measures taken to make sure that unauthorized persons cannot access the
database? (4 Marks)
Library Copy
Library Copy Page 1
f) State And Explain THREE Types Of Dbms Classified Based On Data Models.
(6 Marks)
QUESTION TWO
g) A relational database used to record details of advertisements contain two tables
which are related the tables are customer and advertisement tables with the
following fields.
Customer table
Advertisement table
CustomerId
AdvertId
Name
Content
Address
DateAdvertPlaced NoOfNights
Customertype
Classification
CustomerId
CustomerId and AdvertId are the primary key fields for the customer and
Advertisement
tables respectively.
i. What is a relational database? (2 Marks)
ii. Distinguish between primary and foreign key fields. (4 Marks)
iii. Explain the roles of a primary and a foreign key field in a table. (4 Marks)
iv. Name the attribute which is the foreign key in the advertisement table.
(2 Marks)
v. Indexes are created on customerID and Name attributes. What is an index
and why is it used in a database. (2 Marks)
a) Explain the meaning of the following terms with respect to data storage. (8 Marks)
i. Data redundancy
ii. Data consistency
iii. Data integrity
iv. Data independence
Library Copy Page 2
QUESTION THREE
a) Describe the five sections of a report created in Ms. Access. (10 Marks)
b) Explain any four field properties that can be set when designing tables in Ms. Access.
(8 Marks)
c) Explain the importance of a primary key in a table. (2 Marks)
QUESTION FOUR
a) Write Short Notes On The Following Database Languages (6 Marks)
i) DDL
ii) DML
b) Outline Five Limitations Of A File-Based System (5 Marks)
c) Using The Notations For E-R Diagrams, Draw An E-R Diagram For A College Database
Schema With Structural Constraints Specified Using (Min, Max) Notations And Role
Names. The Database Consists Of Three Entities (Lecturer, Student And Subject).
Include At Least Attributes For Every Entity. (9 Marks)
QUESTION FIVE
a) Explain the following terms as used in DBMS. (10 Marks)
i. Data Consistency
ii. Integrity
iii. Data independence
iv. Data Sharing
v. Views
b) Define the term Cardinality and illustrate any four types of cardinality using diagrams.
(10 Marks)
Library Copy Page 3