Blanks [formula]

Note:  Version 2.5 introduces Inline Questions, which have all the capabilities of Blanks questions, but more power and flexibility.  

Question Mode: blanks [formula] option

 

qu.x.y.mode=blanks@

blank.<blank_number>=<math_expression>@

grader.<blank_number>=formula@

Description

The blanks question type is versatile. It can provide three different types of student response cells:  text fields, drop-down boxes, and mathematical formula cells.  The blanks [formula] option provides a means for asking a fill-in-the-blank question in which the answer is a math formula. The text inside a blank is removed and a formula-entry cell is presented to students.

See the following example.

Example Script for a Blanks Question that Uses All Three Blanks options:

qu.1.1.mode=Blanks@

qu.1.1.question=

  Select "red" from the menu: <1>

  <br>

  Enter "red" or "green" in the box: <2>

  <br>

  Enter 3 or 4 in the formula box: <3>

@

qu.1.1.blank.1=red,green,blue@

qu.1.1.blank.2=red,green@

qu.1.1.blank.3=3,4@

qu.1.1.grader.1=menu@

qu.1.1.grader.2=text@

qu.1.1.grader.3=formula@

Notes

For example, if the answer field were

  {2.34 ? 0.01}

any response between 2.33 and 2.35 (inclusive) would be graded correct.  In other words, the number following the ? operator is the margin of error. For more information on tolerances, see Setting a Margin of Error in Non-numeric Questions.

See Also:

Free-response Text Questions

Formula Questions

Multipart formula Questions

Plain-Text Script Authoring

Blanks[formula] in LaTeX

LaTeX Authoring