Assignment 2
1. Explain the DBMS characteristics approach.
2. Explain the different kinds of DB users.
3. Differences between database users and DBA.
4. Differences between DDL, DML, and DCL languages
5. Explain 4 different kinds of data models and also list out the Merits and demerits of the
Data model. Also, mention differences between Hierarchical, ER model, and relational
models (any 5)
6. Differentiate between Strong and weak entities (any 6)
7. Differentiate between Generalization and specialization. (any 5)
8. Explain ER design issues. What are the Uses of ERD?
9. Differentiate between primary, foreign, and candidate keys with examples.
10. Draw an ER diagram for the Hospital management system. Starting with the login page.
Login has users, roles, and permission. A User can manage Doctors, Nurses, and
Hospitals collectively called hospital employees and patient information. The hospital
has details of medicines. One Doctor can treat many Patients. Patients also have to pay
the bill for medicine. Doctors may be trainees, permanent, or visiting. Each patient is
assigned individual rooms which are guarded by many nurses. Assume the attribute of
each entity's self (assume all kinds of entity).
11. Construct an E-R diagram for a car insurance company whose customers own one or
more cars each. Each car has associated with it zero to any number of recorded
accidents.
12. How Aggregation and Inheritance helps in ERD.
13. Differences between Entity and Entity sets.
14. 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.
15. Design an E-R diagram for keeping track of the exploits of your favorite sports team. You
should store the matches played, the scores in each match, the players in each match,
and individual player statistics for each match. Summary statistics should be modeled as
derived attributes.
16. What are the differences between Candidate, Primary, and Foreign Key?
17. Draw an ERD for the following. (Use extended features if necessary also better to use
draw.io for better results)
a. Inventory Management System
b. Fingerprint Attendance System
c. Canteen Management System
d. Online food ordering System
e. Parking Management System
f. Vehicle Rental and Management System
g. Tours and Travels Management System
h. Cinema Ticket Booking System
i. Library Management System
j. Event Management System
k. Bhatbhateni Supermarket
18. Convert ER into relational schemas of Que 18. a), c), g), i)