Database Assignment 1
Database Assignment 1
SPRING 2024
Assignment-1
CLO # Course Learning Outcome Taxonomy Level
CLO2 The students will be able to analyze requirements and Design conceptual, C4
logical, and physical database schemas using different data models.
Total Marks: 50
Due Date: April 08, 2023
Instructions:
Question 1
Composite and multivalued attributes can be nested to any number of levels. Suppose we want to design an
attribute for a STUDENT entity type to keep track of previous college education. Such an attribute will
have one entry for each college previously attended, and each such entry will be composed of college name,
start and end dates, degree entries (degrees awarded at that college, if any), and transcript entries (courses
completed at that college, if any). Each degree entry contains the degree name and the month and year the
degree was awarded, and each transcript entry contains a course name, semester, year, and grade. Design
an attribute to hold this information.
Question 2
Consider a CONFERENCE_REVIEW database in which researchers submit their research papers for
consideration. Reviews by reviewers are recorded for use in the paper selection process. The database
system caters primarily to reviewers who record answers to evaluation questions for each paper they review
and make recommendations regarding whether to accept or reject the paper. The data requirements are
summarized as follows:
· Authors of papers are uniquely identified by e-mail id. First and last names are also recorded.
· Each paper is assigned a unique identifier by the system and is described by a title, abstract, and the
name of the electronic file containing the paper.
· A paper may have multiple authors, but one of the authors is designated as the contact author.
· Reviewers of papers are uniquely identified by e-mail address. Each reviewer’s first name, last name,
phone number, affiliation, and topics of interest are also recorded.
· Each paper is assigned between two and four reviewers. A reviewer rates each paper assigned to him
or her on a scale of 1 to 10 in four categories: technical merit, readability, originality, and relevance
to the conference. Finally, each reviewer provides an overall recommendation regarding each
paper.
· Each review contains two types of written comments: one to be seen by the review committee only
and the other as feedback to the author(s).
Analyze the requirements and design an ER diagram for the above scenario.
Question 3
Part a) Consider the ER diagram shown in following figure for part of a BANK database. Each bank can
have multiple branches, and each branch can have multiple accounts and loans.
Part b)
Use mapping rules to reduce the ER diagram given in part a to a relational schema. Mention Primary and
Foreign keys with proper notations.
Question 4:
Part a)
Why do we make ternary relationship? How to give cardinality ratio in this relationship? Write in your own
words.
Part b)
For understanding crow foot notation read the following article. Draw the ER from Question 3 using crow
foot notation.
(For reference: https://www.freecodecamp.org/news/crows-foot-notation-relationship-symbols-and-how-
to-read-diagrams/ )
Question 5:
Use mapping rules to reduce the ER diagram to a relational schema. Mention Primary and Foreign keys
with proper notations.
===============================THE END===============================