ER Model · Databases
11 questions · asked in 8 of 27 years (2000–2026)
MCQ 10 · NAT 11-mark 8 · 2-mark 3
2000Questions per year2026
Questions 1–5 of 11
Let S be the specification: "Instructors teach courses. Students register for courses. Courses are allocated classrooms. Instructors guide students." Which one of the following ER diagrams CORRECTLY represents S?
Answer: (D)
The specification gives us 4 entity sets Instructor, Course, Student and Classroom . It also gives us 4 relationships:
Instructor-Teaches-Course, Student-Registers-Course, Course-Allocated-Classroom, Instructor-Guides-Student.
- (i): Registration is drawn as an entity and Student is drawn as a relationship so it is wrong.
- (ii): There is no Student entity, and an extra Projects entity is used so it is wrong.
- (iii): Classroom is joined straight to Course, and the Allocation relationship does not connect Classroom so it is wrong.
- (iv): All four entities and all four relationships are connected correctly.
Answer: (iv)
Instructor-Teaches-Course, Student-Registers-Course, Course-Allocated-Classroom, Instructor-Guides-Student.
- (i): Registration is drawn as an entity and Student is drawn as a relationship so it is wrong.
- (ii): There is no Student entity, and an extra Projects entity is used so it is wrong.
- (iii): Classroom is joined straight to Course, and the Allocation relationship does not connect Classroom so it is wrong.
- (iv): All four entities and all four relationships are connected correctly.
Answer: (iv)
In the context of owner and weak entity sets in the ER (Entity-Relationship) data model, which one of the following statements is TRUE?
Answer: (A)
A weak entity cannot exist without its owner. So every weak entity must take part in the identifying relationship this means the weak entity set has total participation.
An owner may have no weak entities (for example, an employee with no dependents). So the owner's participation is not always total.
Answer: The weak entity set MUST have total participation in the identifying relationship
An owner may have no weak entities (for example, an employee with no dependents). So the owner's participation is not always total.
Answer: The weak entity set MUST have total participation in the identifying relationship
Which one of the following is used to represent the supporting many-one relationships of a weak entity set in an entity-relationship diagram?
Answer: (A)
In an ER diagram, the relationship between a weak entity and its owner is called the identifying relationship. It is shown as a diamond with a double border. The weak entity itself is shown as a double rectangle.
Answer: Diamonds with double/bold border
Answer: Diamonds with double/bold border
In an Entity-Relationship (ER) model, suppose R is a many-to-one relationship from entity set E1 to entity set E2. Assume that E1 and E2 participate totally in R and that the cardinality of E1 is greater than the cardinality of E2.
Which one of the following is true about R?
Which one of the following is true about R?
Answer: (A)
R is many-to-one from E1 to E2. So each entity in E1 is linked to at most one entity in E2. E1 takes part totally, so each entity in E1 is linked to at least one entity in E2. Together, every entity in E1 is linked to exactly one entity in E2. E1 has more entities than E2, so an entity in E2 may be linked to several entities in E1.
Answer: Every entity in E1 is associated with exactly one entity in E2
Answer: Every entity in E1 is associated with exactly one entity in E2
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?
Answer: (C)
Take R as many-to-one from A to B, with A participating totally. Then every A-tuple is linked to exactly one B-tuple. So the key of B can go into A's table as a column (a foreign key), with no NULLs and no repeated rows.
Answer: Relationship R is many-to-one and the participation of A in R is total
Answer: Relationship R is many-to-one and the participation of A in R is total
Keep practising