If you would like to look up the answers to the following quiz questions, you can check our discussion forum. If you don't find an answer in the forum, you may create a post asking for an answer to a particular question.
If you would like to do interactive quizzes with online feedback and with the option to ask a coach, then you should enrol in the advanced online course (book parts 4-5) offered by our partner developer-competence.com.
Consider the following table pairs representing the populations of the classes
A and B where the columns A::id and B::id
are primary keys and A::b_id and B::a_id are foreign keys referencing
B, respectively A.
In which of the following cases does the property pair A::b_id and
B::a_id implement a bidirectional association?
Select one:
O
| A | B | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
O
| A | B | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
O
| A | B | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
O
| A | B | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Representing a bidirectional association with a pair of mutually inverse reference properties implies (select one or many):
☐ information redundancy
☐ slower read access
☐ data storage overhead
☐ update overhead
☐ faster updates
☐ more efficient data storage requiring less memory
☐ efficient object access in both directions
Consider the following information design model with a bidirectional association between the classes Aa and Bb.
Which of the following association-free models are correct representations of this model? (select one or many):
☐
☐
☐
☐
A bidirectional association Committee-isChairedBy-ClubMember between the
classes Committee and ClubMember corresponds to (select one or
many):
☐ A pair of reference properties Committee::chair and
ClubMember::chairedCommittee such that Committee::chair is the
inverse of ClubMember::chairedCommittee and
ClubMember::chairedCommittee is the inverse of
Committee::chair.
☐ A pair of reference properties Committee::chair and
ClubMember::chairedCommittee.
☐ A pair of reference properties Committee::chair and
ClubMember::chairedCommittee such that Committee::chair is the
inverse of ClubMember::chairedCommittee.
☐ A pair of reference properties Committee::chair and
ClubMember::chairedCommittee such that ClubMember::chairedCommittee
is the inverse of Committee::chair.