0% found this document useful (0 votes)
7 views3 pages

2019 October End Examination - ITC 2344 - Database Design and Development

Uploaded by

vishans2001
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views3 pages

2019 October End Examination - ITC 2344 - Database Design and Development

Uploaded by

vishans2001
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

M J o IQ

5 Questions
3 Pages

University of Sri Jaycwardcncpura


Faculty of Management Studies and Comme rce 43
B. Sc. Business Information Systems (Special) Deg rce

Year II, Semester II End Semester Examination (Theory)-I October 2019

ITC2344: Database Design and Development


Duration; Three (3) hours
Answer any four (4) Questions

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)
;

b) A pharmaceutical company chain situated in Colombo needs a database that provides


data about available drugs, pharmacies, prescriptions written to patients by doctors and
prepared by physician, supplying pharmaceutical companies, contracts between
companies and pharmacies. The following is a description of some data requirements for
the chain of pharmacies.
A pharmaceutical company manufactures one or more drugs, and each drug is
manufactured and marketed by exactly one pharmaceutical company. Drugs are sold in

;■
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)

v. Draw a complete ER diagram (removing all anomalies that obstruct development of a


relational data model) for the pharmaceutical company chain.
(5 marks)
V

(Total 25 marks)
V

3.
a) What are the goals of database normalization? Explain.
(6 marks)

b) Describe the use of dependency preservation property in database normalization process.


(4 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

i) The table shown above is susceptible to update anomalies. Identify those


anomalies and provide examples for each anomaly from the table.
(6 marks)

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)

c) Briefly explain the inputs and outputs of physical database design.


(5 marks)

d) List down four (4) tasks of a database administrator in the business organization.
(4 marks)

(Total 25 marks)
****************************** //*********************************

Page 3 of 3

You might also like