Mid 2 Dbms
Mid 2 Dbms
Max.
CO LEVEL Q.N. Question (s)
Marks
a)what is an entity set? Define relationship set and explain the symbols used
L1 to draw ER diagram
CO3 1 10 M
&L2
b) What is a weak entity in ER diagram?
Consider a database used to record the marks that students get in different
exams of different course offerings
a) Construct an E-R diagram that models exams as entities, and uses a ternary
relationship, for the above database.
CO3 L3&L6 2 10 M
b) Construct an alternative E-R diagram that uses only a binary relationship
between students and course offerings. Make sure that only one relationship
exists between a particular student and course-offering pair, yet you can
represent the marks that a student gets in different exams of a course
offering.
a)Explain the distinctions among the terms primary key, candidate key and
L1&L2 3 10 M
CO3 super key.
CO3 L3&L6 4 A university registrar’s office maintains data about the following entities 10 M
Construct an E-R diagram for the registrar’s office. Document all assumptions
that you make about the mapping constraints.
a) Explain the main steps in database design. What is the goal of each step?
To which step is the ER model mainly used? Why?
CO3 L1&L2 5 10 M
b) What is grouping in SQL? With examples explain GROUP BY & HAVING
clauses.
UNIT-2
LEVE Q. Max.
CO Question (s)
L N. Marks
Consider the relation on attributes(ABCDE) with functional dependencies
AB->CDE,AC->BDF,B->C,C->B,C->D,B->E
L3 1 10 M
CO4
a) Determine a key for Relation R.
X Y Z
X1 Y1 Z1
X1 Y1 Z2
X2 Y1 Z1
X2 Y1 Z3
List all the functional dependencies that this relational instance satisfies.
example.
UNIT-3
b)Explain about
CO5 L1 4.
i)Clustered index
ii)Primary index