MCEOption

MCEOption

MCEOption[ expr ] defines a multiple-choice option.

Usages

MCEOption[ expr ]

MCEOption[ expr ] defines expr as one of the multiple-choice options. expr can be either a mathematical expression or text. To use this option, define the variable Options as a List of MCEOptions.

Example in
The multiple-choice option 'linear'. MCEOption[ Text[linear] ]

MCEOption[ expr, Correct=>bool ]

MCEOption[ expr, Correct=>bool ] defines expr as one of the multiple-choice options. expr can be either a mathematical expression or text. If bool evaluates to True, this option is added to the set of correct answers. Note that bool should either evaluate to True or False, not an indeterminate value.

Example in
The correct multiple-choice option 'linear'. MCEOption[ Text[linear], Correct=>True ]
Options

Correct

Correct defines whether a multiple-choice option is correct or not.

Syntax Example
MCEOption[ expr, Correct=>bool ] MCEOption[ TextBlock[linear], Correct=>True ]