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.
Which of the following languages directly support enumerations by providing a special construct for defining them? Select one or more:
☐ Java ☐ JavaScript ☐ UML Class Diagrams ☐ C++ ☐ XML Schema ☐ SQL
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 more:
☐ 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
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 more:
☐ a select
element with the attribute setting
multiple="multiple"
☐ a fieldset
element containing a number of
checkbox
elements having the same name
☐ a fieldset
element containing a number of
radio
elements having the same name
☐ a checkbox
element
☐ a radio
element
Recall that HTML select elements, radio button groups and checkbox groups are called choice widgets. They do do not allow the user to enter an invalid value. Which of the following constraints still have to be checked for a choice widget on user input? Select one or more:
☐ Pattern constraints
☐ String length constraints
☐ Mandatory value constraints
☐ Range constraints
Which of the following value sets can be handled as enumerations in a data management app? Select one or more:
☐ The list of the names of the earth's planets {Mars, Venus, Saturn, ...}.
☐ The list of the names of all professors of a university.
☐ The list of the room numbers of a hotel.
☐ The list of room telephone numbers of a hotel.