arrow
arrow
arrow
Given below is an ER Diagram depicted in Chen’s notation. Match it with the CORRECT relationship from the given options.
Question

Given below is an ER Diagram depicted in Chen’s notation. Match it with the CORRECT relationship from the given options.

A.

One to one

B.

One to many

C.

Many to many

D.

Many to one

Correct option is A

In a typical employee schema, Employee ID is a unique identifier assigned to exactly one employee, and each employee (hence each Employee Name instance) has exactly one ID.
This creates a bijective (1:1) correspondence between the set of valid names and the set of IDs within the organization’s database.
In Chen notation, such a relationship means each entity on either side participates in at most one relationship instance with the other.
While real-world names can repeat across different people, within the Employee entity an individual’s name attribute instance maps to just one ID, and that ID maps back to that same person.
Hence the relationship shown is one-to-one.
Important Key Points

  1. Uniqueness: Employee ID is a key—unique and non-null—so one ID ↔ one employee.
  2. Participation: Each employee must have an ID (total participation), and each ID refers to one employee (single participation).
  3. 1:1 vs 1:N: If either side could associate with multiple instances (e.g., one ID to many names), it would be 1:N—not the case here.
  4. Modeling note: Practically, both “name” and “ID” are attributes of the Employee entity; the diagram simplifies them as boxes for the relationship question.
  5. Keys & constraints: Implement with a primary key on EmployeeID and a (non-key) attribute Name for the employee; optional UNIQUE on (EmployeeID) is inherent.
  6. Normalization: Keeping ID as the key avoids anomalies and supports efficient joins and indexing.

Knowledge Booster

  • Why not (b) One to many? That would imply one name maps to multiple IDs (e.g., the same person given several IDs), which violates ID uniqueness.
  • Why not (c) Many to many? That would allow multiple names per ID and multiple IDs per name—contradictory to unique identifier semantics.
  • Why not (d) Many to one? That would imply many IDs for a single name instance, again breaking the unique key constraint for employees.

Free Tests

Free
Must Attempt

UP SI 2025 Full Mock Test : 01

languageIcon English
  • pdpQsnIcon160 Questions
  • pdpsheetsIcon400 Marks
  • timerIcon120 Mins
languageIcon English
Free
Must Attempt

UP Police Constable Full Mock Test 01

languageIcon English
  • pdpQsnIcon150 Questions
  • pdpsheetsIcon300 Marks
  • timerIcon120 Mins
languageIcon English
Free
Must Attempt

Government Policies and Scheme

languageIcon English
  • pdpQsnIcon10 Questions
  • pdpsheetsIcon20 Marks
  • timerIcon5 Mins
languageIcon English
test-prime-package

Access ‘UPSSSC’ Mock Tests with

  • 60000+ Mocks and Previous Year Papers
  • Unlimited Re-Attempts
  • Personalised Report Card
  • 500% Refund on Final Selection
  • Largest Community
students-icon
354k+ students have already unlocked exclusive benefits with Test Prime!
Our Plans
Monthsup-arrow