Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Q1.

Consider the following ER diagram

The minimum number of tables needed to represent M, N, P, R1, R2


is _____
a) 2 b) 3 c) 4 d) 5

Q2.

What is the minimum number of tables needed for the above ER


diagram?
Q3.

After Minimizing this ER diagram we will convert it into a relational


model. As we know ‘Places’ & ‘Order’ will be combined so what will
be the correct degree of ‘PlacesOrder’ Table.
a) 2 b) 3 c) 4 d) 5

Q4.

After Minimizing this ER diagram we will convert it into relational


model. How manyattributes will be created in ‘Includes’ Table?
a) 1 b) 2 c) 3 d) 4
Q5. Consider the following Relationship Entity Diagram (ERD)

Which of the following possible relations will not hold if the above
ERD is maped into a relation model?
a) Person (NID, Name)
b) Qualification (NID, ExamID, QualifiedDate)
c) Exam (ExamID, NID, ExamName)
d) Exam (ExamID, ExamName)
Q6. Which one of the following pairs is correctly matched in the
context of database design?
List — I List — II
I. Specialization A. Result of taking the union of two
more disjoint (lower level) entity sets to
produce a higher-level entity set.
II. Generalization B. Express the number of entities to
which another entity can be associated
via a relationship set
III. Aggregation C. Result of taking a subset of a higher-
level entity set to form a lower-level
entity set.
IV. Mapping Cardinalities D. An abstraction in which relationship
sets (along with their associated entity
sets) are treated as higher-level entity
sets and can participate in relationships.
a) I-D, II-A, III-B, IV-C b) I-D, II-C, III-B, IV-A
c) I-C, II-D, III-A, IV-B d) I-C, II-A, III-D, IV-B

Q7. An ER model of a database consists of entity types A and B.


These are connected by a relationship R which does not have its
own attribute. Under which one of the following conditions, can
the relational table for R be merged with that of A?
a) Relationship R is one-to-many and the participation of A in R is
total.
b) Relationship R is one-to-many and the participation of A in R is
partial.
c) Relationship R is many-to-one and the participation of A in R is
total.
d) Relationship R is many-to-one and the participation of A in R is
partial.
Q8. Given an instance of the STUDENTS relation as shown below:

StudentID StudentName StudentEmail StudentAge CPI

2345 Shankar shankar@math X 9.4


1287 swati swati@ee 19 9.5
7853 shankar shankar@cse 19 9.4
9876 swati swati@mech 18 9.3
8765 ganesh ganesh@civil 19 8.7

For (StudentName, StudentAge) to be a key for this instance, the


value X should NOT be equal to ________.
a) 18 b) 19
c) 20 d) 21

Q9. In E-R model, Y is the dominant entity and X is subordinate


entity
a) If X is deleted, then Y is also deleted
b) If Y is deleted, then X is also deleted
c) If Y is deleted, then X is not deleted
d) None of the above

Q10. Which one of the following is used to represent the supporting


many-one relationships of a weak entity set in an entity-
relationship diagram?
a) Diamonds with double/bold border
b) Rectangles with double/bold border
c) Ovals with double/bold border
d) Ovals that contain underlined identifiers
Answers
1. B
2. B
3. B
4. C
5. C
6. D
7. C
8. B
9. B
10. A

You might also like