5. Quiz Questions

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.

5.1. Question 1: Languages Supporting Enumerations

Which of the following languages directly support enumerations by providing a special construct for defining them? Select one or many:

☐ Java ☐ JavaScript ☐ UML Class Diagrams ☐ C++ ☐ XML Schema ☐ SQL

5.2. Question 2: UI Widget for Single-Valued Enum Attribute

Which of the following (combinations of) HTML elements can be used as a form control (or UI widget) for a single-valued enumeration attribute? Select one or many:

☐ a fieldset element containing a number of radio elements having the same name

☐ a fieldset element containing a number of checkbox elements having the same name

☐ a select element

☐ a checkbox element

☐ a radio element

5.3. Question 3: UI Widget for Multi-Valued Enum Attribute

Which of the following (combinations of) HTML elements can be used as a form control (or UI widget) for a multi-valued enumeration attribute? Select one or many:

☐ a select element with the attribute setting multiple="multiple"

☐ a fieldset element containing a number of radio elements having the same name

☐ a fieldset element containing a number of checkbox elements having the same name

☐ a checkbox element

☐ a radio element