The True False question type creates a question and a list of two choices: True and False.
\begin{question}{True False}
\qutext{Whales are mammals.}
% Mark the answer \true or \false:
\true
\end{question}
\begin{question}{TrueFalse}
\qutext{The equation $2x-3y^2=4$ defines a function with an independent
variable $x$.}
\false
\end{question}
\begin{question}{TrueFalse}
% This question uses randomized variables.
\qutext{The equation $\var{a}x-\var{b}y^2=\var{c}$ defines a function
with an independent variable $x$.}
\false
\code{
$aa=int(rint(11)+2);
$s=rint(2);
$a=int(if($s,$aa,-$aa));
$b=int(rint(11)+2);
$cc=int(rint(11)+2);
$t=rint(2);
$c=int(if($t,$cc,-$cc));
}
% The above code chooses random integer coefficients with absolute values
% between 2 and 12. b must be positive, but a and c may be
% positive or negative.
\end{question}