Q1. A University database comprises information regarding Professors (identified by a social security number) and courses (identified by a course ID). Each of the given situations concerns the relationship set among the teacher and the student. Draw an ER diagram which explains it (supposing that no further constraints hold).
a) A Professor can teach the similar course in some semesters and each offering should be recorded.
b) Each Professor teaches just one course.
c) Each Professor teaches at least one course and some Professors might teach multiple courses.
d) Each Professor teaches at least one course and several Professors must teach all the courses.
Q2. A bank has numerous branches and a large number of customers. A customer can open different types of accounts with the bank. The bank keeps track of customer with his SSN, name, address and phone number. Age is the factor to check whether he is a major. There are many types of loans, each recognized by a loan number.
Customer can take more than one type of loan and all the branches can give loans. Loans encompass a duration and interest rate. The account holder can enquire regarding the balance in his account. Draw an ER Diagram for bank. Illustrate appropriate suppositions made and use them in showing minimum and maximum cardinality ratios.