Data Models MCQs for the NSCT

By the NSCT Exam Editorial Team · Updated 2026-11-24 · Facts checked against official sources on 2026-11-24

A data model is a set of concepts for describing a database's structure (data types, relationships and constraints), usually with basic operations. For the NSCT that mainly means the entity-relationship (ER) model, the relational model, and cardinality and participation constraints. Data Models is topic 3 of the 17 in the Databases area, which carries 10% of the NSCT according to HEC's Areas of Competencies. Candidates averaged 42.3% accuracy in this area in 2026, per the HEC NSCT report.

Elmasri-Navathe group data models into three categories. High-level or conceptual models include the ER model. Representational (implementation) models include the relational model and the older network and hierarchical models. Physical models describe record formats and access paths. Silberschatz also lists object-based models and the semi-structured model used by XML and JSON.

ER model

The ER model describes the world as entities (things), their attributes and the relationships among them. Elmasri-Navathe use Chen-style notation:

Symbol Meaning Example
Rectangle Entity type STUDENT
Double rectangle Weak entity type DEPENDENT
Diamond / double diamond Relationship / identifying relationship ENROLS / DEPENDENTS_OF
Oval, underlined name Key attribute Roll
Double oval Multivalued attribute PhoneNumbers
Dashed oval Derived attribute Age (from BirthDate)
Oval with sub-ovals Composite attribute Name → First, Last
Double line Total participation Every DEPENDENT has an EMPLOYEE

A weak entity has no key of its own. It is identified by its owner's key plus its partial key, which is drawn with a dashed underline. The degree of a relationship type is the number of entity types in it: unary (recursive, with role names such as supervisor and supervisee), binary or ternary.

Silberschatz's recent editions draw attributes inside the entity rectangle and use UML-style 1..* labels instead of separate ovals. The concepts are the same; only the drawing differs.

Exam angle: symbol-matching questions are easy marks. Learn the double, dashed and underlined variants.

Relational model

The relational model, introduced by Codd in 1970, represents data as relations (tables). A row is a tuple, a column header is an attribute, and each attribute draws values from a domain. A relation's degree is its number of attributes and its cardinality is its number of tuples. A formal relation is a set, so its tuples are distinct and unordered, and in the basic model every value is atomic.

Here are the standard ER-to-relational mapping rules (Elmasri-Navathe):

ER construct Becomes
Strong entity A relation with its simple attributes; composite attributes are flattened and derived ones are not stored
Weak entity A relation with the owner's key added; PK = owner key + partial key
1:1 relationship A foreign key, preferably on the side with total participation
1:N relationship A foreign key on the N side
M:N relationship A new relation; PK = both keys; it also holds relationship attributes such as Hours
Multivalued attribute A new relation (owner key, value)
n-ary relationship A new relation holding all participants' keys

Example: STUDENT M:N COURSE with attribute Grade gives ENROLS(Roll, Code, Grade) with primary key (Roll, Code).

Exam angle: "minimum number of tables" questions. Count the entities, the M:N and n-ary relationships and the multivalued attributes. 1:1 and 1:N relationships add nothing. If a 1:1 has total participation on both sides, the two entities can merge into one relation.

Cardinality

The cardinality ratio limits how many relationship instances an entity can take part in: 1:1, 1:N or M:N. The participation constraint says whether every entity must take part (total) or not (partial). Together these are the structural constraints.

Elmasri-Navathe's (min, max) notation writes both at once, beside the entity it constrains:

EMPLOYEE (1,1) ── WORKS_FOR ── (4,N) DEPARTMENT

Each employee works for exactly one department, and each department has at least 4 employees. With 12 departments you need at least 48 employees. With only 30 employees, at most 7 departments are possible.

Watch the placement. In Chen's notation for the same 1:N relationship, the "N" sits beside EMPLOYEE. In (min, max) notation, (1,1) sits beside EMPLOYEE. The two notations read in opposite directions.

Exam angle: "cardinality" has two meanings. For a relationship it is the 1:1, 1:N or M:N ratio; for a relation it is the number of tuples.

Common traps

Worked examples

1. Understanding. What does a dashed oval show in an ER diagram? Answer: a derived attribute, whose value is computed from stored attributes, such as NumberOfEmployees counted from WORKS_FOR.

2. Application. Entities: HOSPITAL, DOCTOR, PATIENT. DOCTOR N:1 HOSPITAL, DOCTOR M:N PATIENT, and PATIENT has a multivalued attribute Allergies. What is the minimum number of relations? Answer: 5. That is 3 entities + 1 for the M:N relationship + 1 for Allergies; the N:1 becomes a foreign key in DOCTOR.

3. Analysis. STUDENT (0,5) — REGISTERS — (10,30) COURSE, with 8 courses and 20 students. What are the fewest and most REGISTERS instances possible? Answer: 80 and 100. Courses need at least 8 × 10 = 80. The maximum is the smaller of 8 × 30 = 240 and 20 × 5 = 100.

Practise

The quiz below has 100 questions on data models, filterable by tier and difficulty.

Practise: 100 questions

