Multiple Choice
Non Permuting Multiple Choice

Description

The student will be presented with a question and a list of choices that includes exactly one correct answer.

Notes

Examples

\begin{question}{Multiple Choice}
\qutext{What is the capital of California?}
% List the choices, and mark the correct choice with an asterisk:
\choice{San Francisco}
\choice{Los Angeles}
\choice*{Sacramento}
\end{question}
\begin{question}{Multiple Choice}
\qutext{$3\log x-2\log y=$}
\choice*{$\log\left(\displaystyle\frac{x^3}{y^2}\right)$}
\choice{$\log(x^3y^2)$}
\choice{$\log(3x-2y)$}
\choice{$\log(x^3-y^2)$}
\end{question}
\begin{question}{Non Permuting Multiple Choice}
% This question uses algorithmic variables.
\qutext{Consider the function $f(x)=\var{c}x^{\var{n}}$. 
What happens to $f(x)$ as $x\to -\infty$?}
\choice*{$f(x)\to\infty$}
\choice{$f(x)\to -\infty$}
\choice{$f(x)\to 0$}
\code{$n = range(3,9,2);
      $c = range(-7,-2);}
% The above code chooses random integer coefficients n and c. 
% The coefficient c is positive and odd (3, 5, 7, or 9).
% The exponent n is between -2 and -7, inclusive.
\end{question}

See Also