2019 October End Examination - ITC 2344 - Database Design and Development
2019 October End Examination - ITC 2344 - Database Design and Development
5 Questions
3 Pages
I.
a) Describe the main characteristics of the database approach and contrast it with the file- •’
based approach.
(8 marks)
b) Explain the five (5) components of the Database Management System (DBMS)
environment and discuss how they relate each other. /
(7 marks)
c) What is a record-based data model in DBMS? Briefly explain three (3) types of record-
based data models.
(5 marks)
d) Define the term system catalog in DBMS and list down three (3) functions of system
catalog.
(5 marks)
(Total 25 marks)
2. ;
a) Briefly explain what a user view represents in the context of a database application.
(6 marks)
;
;■
pharmacies. Each pharmacy has a unique identification. Every pharmacy sells one or
more drugs, but some pharmacies do not sell every drug. Drug sales must be recorded by
prescription, which are kept as a record by the pharmacy. A prescription clearly identifies
the drug, physician, and patient, as well as the date it is filled. Doctors prescribe drugs for
patients. A doctor can prescribe one or more drugs for a patient and a patient can get one
or more prescriptions, but a prescription is written by only one doctor. Pharmaceutical
companies may have long-term contracts with pharmacies and a pharmacy can contract
Page 1 of 3
with zero, one, or more pharmaceutical companies. Each contract is uniquely identified
by a contract number.
Based on the given information, answer the following questions. Use Unified Modelling
Language (UML) notations in all diagrams.
i. Identify entities that could be used for the above-mentioned company database.
(3 marks)
ii. Identify suitable attributes and primary key, for caph of the entity types you have
identified.
(3 marks)
«
iii. Identify relationships between above possible entities and write business rules that
explain the relationship.
(4 marks)
iv. Draw a 1* cut Entity Relationship (ER) diagram for each business rule identified
above (in part iii) showing multiplicities. Write down your assumptions if necessary.
(4 marks)
(Total 25 marks)
V
3.
a) What are the goals of database normalization? Explain.
(6 marks)
c) The table below is explaining the details of customer appointments in a vehicle service
station.
«
£taffNo MechanicName CustomerNo CustomerName Appointment JobCode
Date Vv Time '
Sllll Saman Perera cm Nisal Senavirathna 25-Sep-19 9.00 J10
Sllll Saman Perera C116 Sumeda Wass 25-Sep-19 13.00 J15
S1212 Ruwan Ranawaka C105 Pasan Soysa 26-Sep-19 10.00 J10
S1212 Ruwan Ranawaka C105 Pasan Soysa 26-Sep-19 15.30 J10
S1234 Kalpa Coory C116 Sumeda Wass 27-Sep-19 11.00 J15
S1234 Kalpa Coory C122 Prasanna Perera 25-Sep-19 16.00 J13
ii) Describe and illustrate the process of normalizing the above table to third normal
form (3NF). State any assumption you make about the data shown in this table.
(9 marks)
(Total 25 marks)
Page 2 of 3
'
4.
a) Briefly explain four (4) properties of relations in a relational database.
(4 marks)
b) Identify and describe strategics to derive relations for one-to-one binary relationship
; type in an entity relationship diagram using examples.
! (9 marks)
:
c) Consider the Entity Relationship (ER) diagram shown below and present the
relational schema mentioning the possible constraints in each relation. Use database
design language (DBDL) in presenting your answer.
^ supervises
1..1
Employee WorkConipletcd
1 ..* 1..1 works ^ 1..*
EmployeeNo {PK} EmpClientDay {PK}
EName EmployeeNo
SosecNo ClientNo
1..1 PayRate 1..1 Date
BillingRate Hours
SupervisorNo
1..*
completes Takes off works for
▼ ▼ ▼
1..1
1..* 1..*
Client
TrainingCompIeted ReleaseTime ClientNo {PK}
EmployeeDay{PK} CName
EmpClientDay {PK}
EmployeeNo Contact
EmployeeNo
Date PhoncNo
ClientNo Address
Date Hours
Vacations ick StreetAdd
Hours
State
City
ZipCode
(12 marks)
(Total 25 marks) .
5.
a) Differentiate between the user’s requirements specifications and the systems
specification. ,
(8 marks)
b) Describe two (2) tasks typically associated with merging local logical data models
into global logical data model.
(8 marks)
d) List down four (4) tasks of a database administrator in the business organization.
(4 marks)
(Total 25 marks)
****************************** //*********************************
Page 3 of 3