Entity-Relationship (ER) modeling MCQs in DBMS

By: Prof. Dr. Fazal Rehman Shamil | Last updated: September 23, 2024

MCQs on Entity-Relationship (ER) Modeling in DBMS

  1. What is the primary purpose of an Entity-Relationship (ER) diagram in DBMS?
    • a) To normalize the database.
    • b) To define the structure of the database.
    • c) To visually represent the data and relationships in the database.
    • d) To optimize database queries.

    Answer: c) To visually represent the data and relationships in the database.

  2. In an ER diagram, an entity is represented by a:
    • a) Circle
    • b) Rectangle
    • c) Diamond
    • d) Triangle

    Answer: b) Rectangle

  3. Which of the following symbols in an ER diagram represents a relationship?
    • a) Circle
    • b) Rectangle
    • c) Diamond
    • d) Ellipse

    Answer: c) Diamond

  4. In an ER diagram, attributes are represented by:
    • a) Rectangles
    • b) Diamonds
    • c) Ovals
    • d) Triangles

    Answer: c) Ovals

  5. A primary key in an ER diagram is usually underlined. Which of the following best describes a primary key?
    • a) An attribute or set of attributes that uniquely identifies a record.
    • b) An attribute that can be used to join two tables.
    • c) A foreign key that refers to another table.
    • d) An attribute that is always unique but not necessary for identification.

    Answer: a) An attribute or set of attributes that uniquely identifies a record.

  6. Which of the following describes a weak entity in an ER diagram?
    • a) An entity that does not have any attributes.
    • b) An entity that cannot be uniquely identified by its attributes alone.
    • c) An entity that is not related to any other entity.
    • d) An entity with a composite primary key.

    Answer: b) An entity that cannot be uniquely identified by its attributes alone.

  7. A relationship where one entity is associated with multiple instances of another entity is called a:
    • a) One-to-One relationship
    • b) One-to-Many relationship
    • c) Many-to-Many relationship
    • d) Self-Referencing relationship

    Answer: b) One-to-Many relationship

  8. In an ER diagram, a derived attribute is usually represented by:
    • a) A dashed oval
    • b) A solid oval
    • c) A dashed rectangle
    • d) A solid diamond

    Answer: a) A dashed oval

  9. Which of the following best describes a composite attribute?
    • a) An attribute that consists of multiple values.
    • b) An attribute that can be divided into smaller sub-parts.
    • c) An attribute that is calculated from other attributes.
    • d) An attribute that is shared by multiple entities.

    Answer: b) An attribute that can be divided into smaller sub-parts.

  10. A self-referencing relationship is also known as:
    • a) Unary relationship
    • b) Binary relationship
    • c) Ternary relationship
    • d) Recursive relationship

    Answer: d) Recursive relationship

  11. In an ER diagram, the total participation of an entity set in a relationship set is indicated by:
    • a) Single line
    • b) Double line
    • c) Dashed line
    • d) Bold line

    Answer: b) Double line

  12. A multi-valued attribute in an ER diagram is represented by:
    • a) A double oval
    • b) A single oval
    • c) A dashed oval
    • d) A rectangle

    Answer: a) A double oval

  13. Which of the following is true about a ternary relationship?
    • a) It involves three entities.
    • b) It involves two entities.
    • c) It involves four entities.
    • d) It involves an entity and its attributes.

    Answer: a) It involves three entities.

  14. In an ER diagram, generalization is represented by:
    • a) A triangle pointing towards the supertype entity.
    • b) A triangle pointing towards the subtype entity.
    • c) A rectangle connected to multiple diamonds.
    • d) An oval connected to multiple rectangles.

    Answer: a) A triangle pointing towards the supertype entity.

  15. Specialization in an ER diagram refers to:
    • a) Creating a generalized entity from multiple specific entities.
    • b) Creating specific entities from a generalized entity.
    • c) Combining multiple attributes into one attribute.
    • d) Dividing one attribute into multiple sub-attributes.

    Answer: b) Creating specific entities from a generalized entity.

  16. In an ER diagram, which notation indicates a mandatory relationship?
    • a) A single line
    • b) A dashed line
    • c) A double line
    • d) A dotted line

    Answer: c) A double line

  17. What is the purpose of an identifying relationship in an ER diagram?
    • a) To establish a relationship between a weak entity and its owner entity.
    • b) To establish a relationship between two strong entities.
    • c) To identify the attributes of an entity.
    • d) To establish a relationship between an attribute and an entity.

    Answer: a) To establish a relationship between a weak entity and its owner entity.

  18. Which of the following is a true statement about ER modeling?
    • a) ER modeling is primarily used for physical database design.
    • b) ER modeling helps to identify entities, attributes, and relationships.
    • c) ER modeling is a sequential database modeling technique.
    • d) ER modeling is only applicable to relational databases.

    Answer: b) ER modeling helps to identify entities, attributes, and relationships.

  19. Which of the following is a characteristic of a weak entity set?
    • a) It always has a primary key.
    • b) It has a partial key and depends on a strong entity.
    • c) It is independent of other entities.
    • d) It does not participate in any relationships.

    Answer: b) It has a partial key and depends on a strong entity.

  20. Which of the following is true about a partial key in an ER diagram?
    • a) It uniquely identifies a weak entity set.
    • b) It is a foreign key in the owner entity.
    • c) It is always a composite attribute.
    • d) It identifies a strong entity set.

    Answer: a) It uniquely identifies a weak entity set.

 

