Professional Documents
Culture Documents
BCT 2304 Database Management System
BCT 2304 Database Management System
1
i. Is it a simple or complex view?
ii. Briefly explain the implications of (1) above
c. Students at MUCST register for classes during the first three weeks of the semester, the university wants
to keep track of classes a student registers for, the date and a running total of all units they have signed
up for. Given this scenario:
i. State and explain implications of the current normal form. (2 Marks)
ii. Normalize the table as much as possible and explain your rationale. (8 Marks)
a. State and explain SQL features that are intended to assist in maintaining data integrity and how they do
so.
(5 Marks)
b. Using a data set show the problems that redundancy creates in a relational database. (5 Marks)
c. Construct an E-R diagram for a hospital with a set of patients and a set of medical doctors. Associate
with each patient a log of the various tests and examinations conducted. Your design should include an
E-R diagram, a set of relational schemas, and a list of constraints, including primary – key and foreign –
key constraints. (10 Marks)
a. List the ACID properties of transactions and explain the usefulness of each. (4 Marks)
b. Explain different ways you would go about implementing a distributed database. (6 Marks)
c. Design a database for an automobile company to provide to its dealers to assist them in maintaining
customer records and dealer inventory and to assist sales staff in ordering cars. Each vehicle is identified
by a vehicle identification number (VIN). Each individual vehicle is a particular model of a particular
brand offered by the company (e.g, the XF is a model of the car brand Jaguar of Tata Motors). Each
model can be offered with a variety of options, but an individual car may have only some (or some) of
the available options. The database needs to store information about models, brands and options as well
as information about individual dealers, customers and cars. Your design should include an E-R
diagram and a list of constraints, including primary-key and foreign-key constraints. Choose suitable
attributes for the entities you identify. (10 Marks)
2
QUESTION FIVE – 20 MARKS