The following example script creates a fill-in-the-blank (Blanks) question. This question uses the in-line style of presenting the student response entry cell. To place the student response entry cell on a separate line following the question, use the Short Phrase question mode.
qu.1.topic=Blanks Question Example Script@
qu.1.1.mode=Blanks@
qu.1.1.question=
Select "red" from the drop-down box. <1>
<br>
Enter "red" or "green" in the text field. <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
To display multiple entry cells, use the <n> structure in the text of the question (where n corresponds to the number of the entry cell). To use additional formatting in the question (for example, line breaks and text formatting), use HTML.
The drop-down box in Blank 1 allows the student to select from a list of options (red, green, or blue).
The text field in Blank 2 requires that the student enter a text response that exactly matches the correct answer. Note: The text question subtype can contain a list of correct answers to allow for more than one correct answer.
The formula text field in Blank 3 requires that the student enter a formula or number without units.
See Also:
Rules for Grading Fill-in-the-Blank Questions
Using Script Files to Author Questions