CoursifyCoursify

Evaluating ER-to-Relational Mapping Statements

Evaluating ER-to-Relational Mapping Statements

Verified Sources
Jun 1, 2026

In ER modeling, the question asks which statement is false among four standard claims about weak entities, partial keys, many-to-many relationships, and candidate keys. The correct answer is that statement (iv) is false: not every relation generated from an ER model has a single candidate key.2

Statements (i), (ii), and (iii) are standard ER-to-relational mapping rules. A weak entity is existence-dependent on an identifying strong entity, and its relation typically uses the owner’s primary key together with the weak entity’s partial key.2 Likewise, a binary many-to-many relationship is normally mapped into a separate relation whose attributes include the primary keys of the participating entity types, often forming a composite key.2 However, a generated relation can have multiple candidate keys, even though one of them is chosen as the primary key.

Footnotes

  1. Relational Database Design by ER- and EERR-to-Relational Mapping - Standard ER-to-relational mapping rules for weak entities and binary M:NM:N relationships. 2 3

  2. Chapter 6. Entity-Relationship Modelling - Explains candidate keys, weak entities, and relational implementation concepts. 2

  3. Weak Entity Set in ER diagrams - GeeksforGeeks - Summarizes weak entity dependence and partial-key behavior.

  4. Mapping an ERD to a Relational Database – Relational Databases - Describes why binary many-to-many relationships are implemented as separate relations.

ER to Relational Mapping: Simplified Guide for Beginners

Direct Answer

The false statement is (iv): every relation generated from ER always has a single candidate key. A relation may have multiple candidate keys; only one is selected as the primary key.2

Footnotes

  1. Chapter 6. Entity-Relationship Modelling - Explains candidate keys, weak entities, and relational implementation concepts.

  2. Mapping ER Diagram to a Relational Database - Notes that when more than one candidate key exists, one is chosen as the primary key.

To evaluate the options rigorously, it helps to distinguish between a relation’s primary key and its full set of candidate keys. During ER-to-relational mapping, designers often choose one key as the primary key, but this does not eliminate other possible unique identifiers.2 For example, an EMPLOYEE relation might use EmployeeID as primary key while NationalID also remains a candidate key if it is unique.

This distinction is exactly why statement (iv) fails. The phrase “always has a single candidate key” is too strong. A relation can have one, two, or several candidate keys depending on the semantics and constraints of the data model.2

A useful formal reminder is:

Primary Key{Candidate Keys}\text{Primary Key} \in \{\text{Candidate Keys}\}

but in general,

{Candidate Keys}1|\{\text{Candidate Keys}\}| \ge 1

and not necessarily

{Candidate Keys}=1|\{\text{Candidate Keys}\}| = 1

So the falsehood comes from confusing “has a chosen primary key” with “has only one candidate key.”

Footnotes

  1. Chapter 6. Entity-Relationship Modelling - Explains candidate keys, weak entities, and relational implementation concepts. 2 3 4

  2. Mapping ER Diagram to a Relational Database - Notes that when more than one candidate key exists, one is chosen as the primary key. 2

How to Evaluate the Four Statements

  1. 1
    Step 1

    A weak entity is defined by existence dependence on an identifying strong entity. Standard ER references state that a weak entity cannot be uniquely identified on its own and must participate totally in its identifying relationship.2

    Footnotes

    1. Weak Entity Set in ER diagrams - GeeksforGeeks - Summarizes weak entity dependence and partial-key behavior.

    2. ER-to-Relational Mapping Algorithm - Concise mapping algorithm for strong entities, weak entities, and many-to-many relationships.

  2. 2
    Step 2

    Weak entities commonly use a discriminator, also called a partial key, to distinguish weak entities belonging to the same owner. The full key is formed by combining the owner’s primary key with this partial key.2

    Footnotes

    1. Relational Database Design by ER- and EERR-to-Relational Mapping - Standard ER-to-relational mapping rules for weak entities and binary M:NM:N relationships.

    2. Weak Entity Set in ER diagrams - GeeksforGeeks - Summarizes weak entity dependence and partial-key behavior.

  3. 3
    Step 3

    A binary M:NM:N relationship is mapped to a separate relation. That relation includes the participating entity keys as foreign keys, and these often form a composite primary key, along with any relationship attributes.2

    Footnotes

    1. Relational Database Design by ER- and EERR-to-Relational Mapping - Standard ER-to-relational mapping rules for weak entities and binary M:NM:N relationships.

    2. Mapping an ERD to a Relational Database – Relational Databases - Describes why binary many-to-many relationships are implemented as separate relations.

  4. 4
    Step 4

    A relation may have multiple candidate keys. ER mapping rules typically require choosing one key as the primary key, not proving that no other candidate keys exist. Therefore the statement claiming a single candidate key in every generated relation is false.2

    Footnotes

    1. Chapter 6. Entity-Relationship Modelling - Explains candidate keys, weak entities, and relational implementation concepts.

    2. Mapping ER Diagram to a Relational Database - Notes that when more than one candidate key exists, one is chosen as the primary key.

