Académique Documents
Professionnel Documents
Culture Documents
Assignment #1
T.Hatoon Al-Sagri
a. List the (nonweak) entity types in the ER diagram b. Is there a weak entity type? If so, give its name, partial key and identifying relationship. c. For all relationships, specify on the diagram (min, max) constraint on each participation of an entity type in a relationship. d. List concisely the user requirements that led to this ER schema design. e. Suppose that every customer must have at least one account but is restricted to at most two loans at a time and that a bank branch cannot have more than 1000 loans, How does this show up on the (min, max) constraints?
Page 1 of 2
Assignment #1
T.Hatoon Al-Sagri
Question # 3:
The Motor Vehicle Branch administers driving tests and issues driver's licenses. A system will be designed and the requirements are: The driver identified by his SSN, and he has name, birth date, and address which contain from his city and phone number. A driver takes exam in one branch, the exam date, exam score, and exam time must be recorded. Any driver must take at least one exam. And he must own at least one license. Each branch identified by branch id, branch name, branch address. A branch may issue at least one license we need to keep track on the issue date for each license issued. Each license has license number, license class, and license expiry. Each license issued by one and only one branch and it owned by one and only one driver. Create an ER diagram for the above system. Identify the relationship type, the participating entity types, and the attributes of each entity type, the primary key, the cardinality ratio, and participation constraints. Finally, make any assumption you need.
Page 2 of 2