WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center
Wolfram Language Home Page »

"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" None text asking the user a question
    "Choices" required list 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:

See Also

QuestionInterface   QuestionObject

Question Interface Types: MultipleChoiceGrid   ChooseMultiple

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /