...

/

Quiz: Unidirectional Non-Functional Associations

Quiz: Unidirectional Non-Functional Associations

Take a short quiz on unidirectional non-functional associations.

We'll cover the following...

(Select all that apply.) Which of the following statements regarding the implementation of collection-valued properties in JavaScript is correct?

1.
A.

A bag-valued property is implemented if we represent bags (also called ‘multi-sets’) as JS arrays.

B.

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.

C.

An ordered-set-valued property is implemented if we represent ordered sets as JS maps.

D.

An ordered-set-valued property is implemented if we represent ordered sets as JS arrays.

E.

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.

F.

A bag-valued property is implemented if we represent bags (also called multi-sets) as JS maps.


1 / 3