"MultipleChoice" (Question Interface Type)

"MultipleChoice"

presents multiple values from which one is chosen.

Details

  • In a multiple-choice question, exactly one answer must be chosen from the list of possible choices.
  • By default, "MultipleChoice" question interfaces use radio buttons for selection.

Properties

  • In QuestionInterface["MultipleChoice",props], props is an Association that supports the following keys:
  • "Prompt"Nonetext asking the user a question
    "Choices"requiredlist of choices

Corresponding AssessmentFunction

  • Except for limited special cases, "MultipleChoice" is the automatically assigned interface type for an AssessmentFunction of the form AssessmentFunction[{k11,k20,k30}] with multiple defined keys and only one correct key.
  • The values in the assessment function can be True and False or numeric values, in which case positive values are interpreted as correct.

Examples

open allclose all

Basic Examples  (2)

Create a multiple-choice interface:

Multiple choice with assessment:

Scope  (1)

A multiple-choice question with multiple possible correct answers:

Properties & Relations  (1)

An automatically generated multiple-choice question interface with assessment:

The same question explicitly specified as multiple choice: