Navigation
Synopsis A text question with a free-format answer.
Syntax
QText OptName: Text
a: Answer1
a: Answer2
...
Description Presents a text questions consisting of Text. OptName is an optional name of the question (enclosed between [ and ]). If OptName is missing, the question gets a unique number as name.

The user can give a free format answer, and that is accepted if it contains one of the given answers answer1, Answer2 as substring.
Examples The markup
QText[Taller]: Which is taller, the Eiffel Tower or the Empire State Building?
a: Empire
Will generate question Tall in the questions section below. The answer is obvious: the Empire State Building is 443.2 meters tall while the Eifel Tower is 324 meters tall. Any answer that contains Empire will be accepted.

Questions
Question [Taller]. What is taller, the Eiffel Tower or the Empire State Building?



Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.