4 Marks |
Create Entity-Relationship model, Relational model, and write SQL queries.
Design a database starting from the conceptual design to the implementation of database schemas.
|
Question One
The clinic has several dentists. Each dentist has a unique Number, name, nationality, multiple room-number, salary, birth-date and home-address (Box, City, Zip).
Each client (patient) has a unique Code, name, home-phone, work-phone, address, and birth-date. Each client is assigned to one dentist. All future visits will be to the same dentist. A client can be insured or self-paying. An insured client should have an insurance company-name, and company-Phone, while a self-paying client must have a bank-name and a bank account. Each visit of a client is described by a date, type, action, fee, and date-of-next-appointment. |
Design an ER diagram for the following Dental Clinic database. Your diagram should have all the needed details. You may make any reasonable assumptions but you have to state them clearly.
- Design an Entity Relationship (ER) Model to represent the above requirements. (2 Marks)
- Convert the ER Diagram that presented in part-1 to Rational Schema. (2 Marks)
1 Mark |
Explain the concepts and architectures involved in database development.
|
Question Two
Explain and distinct between disjoint and overlapping constraints. (0.5 Mark)
Illustrate your answer with suitable examples for each constraint. (0.5 Mark)
1.5 Mark |
Learning Outcome(s):
CLO3 Create Entity-Relationship model, Relational model, and write SQL queries.
|
Question Three
Define Cardinality Ratios for binary relationship? What are possible Cardinality Ratios for Binary Relationship? Suppose in SEU, there are some departments consist of many employees. ( 1 Mark)
What is the cardinality ratio for DEPARTMENT:EMPLOYEE? (0.5 Marks)
1.5 Marks |
Learning Outcome(s):
CLO3 Create Entity-Relationship model, Relational model, and write SQL queries.
|
Question Four
In SEU, identify Cardinality ratios between the following entities:
Entity 1 Cardinality Ratio Entity 2
CLASSROOM ______________ PODIUM
STUDENT ______________ CLASS
INSTRUCTOR ______________ TECHNICAL STAFF
ROOM ______________ BRANCH
STUDENT ______________ TEACHER
INSTRUCTOR ______________ DEAN