Text
rascal-0.34.0
rascal-tutor-0.18.4
Synopsis
A text question with a free-format answer.
Syntax
QText _OptName_: _Text_
a: _Answer_₁
a: _Answer_₂
...
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 answer₁, Answer₂ 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.