Back to the 2024 paper

Unit 1: Database System Architecture

20242m

What do you mean by one-to-many relationships?

  • (i) One class may have many teachers
  • (ii) One teacher can have many classes
  • (iii) Many classes may have many teachers
  • (iv) Many teachers may have many classes
Worked SolutionAI Assisted

Answer: (ii) One teacher can have many classes

Explanation: One-to-many (1:N) means one instance of entity A relates to many instances of entity B, but not vice versa. Here, one teacher teaches many classes, but a class is taught by one teacher (in this example). Option (i) is also 1:N but phrased as "One class may have many teachers" which would be many-to-one from other side. Canonical 1:N example is teacher -> classes. Many-to-many would be many teachers to many classes.

Similar questions

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.