Assignment 2
Assignment 2
1. Explain Entity Relationship model with example. List all its notations.
2. What are the issues of database design?
3. Explain mapping cardinalities.
4. Explain specialization and generalization concepts and features of ER diagram with suitable example.
5. Explain aggregation with suitable examples.
6. Explain Different types of attributes.
7. Explain weak entity set with suitable example.
8. Explain Degree of Relationship set with diagram.
9. Draw the symbols for following ER diagram.
i. Relationship set
ii. Primary key attribute.
iii. Weak Entity Set
iv. Derived attribute.
10. Explain the following terms with suitable example.
i. Super Key
ii. Candidate key
iii. Primary key
iv. Alternate key
v. Foreign key
11. Explain entity and attributes with example.
12. Construct/Draw the E-R diagram for Following:
i. Insurance Company.
ii. University Management.
iii. Hospital Management System.
iv. University Exam System.
v. Student Section.
13. Explain steps to reduce the ER diagram to ER database schema.
14. Explain Entity Integrity constraints.
15. Explain various joins in RA.
16. List the Relational Algebra operators and Explain select, project, natural join, union and Cartesian product
operations with example.
17. Consider the following relational schema and give relational algebra expression for the following
queries
Library (Book_ID, Title,Author,Publication,Price)
(i) List out all books having Publication=”PHI” and Price >=400
(ii) find out book_id having title starts with A or a.
18. Consider the following schema and represent given statements in relational Algebra form.
Branch (branch_name, branch_city)
Account (branch_name, acc_no, balance)
Depositor (customer_name, acc_no)
i. Find out list of customer who have account at ‘abc’ branch.
ii. Find out all customers who have account in ‘Ahmedabad’ city and balance is greater than
10,000.
iii. Find out list of all branch name with their maximum.