ER Model, Keys and Integrity Constraints Previous Year Questions (PYQs) for GATE DA: 3+ Solved Questions with Step-by-Step Solutions

    Solve 3+ ER Model, Keys and Integrity Constraints previous year questions for GATE DA with answers and detailed solutions. Free sample questions below.

    Chapter Roadmap: ER Model, Keys and Integrity

    Chapter Roadmap

    ER Model, Keys and Integrity Constraints

    This chapter bridges the gap between how we visualize data and how we actually store it. By the end, you will master the translation of conceptual designs into robust logical schemas.

    Topic 1 - Current
    ER-to-Relational Mapping
    Transform ER diagrams into relations. Handle multivalued attributes, weak entities, and complex relationships. (Moderate Weightage)
    Topic 2
    Keys & Foreign Key Integrity
    Master primary, candidate, and super keys. Understand referential integrity, ON DELETE/UPDATE actions, and NULL handling. (High Weightage)

    ER-to-Relational Mapping and Multivalued Attributes

    ER-to-Relational Mapping

    Bridge the gap between conceptual design and logical implementation.

    Strong & Weak Entities:
    Flattening composites and inheriting keys.
    Binary Relationships:
    1:1, 1:N, and M:N mapping rules.
    Multivalued Attributes:
    Achieving First Normal Form through separate relations.
    n-ary Relationships:
    Handling complex multi-entity associations.

    ER Model, Keys and Integrity Constraints: Solved Questions with Step-by-Step Explanations (3 Problems)

    Question 1 · Database Management and Warehousing MSQ
    Consider two relations r and s defined on the relational schemas R(A,B) and S(E,C), respectively. A is the primary key of R and E is a foreign key of S referencing A in R.
    Which of the following operations will NEVER violate the foreign key constraint?
    1. A.

      Inserting records into relation r

    2. B.

      Deleting records from relation s

    3. C.

      Deleting records from relation r

    4. D.

      Inserting records into relation s

    Question 2 · Database Management and Warehousing MSQ
    1. A.

      aadhaar is a candidate key in the Customer relation

    2. B.

      phone can be NULL in the Customer relation

    3. C.

      aadhaar is a candidate key in the Person relation

    4. D.

      aadhaar can be NULL in the Person relation

    Question 3 · Database Management and Warehousing NAT
    Consider an ER model with the entities and , where, are the attributes of , and are the attributes of . Let be a multi-valued attribute. and are the primary keys of and , respectively.

    Let be a many-to-many relationship between and . Participation of both and in is total.

    The minimum number of relations required to convert the ER model into relational model (assuming there is no other functional dependency) where each relation is in third normal form (3NF) is __________ . (Answer in integer)

    More previous year questions (pyqs) in this unit

    chapter
    ER Model, Keys and Integrity Constraints Previous Year Questions (PYQs) for GATE DA: 3+ Solved Questions with Step-by-Step Solutions

    Solve 3+ ER Model, Keys and Integrity Constraints previous year questions for GATE DA with answers and detailed solutions. Free sample questions below.

    A question from this chapter

    Question 1
    Consider two relations r and s defined on the relational schemas R(A,B) and S(E,C), respectively. A is the primary key of R and E is a foreign key of S referencing A in R.
    Which of the following operations will NEVER violate the foreign key constraint?
    Question 2
    Question 3
    Consider an ER model with the entities and , where, are the attributes of , and are the attributes of . Let be a multi-valued attribute. and are the primary keys of and , respectively.

    Let be a many-to-many relationship between and . Participation of both and in is total.

    The minimum number of relations required to convert the ER model into relational model (assuming there is no other functional dependency) where each relation is in third normal form (3NF) is __________ . (Answer in integer)
    Free preview ends here

    Login to view the complete previous-year questions and solutions

    Creating an account is free. You get the rest of this chapter, step-by-step solutions, and a study plan built around the topics you are actually weak at.

    Why MastersUp

    Personalised first. High quality throughout.

    Most platforms hand everyone the same content. Here the content moves with your performance, topic by topic.

    Built around you, not around a syllabus PDF

    Every answer you give moves your topic-level intelligence rate. The next question, the next revision card and tomorrow's plan all change with it.

    Revision that hits your weak spots

    We only revise topics you have actually attempted and are still below the safe bar on — never the same chapter on repeat.

    Questions calibrated to the real exam

    Each question carries a measured toughness. You are served a rung above your current level, so practice keeps stretching you.

    Notes written for recall, not for volume

    Full lesson cards for first study, curated short-note cards for the last mile — with derivations, traps and exam patterns marked.

    One place for everything

    Notes, chapter practice, previous-year questions, test series and full-length papers — all feeding one picture of your preparation.

    Honest progress

    No vanity streaks. Progress here means chapters mastered and accuracy that held up on harder questions.

    Unlock the whole course

    Full notes and short notes, the complete question bank with worked solutions, mock tests, full-length papers, and an adaptive plan that rebuilds itself as you improve.