Skills101
← All practice quizzes

Quiz: Object Relationships

5 questionsNo time limitPass: 60%+10 XP on first pass

How objects relate to each other. Association, aggregation and composition explained with a lifetime test, code in Python and Java, and how to tell them apart in interviews.

Log in to take the quiz

Free account · see your score, answers and explanations, earn XP

  1. Question 1

    A Library has Books; if the library closes, the books can go to another library. This is:

  2. Question 2

    An Order has OrderItems that make no sense without the order. This is:

  3. Question 3

    "A Manager is an Employee" is:

  4. Question 4

    In UML, a filled (black) diamond on a line means:

  5. Question 5

    A Doctor treats Patients; both exist independently. This is: