4. 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.

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 introductory online course (book parts 1-3) offered by our partner developer-competence.com.

4.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

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

Which of the following (combination 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

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

Which of the following (combination 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