Statement-by-statement analysis

StatementVerdictReason
(i) Every weak entity depends on a strong entityTrueWeak entities are existence-dependent on an identifying owner entity.2
(ii) A weak entity can have a partial keyTrueA partial key, or discriminator, is a standard feature of weak entities.2
(iii) Every many-to-many relationship becomes a separate relationTrue in standard ER-to-relational mappingBinary M:NM:N relationships are mapped as separate relations.2
(iv) Every relation generated from ER always has a single candidate keyFalseRelations may have multiple candidate keys even if one is selected as the primary key.2

This means the correct exam-style response is:

(iv) is false\boxed{(iv)\text{ is false}}

The key mapping algorithm idea is that relational design preserves identification constraints, but it does not force uniqueness of candidate-key count across all resulting relations.2

Footnotes

  1. Weak Entity Set in ER diagrams - GeeksforGeeks - Summarizes weak entity dependence and partial-key behavior. 2

  2. ER-to-Relational Mapping Algorithm - Concise mapping algorithm for strong entities, weak entities, and many-to-many relationships.

  3. Relational Database Design by ER- and EERR-to-Relational Mapping - Standard ER-to-relational mapping rules for weak entities and binary M:NM:N relationships. 2 3

  4. Mapping an ERD to a Relational Database – Relational Databases - Describes why binary many-to-many relationships are implemented as separate relations.

  5. Chapter 6. Entity-Relationship Modelling - Explains candidate keys, weak entities, and relational implementation concepts. 2

  6. Mapping ER Diagram to a Relational Database - Notes that when more than one candidate key exists, one is chosen as the primary key.

Common Exam Trap

Do not confuse a relation’s primary key with its only possible key. A relation must have at least one candidate key, but it may have several.2

Footnotes

  1. Chapter 6. Entity-Relationship Modelling - Explains candidate keys, weak entities, and relational implementation concepts.

  2. Mapping ER Diagram to a Relational Database - Notes that when more than one candidate key exists, one is chosen as the primary key.

Clarifications and Edge Cases

Truth Status of the Four Statements

Binary encoding where 1 = true under standard ER-to-relational mapping and 0 = false

Conceptual Reasoning Path

Identify Weak Entity Semantics

Step 1

Confirm that weak entities depend on identifying strong entities and use owner-based identification.2"

Footnotes

  1. Weak Entity Set in ER diagrams - GeeksforGeeks - Summarizes weak entity dependence and partial-key behavior.

  2. ER-to-Relational Mapping Algorithm - Concise mapping algorithm for strong entities, weak entities, and many-to-many relationships.

Verify Partial Key Rule

Step 2

Check that a weak entity may use a discriminator or partial key together with the owner key.2"

Footnotes

  1. Relational Database Design by ER- and EERR-to-Relational Mapping - Standard ER-to-relational mapping rules for weak entities and binary M:NM:N relationships.

  2. Weak Entity Set in ER diagrams - GeeksforGeeks - Summarizes weak entity dependence and partial-key behavior.

Apply $M:N$ Mapping Rule

Step 3

Confirm that a binary many-to-many relationship maps to a separate relation.2"

Footnotes

  1. Relational Database Design by ER- and EERR-to-Relational Mapping - Standard ER-to-relational mapping rules for weak entities and binary M:NM:N relationships.

  2. Mapping an ERD to a Relational Database – Relational Databases - Describes why binary many-to-many relationships are implemented as separate relations.

Test the Candidate Key Claim

Step 4

Reject the statement that every generated relation has only one candidate key, since multiple candidate keys are possible.2"

Footnotes

  1. Chapter 6. Entity-Relationship Modelling - Explains candidate keys, weak entities, and relational implementation concepts.

  2. Mapping ER Diagram to a Relational Database - Notes that when more than one candidate key exists, one is chosen as the primary key.

The false statement is (iv). A relation produced from ER mapping does not necessarily have only one candidate key; it may have several, although one is chosen as the primary key.2

Footnotes

  1. Chapter 6. Entity-Relationship Modelling - Explains candidate keys, weak entities, and relational implementation concepts.

  2. Mapping ER Diagram to a Relational Database - Notes that when more than one candidate key exists, one is chosen as the primary key.

