Skip to main content

Choice

The candidate picks one option, or several, from a list.

For authors

A choice interaction is a prompt and a list of options. With max choices set to 1 the options are radio buttons and the candidate picks one. Set higher, or to 0 for no limit, they are checkboxes and the candidate picks several.

Try it

Try itMultiple choiceThe plainest scoreable item there is. Shows the shared vocabulary turning a radio list into lettered options with no CSS of its own.

Water at the surface of a lake absorbs energy from sunlight. Some molecules gain enough energy to escape into the air as water vapour.

What is this change of state called?
Try itMultiple response, partial creditWhat map_response is for: each right answer earns a mark, each wrong one loses one, and a lower bound stops the total going negative.

A prime number has exactly two distinct whole-number factors: itself and 1.

Select the three prime numbers.

Answering

The candidate clicks an option to choose it, and clicks a checkbox again to clear it. When a limit is reached, AIB shows the item’s message (data-max-selections-message) instead of choosing another. With shuffle on, the options come in a different order for each candidate; an option marked fixed keeps its place.

Scoring

  • Exact match: the options chosen must be exactly the correct ones.
  • Mapped: each option earns or loses its own points, which suits multiple response with partial credit. The second sample above gives a mark for each right answer, takes one off for each wrong one, and stops at zero.

Appearance

Style classes change how the options look without changing the question:

  • Labels: qti-labels-upper-alpha (A, B, C), qti-labels-decimal (1, 2, 3) and others, with qti-labels-suffix-period or qti-labels-suffix-parenthesis after them.
  • Layout: qti-orientation-horizontal, or qti-choices-stacking-2 up to -5 for columns.
  • Cards: options can hide their controls and hold pictures, as in this sample.
Try itPicture cardsThe richest a plain choice interaction can look. Hidden radio controls, a three-column grid, and block content with an image inside each choice.

A sample of a substance keeps its volume, but flows to take the shape of whatever container it is poured into.

Which diagram shows how its particles are arranged?

In the editor

Question on the editor’s toolbar adds a choice question, already scored; Insert adds one where the selection is. Mark the correct option with its radio button or checkbox on the canvas, and add options with Add choice in the properties panel.