Interactive quiz loading. The first 10 questions are shown below.

  1. What is a data model, in Elmasri-Navathe's sense?

    1. The data stored in a database at one moment
    2. A diagram of the hardware a DBMS runs on
    3. A program that converts files from one format to another
    4. A collection of concepts for describing the structure of a database (data types, relationships, constraints) and, usually, basic operations
    Show answer

    Answer: D. A collection of concepts for describing the structure of a database (data types, relationships, constraints) and, usually, basic operations

    A data model provides the concepts used to describe a database's structure: data types, relationships and constraints. Most models also include basic operations for retrieval and update. The data at a moment is the database state, not the model.

  2. In Elmasri-Navathe's classification of data models, which category does the relational model belong to?

    1. High-level (conceptual) data model
    2. Low-level (physical) data model
    3. Representational (implementation) data model
    4. Self-describing data model
    Show answer

    Answer: C. Representational (implementation) data model

    Elmasri-Navathe group data models as high-level or conceptual (such as the ER model), representational or implementation (relational, and the older network and hierarchical models) and low-level or physical (record formats, access paths). The relational model is the main representational model.

  3. In Chen-style ER notation as used by Elmasri-Navathe, what does a double oval represent?

    1. A derived attribute
    2. A key attribute
    3. A weak entity type
    4. A multivalued attribute
    Show answer

    Answer: D. A multivalued attribute

    A double oval marks a multivalued attribute such as Colours or PhoneNumbers. A dashed oval is derived, an underlined name is a key, and a weak entity type is a double rectangle.

  4. Age is computed from BirthDate and today's date. How is Age drawn in Elmasri-Navathe's ER notation?

    1. As a double oval (multivalued attribute)
    2. As an underlined oval (key attribute)
    3. As a dashed oval (derived attribute)
    4. As a diamond (relationship)
    Show answer

    Answer: C. As a dashed oval (derived attribute)

    A derived attribute's value can be computed from other attributes, so it is drawn with a dashed oval. BirthDate is the stored attribute it is derived from.

  5. In Elmasri-Navathe's ER notation, what do a double rectangle and a double diamond represent?

    1. A strong entity type and an M:N relationship
    2. A weak entity type and its identifying relationship
    3. A multivalued attribute and a composite attribute
    4. An entity set and a recursive relationship
    Show answer

    Answer: B. A weak entity type and its identifying relationship

    A weak entity type, which has no key of its own, is drawn as a double rectangle. The identifying relationship linking it to its owner entity type is a double diamond.

  6. In Chen-style ER diagrams, what does a double line between an entity type and a relationship type mean?

    1. Partial participation
    2. A 1:1 cardinality ratio
    3. Total participation: every entity must take part in the relationship
    4. A derived relationship
    Show answer

    Answer: C. Total participation: every entity must take part in the relationship

    A double line shows total participation, also called existence dependency: every entity in that entity type must be related to at least one entity through the relationship. A single line means partial participation.

  7. How is a key attribute shown in a Chen-style ER diagram?

    1. It is drawn as a double oval
    2. It is drawn as a dashed oval
    3. Its name is underlined inside the oval
    4. It is drawn inside a diamond
    Show answer

    Answer: C. Its name is underlined inside the oval

    The key attribute, whose values are distinct for every entity, has its name underlined. A weak entity's partial key is underlined with a dashed line instead.

  8. In the formal relational model, what is a row of a table called?

    1. An attribute
    2. A domain
    3. A relation schema
    4. A tuple
    Show answer

    Answer: D. A tuple

    Formal terms: a relation is a table, a tuple is a row, an attribute is a column header and a domain is the set of atomic values an attribute may take. The relation schema is the relation's name with its list of attributes.

  9. What is the degree (arity) of a relation?

    1. The number of tuples it currently holds
    2. The number of candidate keys it has
    3. The number of attributes in its schema
    4. The number of relations it references
    Show answer

    Answer: C. The number of attributes in its schema

    Degree or arity is the number of attributes. The number of tuples is the relation's cardinality. For example, STUDENT(Roll, Name, Cgpa) has degree 3 whatever its row count.

  10. Which data model organises records as trees of parent-child relationships, as in IBM's IMS?

    1. The network model
    2. The relational model
    3. The semi-structured model
    4. The hierarchical model
    Show answer

    Answer: D. The hierarchical model

    The hierarchical model arranges record types in trees, so each child has exactly one parent. The network (CODASYL) model allows graphs, with record types linked through owner-member sets. Both were in use before relational systems.

FAQs

What is the difference between the ER model and the relational model?

The ER model is a conceptual model for design. It shows entities, attributes and relationships in a diagram. The relational model is an implementation model that stores everything as tables with keys. Designers draw the ER diagram first, then map it to relations using standard rules.

What are cardinality and participation in DBMS?

Cardinality ratio (1:1, 1:N, M:N) is the maximum number of relationship instances an entity can take part in. Participation says whether every entity must take part (total, drawn as a double line) or may not (partial). Together they are the relationship's structural constraints.

What is a weak entity with an example?

A weak entity has no key of its own and depends on an owner entity. DEPENDENT is identified by the employee's Ssn plus the dependent's name. Similarly, a loan PAYMENT numbered 1, 2, 3 within each loan is identified by LoanNo plus PaymentNo.

Are hierarchical and network models still tested?

Usually only at definition level. The hierarchical model stores records as trees, as in IBM's IMS, and the network (CODASYL) model stores them as graphs. Know why trees struggle with M:N relationships. Most marks come from the ER and relational models.

Next step

Continue to Relational Database Concepts MCQs for keys and integrity constraints, then Database Design & Normalization. Revisit the Databases MCQs hub or test yourself in an NSCT mock test.