Compact conceptual example

Consider a weak entity Dependent owned by Employee.

  • Employee(EmployeeID, Name, NationalID)
  • Dependent(EmployeeID, DependentName, BirthDate)

Here, DependentName may act as a discriminator under a given employee, so the weak relation key becomes:

(EmployeeID,DependentName)(\text{EmployeeID}, \text{DependentName})

This supports statements (i) and (ii).2

Now consider a many-to-many relationship WorksOn between Employee and Project:

  • WorksOn(EmployeeID, ProjectID, Hours)

This is the standard separate relation created from a binary M:NM:N relationship, confirming statement (iii).2

Finally, in Employee, if both EmployeeID and NationalID are unique and minimal, then the relation has at least two candidate keys:

{EmployeeID},{NationalID}\{\text{EmployeeID}\}, \{\text{NationalID}\}

Hence statement (iv) is false.2

Footnotes

  1. Relational Database Design by ER- and EERR-to-Relational Mapping - Standard ER-to-relational mapping rules for weak entities and binary M:NM:N relationships. 2

  2. Weak Entity Set in ER diagrams - GeeksforGeeks - Summarizes weak entity dependence and partial-key behavior.

  3. Mapping an ERD to a Relational Database – Relational Databases - Describes why binary many-to-many relationships are implemented as separate relations.

  4. Chapter 6. Entity-Relationship Modelling - Explains candidate keys, weak entities, and relational implementation concepts.

  5. Mapping ER Diagram to a Relational Database - Notes that when more than one candidate key exists, one is chosen as the primary key.

Memory Shortcut

Weak entity \rightarrow owner key + partial key. Binary M:NM:N relationship \rightarrow separate relation. Candidate keys \rightarrow one or more, not exactly one.3

Footnotes

  1. Relational Database Design by ER- and EERR-to-Relational Mapping - Standard ER-to-relational mapping rules for weak entities and binary M:NM:N relationships.

  2. Chapter 6. Entity-Relationship Modelling - Explains candidate keys, weak entities, and relational implementation concepts.

  3. Weak Entity Set in ER diagrams - GeeksforGeeks - Summarizes weak entity dependence and partial-key behavior.

Knowledge Check

Question 1 of 4
Q1Single choice

Which statement is false in standard ER-to-relational mapping?

Explore Related Topics

1

Functional Dependencies and Candidate Keys in $R(A,B,C)$

In R(A,B,C)R(A,B,C) with functional dependencies ABA\rightarrow B and BAB\rightarrow A, neither single attribute determines all three attributes, so AA and BB are not keys; the minimal candidate keys are {A,C}\{A,C\} and {B,C}\{B,C\}.

  • A+={A,B}A^{+}= \{A,B\} and B+={A,B}B^{+}= \{A,B\}, both missing CC → not superkeys.
  • Adding CC yields (AC)+=(BC)+={A,B,C}(AC)^{+}= (BC)^{+}= \{A,B,C\}, making ACAC and BCBC candidate keys.
  • Mutual determination (ABA\leftrightarrow B) does not imply key status without covering the whole schema.
  • A common exam trap is assuming AA or BB are keys because they determine each other.
  • Heuristic: any attribute not derivable from others (here CC) must appear in every candidate key.
2

Negotiation vs Persuasion: Identifying the Correct Answer

The course explains that negotiation and persuasion are distinct communication processes, with negotiation defined as a two‑way exchange aimed at reaching mutually beneficial agreements, making option (iii) the correct answer.

  • Negotiation is a two‑way exchange with trade‑offs aiming for agreement.
  • Persuasion influences attitudes or behavior without using force.
  • Options (i), (ii), (iv) are wrong: negotiation isn’t always confrontational, persuasion doesn’t require compromise, and it excludes force.
  • Exam tip: keywords “two‑way communication,” “mutual benefit,” “trade‑offs” signal negotiation; “influence” signals persuasion.
3

Which Model Is Most Suitable for High-Risk Projects?

The Spiral Model is identified as the most suitable SDLC approach for high‑risk projects because it embeds explicit risk analysis and mitigation in every iterative cycle.

  • It is a risk‑driven, iterative process that repeatedly plans, analyzes risks, engineers, and validates with stakeholders.
  • Compared to Waterfall (low risk handling), Prototyping (moderate, focus on requirements), and Incremental (moderate, focus on staged delivery), Spiral offers the strongest formal risk management.
  • Each loop aims to reduce unresolved risk, expressed as Ri+1<RiR_{i+1} < R_i.
  • Ideal for large, complex, uncertain, or mission‑critical systems where early risk identification is critical.
Chat with Kiro