Quiz: Unidirectional Non-Functional Associations
Take a short quiz on unidirectional non-functional associations.
(Select all that apply.) Which of the following statements regarding the implementation of collection-valued properties in JavaScript is correct?
A bag-valued property is implemented if we represent bags (also called ‘multi-sets’) as JS arrays.
A set-valued property is implemented if we represent sets as JS arrays since, in contrast to JS maps, they guarantee that each element is unique.
An ordered-set-valued property is implemented if we represent ordered sets as JS maps.
An ordered-set-valued property is implemented if we represent ordered sets as JS arrays.
A set-valued property is implemented if we represent sets as classical JS maps since, in contrast to JS arrays, they guarantee that each element is unique.
A bag-valued property is implemented if we represent bags (also called multi-sets) as JS maps.
Get hands-on with 1400+ tech skills courses.