List

Description

List questions are similar to Blanks type questions in terms of their application, with some important differences:

Question authors can control the amount of credit awarded for each specified answer. For each specified incorrect answer, authors can define response-specific comments.

Notes

Examples

% text display, exact grading
\begin{question}{List}
\qutext{Who was President during the Civil War?}
\answer{1.0}{Lincoln}
\answer{1.0}{Abraham Lincoln}
\answer{0.25}{Jefferson Davis}
\end{question}
% text display, relaxed grading
\begin{question}{List}
\qutext{Who was President during the Civil War?}
\grader{relaxed}
\answer{1.0}{Lincoln}
\comment{Yes, although you should use his first name too.}
\answer{1.0}{Abraham Lincoln}
\comment{Exactly correct.}
\answer{0.25}{Jefferson Davis}
\comment{Your answer is partially correct - he was President of the
CSA, but not the USA.}
\end{question}
% menu display, exact grading
\begin{question}{List}
\qutext{Who was President during the Civil War?}
\display{menu}
\answer{0}{Stephen A. Douglass}
\comment{No, but if he had been a better debater, perhaps...}
\answer{1.0}{Abraham Lincoln}
\comment{Correct.}
\answer{0.25}{Jefferson Davis}
\comment{Your answer is partially correct - he was President of the
CSA, but not the USA.}
\end{question}
% text display, regex grading
\begin{question}{List}
\qutext{Who was President during the Civil War?}
\answer{1.0}{(l|L)incoln} % "lincoln" or "Lincoln"
\answer{0.1}{(l|L).*}     % anything beginning with "l" or "L"
% Recall that student responses are compared to the specified
% responses in order. If the two answers were listed in the
% opposite order, it would be impossible to get full credit. 
\end{question}