More MCQs Of Database Systems

  1. Database Models MCQs in DBMS
    1. Hierarchical model MCQs in DBMS
    2. Network model MCQs in DBMS
    3. Relational model MCQs in DBMS
    4. Object-oriented model MCQs in DBMS
    5. NoSQL databases MCQs in DBMS
  2. Relational Database Model MCQs in DBMS
    1. tables, attributes, tuples, and relations MCQs in DBMS
    2. Primary keys and foreign keys MCQs in DBMS
    3. Integrity constraints MCQs in DBMS
  3. SQL (Structured Query Language) MCQs in DBMS
    1. Data Definition Language (DDL) MCQs in DBMS
    2. Data Manipulation Language (DML) MCQs in DBMS
    3. Data Control Language (DCL) MCQs in DBMS
    4. Transaction Control Language (TCL) MCQs in DBMS
    5. Advanced SQL queries and functions MCQs in DBMS
  4. Database Design MCQs in DBMS
    1. Entity-Relationship (ER) modeling MCQs in DBMS
    2. Extended ER modeling MCQs in DBMS
    3. Normalization and normal forms (1NF, 2NF, 3NF, BCNF) MCQs in DBMS
    4. Denormalization MCQs in DBMS
  5. Database Management System Architecture MCQs in DBMS
    1. Three-schema architecture (external, conceptual, internal) MCQs in DBMS
    2. Data independence MCQs in DBMS
    3. DBMS components and functions MCQs in DBMS
  6. Storage and File Structure MCQs in DBMS
    1. Data storage on physical media MCQs in DBMS
    2. File organization and access methods MCQs
    3. Indexing (B-trees, hash indexing) MCQs in DBMS
    4. RAID technology MCQs in DBMS
  7. Query Processing and Optimization MCQs in DBMS
  8. Database Transaction Management MCQs in DBMS
    1. ACID properties (Atomicity, Consistency, Isolation, Durability) MCQs in DBMS
    2. Transaction states and lifecycle MCQs in DBMS
    3. Concurrency control techniques (locking, timestamping, multiversion) MCQs in DBMS
    4. Deadlock detection and resolution MCQs in DBMS
  9. Database Security and Authorization MCQs in DBMS
    1. Authentication and authorization mechanisms MCQs in DBMS
    2. Data encryption techniques MCQs in DBMS
    3. Role-based access control MCQs in DBMS
    4. SQL injection prevention MCQs in DBMS
  10. Backup and Recovery MCQs in DBMS
    1. Backup types and strategies MCQs in DBMS
    2. Recovery techniques (log-based, shadow paging) MCQs in DBMS
    3. Disaster recovery planning MCQs in DBMS
  11. Distributed Databases MCQs in DBMS
    1. Distributed database architecture MCQs MCQs in DBMS
    2. Data fragmentation, replication, and allocation in DBMS
    3. Distributed query processing MCQs in DBMS
    4. Consistency models and protocols MCQs in DBMS
  1. SET 1: database design mcqs (database design mcqs )
  2. SET 2: database mcqs with answers pdf (database mcqs with answers pdf )
  3. SET 3: modern database management 12th edition mcqs (modern database management 12th edition mcqs)
  4. SET 4: database systems mcqs (database systems mcqs)
  5. SET 5: dbms mcqs (dbms mcqs )
  6. SET 6: dbms mcqs with answers (dbms mcqs with answers)
  7. SET 7: solved mcqs of dbms (solved mcqs of dbms)
  8. SET 8: dbms mcqs with answers pdf(dbms mcqs with answers pdf)
  9. SET 9: relational database management system mcqs(relational database management system mcqs)
  10. SET 10: solved mcqs of database management system(solved mcqs of database management system)
  11. SET 11: basic database mcqs pdf (basic database mcqs pdf)
  12. SET 12: relational database management system mcqs (relational database management system mcqs )
  13. SET 13: database mcqs online test (database mcqs online test)
  14. SET 14: database interview questions mcqs (database interview questions mcqs)
  15. SET 15: database developer mcqs (database developer mcqs)
  16. SET 16: database Repeated mcqs (database Repeated mcqs)
  17. SET 17: Database mcqs PPSC (Database mcqs PPSC)
  18. SET 18: Database mcqs FPSC (Database mcqs FPSC)
  19. SET 19: DBMS mcqs FPSC (DBMS mcqs FPSC)

New Arrival

Database interview questions