GATE CSE 2017 Session 2 Q27: When the table for relationship R can be merged into entity A
- Databases
- 1 mark
- MCQ
- −1/3 if wrong
Syllabus topic: ER model
Question
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?
Try it: multiple choice: exactly one correct option
Show answer and explanation
Answer: C (official GATE 2017 final answer key)
Concept used: A relationship table can be folded into the entity on the 'many' side, where each entity row relates to at most one other entity; total participation avoids null foreign keys.
First step: Ask on which side each A entity is related to at most one B, so that B's key fits as a single column in A's table.
Full step-by-step solution
Loading…
Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.
More questions on ER model
Every PYQ on this topic →Share this question
Source: official GATE 2017 Session 2 CS question paper and final answer key, organised by IIT Roorkee. Question paper · Answer key
More Databases PYQs
- 2026 Session 1 · Q30Which functional dependency inferences always hold
- 2026 Session 1 · Q31Dependency-preserving decompositions for 1NF, 2NF, 3NF, BCNF
- 2026 Session 1 · Q43Relational algebra equivalent of a tuple calculus join query
- 2026 Session 1 · Q65Number of superkeys with candidate keys {A,B} and {A,C}
- 2026 Session 2 · Q15Match DBMS schema levels with what they describe
- 2026 Session 2 · Q20When two transactions do not conflict on a data item