Display Choices as a Drop-down Menu

Sometimes, you might want to list the choices for a multiple-choice question as a drop-down menu. This can be especially useful for sentence-completion questions or in tables, where you want the student to select an answer in a specific context.

You can do this by setting the $PULLDOWN variable in your answer. You can also use the $Select_Option variable to specify the default text that is displayed in the menu before your students select a response.

  1. Include the answer placeholder string <_> in Question at the location where you want the answer choices to be displayed.
  2. Start the first line of Answer with the following code:
    <eqn $PULLDOWN=1; $Select_Option="text"; ''>

    where text is the default text that you want to be displayed in the menu.

    Tip Specifying $Select_Option="text" is optional. If you do not specify default text for the menu, ---Select--- is displayed.

Example Drop-down Multiple-Choice Question

The following table summarizes an actual question.

QID

1158615

Name

Template2 2.MC.03.

Mode

Multiple-Choice

Question

<_> is the rate of change of velocity with respect to time.

Answer

<eqn $PULLDOWN=1; $Select_Option='---'; ''>Acceleration
Velocity
Motion
Displacement

Display to Students

Question as displayed to students