Each question below shows the correct answer with a full explanation. Use these to build conceptual understanding before attempting a timed quiz.
Data ModelsEasy
Q1. Which data model organizes data in tables of rows and columns?
- A.Relational model✓ Correct
- B.Object model
- C.Hierarchical model
- D.Network model
Explanation
The relational model organizes data into tables (relations) consisting of rows and columns.
Report an error in this question
Data ModelsEasy
Q2. In the hierarchical data model, data is organized as a:
- A.Graph structure
- B.Star structure
- C.Tree structure✓ Correct
- D.Table structure
Explanation
The hierarchical model organizes data in a tree-like parent-child structure.
Report an error in this question
Data ModelsEasy
Q3. An Entity-Relationship (ER) diagram is used to:
- A.Design network topologies for servers
- B.Create application interfaces for users
- C.Model the conceptual design of a database✓ Correct
- D.Write SQL queries against stored tables
Explanation
ER diagrams are used for conceptual database design showing entities and their relationships.
Report an error in this question
Data ModelsEasy
Q4. In an ER diagram, a rectangle represents:
- A.An entity type✓ Correct
- B.A relationship
- C.An attribute
- D.A primary key
Explanation
Rectangles represent entities in an ER diagram.
Report an error in this question
Data ModelsEasy
Q5. An attribute in a data model represents:
- A.A constraint on records
- B.A property of an entity✓ Correct
- C.A table in the database
- D.A relationship between entities
Explanation
An attribute represents a property or characteristic of an entity.
Report an error in this question
Data ModelsEasy
Q6. Which symbol represents a relationship in an ER diagram?
- A.Ellipse
- B.Rectangle
- C.Triangle
- D.Diamond✓ Correct
Explanation
A diamond shape represents a relationship in an ER diagram.
Report an error in this question
Data ModelsEasy
Q7. A primary key uniquely identifies:
- A.A relationship instance
- B.A single column value
- C.Each record in a table✓ Correct
- D.An entire database schema
Explanation
A primary key uniquely identifies each record (tuple) in a table.
Report an error in this question
Data ModelsEasy
Q8. In the network data model, the relationship between records is:
- A.Many-to-many using sets✓ Correct
- B.No relationships allowed
- C.Hierarchical only structure
- D.One-to-one relationships
Explanation
The network model supports many-to-many relationships using sets (owner-member).
Report an error in this question
Data ModelsEasy
Q9. The relational data model was proposed by:
- A.Edgar Dijkstra
- B.Charles Bachman
- C.E.F. Codd✓ Correct
- D.Peter Chen
Explanation
E.F. Codd proposed the relational data model in 1970.
Report an error in this question
Data ModelsEasy
Q10. Which of these is NOT a data model?
- A.Relational model
- B.Hierarchical model
- C.Compiler model✓ Correct
- D.Network model
Explanation
There is no data model called the Compiler model.
Report an error in this question
Data ModelsMedium
Q11. In an Enhanced ER (EER) model, specialization is:
- A.Adding new relationships between existing entity types
- B.Combining multiple entity types into a single entity
- C.The process of defining subclasses of an entity type✓ Correct
- D.Removing attributes from entities during refinement
Explanation
Specialization defines subclasses of a superclass entity type based on distinguishing characteristics.
Report an error in this question
Data ModelsMedium
Q12. A weak entity in an ER diagram:
- A.Cannot be uniquely identified by its own attributes alone✓ Correct
- B.Is always fully independent of any other entity type
- C.Cannot have any attributes or properties defined on it
- D.Has a complete primary key defined on its own attributes
Explanation
A weak entity depends on an owner entity for identification as it lacks a complete primary key.
Report an error in this question
Data ModelsMedium
Q13. Total participation in an ER diagram means:
- A.The relationship is optional for all entities
- B.No entity participates in the defined relationship
- C.Only some entities participate in the relationship
- D.Every entity must participate in the relationship✓ Correct
Explanation
Total participation means every entity in the entity set must participate in the relationship.
Report an error in this question
Data ModelsMedium
Q14. A composite attribute is:
- A.An attribute that holds multiple values for one entity
- B.An attribute that serves as the key for identification
- C.An attribute whose value is derived from other attributes
- D.An attribute that can be divided into smaller sub-attributes✓ Correct
Explanation
A composite attribute can be divided into smaller meaningful sub-attributes (e.g., Name into First and Last).
Report an error in this question
Data ModelsMedium
Q15. A multivalued attribute is represented in an ER diagram by:
- A.A single ellipse
- B.A rectangle shape
- C.A dashed ellipse
- D.A double ellipse✓ Correct
Explanation
A double ellipse represents a multivalued attribute in an ER diagram.
Report an error in this question
Data ModelsMedium
Q16. In an ER diagram, a double rectangle represents:
- A.A weak entity✓ Correct
- B.An attribute
- C.A relationship
- D.A strong entity
Explanation
A double rectangle represents a weak entity in an ER diagram.
Report an error in this question
Data ModelsMedium
Q17. Generalization in EER modeling is:
- A.Adding new attributes to an existing entity class
- B.Removing a class entirely from the ER model
- C.Splitting a single class into multiple subclasses
- D.Combining subclasses into a generalized superclass✓ Correct
Explanation
Generalization combines common features of subclasses into a generalized superclass.
Report an error in this question
Data ModelsMedium
Q18. A derived attribute is one whose value:
- A.Must be entered manually by users
- B.Cannot change once it is set initially
- C.Is always NULL in every record stored
- D.Can be computed from other attributes✓ Correct
Explanation
A derived attribute's value can be computed from other stored attributes (e.g., age from date of birth).
Report an error in this question
Data ModelsMedium
Q19. The cardinality ratio in an ER model specifies:
- A.The overall size of the database measured in stored records
- B.The number of attributes defined on a single entity type
- C.The total number of entities present in the entire ER model
- D.The number of relationship instances an entity can participate in✓ Correct
Explanation
Cardinality ratio specifies the maximum number of relationship instances an entity can participate in.
Report an error in this question
Data ModelsMedium
Q20. An object-oriented data model supports:
- A.Only tree structures and parent-child links
- B.Only tables, rows, and column structures
- C.Only flat files and sequential access paths
- D.Encapsulation, inheritance, and polymorphism✓ Correct
Explanation
The object-oriented data model supports OOP concepts like encapsulation, inheritance, and polymorphism.
Report an error in this question
Data ModelsHard
Q21. In the EER model, an overlapping specialization means:
- A.An entity can belong to multiple subclasses✓ Correct
- B.No entity can be specialized at all
- C.An entity belongs to exactly one subclass
- D.Subclasses have no common superclass type
Explanation
Overlapping specialization allows an entity to be a member of more than one subclass simultaneously.
Report an error in this question
Data ModelsHard
Q22. A category (union type) in the EER model represents:
- A.A superclass entity that has no subclasses
- B.An entity defined without any attributes
- C.A relationship with no participants at all
- D.A subclass with multiple possible superclasses✓ Correct
Explanation
A category is a subclass that is a union of different entity types (multiple superclasses).
Report an error in this question
Data ModelsHard
Q23. The concept of aggregation in the ER model is used to:
- A.Treat a relationship set as a higher-level entity✓ Correct
- B.Create weak entities that depend on other types
- C.Delete entities from the conceptual data model
- D.Merge two databases into a single schema model
Explanation
Aggregation treats a relationship set and its participating entities as a higher-level entity.
Report an error in this question
Data ModelsHard
Q24. In a ternary relationship among three entities A, B, and C, the cardinality constraint is specified:
- A.Only for the strongest entity participating here
- B.Only for one entity in the ternary relationship
- C.Cardinality does not apply to ternary relationships
- D.For each pair of entities with respect to the third✓ Correct
Explanation
In a ternary relationship, cardinality is specified for each pair of entities relative to the third.
Report an error in this question
Data ModelsHard
Q25. Disjoint constraint (d) on specialization means:
- A.An entity can be a member of at most one subclass✓ Correct
- B.Subclasses can overlap with shared memberships
- C.There is no constraint on subclass membership
- D.An entity must belong to all subclasses at once
Explanation
The disjoint constraint ensures an entity can belong to at most one subclass of a specialization.
Report an error in this question
Data ModelsHard
Q26. Attribute inheritance in EER means:
- A.Attributes are shared across all entities uniformly
- B.Subclass entities inherit all attributes of the superclass✓ Correct
- C.Attributes cannot be inherited between entity types
- D.Superclass inherits all attributes from the subclass
Explanation
Attribute inheritance means subclass entities automatically inherit all attributes defined for the superclass.
Report an error in this question
Data ModelsHard
Q27. A lattice in the EER model occurs when:
- A.An entity has no attributes or properties defined on it
- B.A superclass has no subclasses defined in the model at all
- C.A subclass has more than one superclass (multiple inheritance)✓ Correct
- D.All entities in the model are weak entity types entirely
Explanation
A lattice structure occurs with multiple inheritance where a subclass has more than one superclass.
Report an error in this question
Data ModelsHard
Q28. The Object-Relational model extends the relational model by adding:
- A.Hierarchical parent-child relationships between records
- B.Network-style pointers linking records across the model
- C.Only more tables and relations without other extensions
- D.Support for complex data types, methods, and inheritance✓ Correct
Explanation
The Object-Relational model adds complex types, user-defined types, methods, and inheritance to the relational model.
Report an error in this question
Data ModelsHard
Q29. In the Entity-Relationship model, the participation constraint and cardinality ratio together define:
- A.Query optimization parameters used
- B.Physical storage structure of tables
- C.Only the key constraints of entities
- D.Structural constraints of a relationship✓ Correct
Explanation
Structural constraints include both cardinality ratio and participation constraints of a relationship.
Report an error in this question
Data ModelsHard
Q30. A recursive relationship is one where:
- A.No entity type participates in the relationship that is defined
- B.The same entity type participates more than once in different roles✓ Correct
- C.Only weak entity types participate in the relationship instance
- D.Two different entity types participate together in one relationship
Explanation
A recursive (unary) relationship involves the same entity type participating in different roles (e.g., Employee manages Employee).
Report an error in this question