Inline

Description

Inline questions are a more flexible and extensible form of free response question that can include multiple response objects. In this way, they are similar to Multipart questions in that they provide a shell structure in which to embed other questions. Questions can contain multiple response cells, much like Blanks questions.

Inline questions support the widest variety of types of EDU response objects (linked to specific question grader types) anwhere within the body of a question, including within HTML tables. Use the \blank macro, with no arguments, to place a response cell within \qutext . The type of blank, correct answer, and other details are specified within sequential blank environments outside of \qutext . In this way, Inline questions are written much like Multipart questions, where each blank functions as one part.

Notes

Example

\begin{question}{Inline}
\qutext{$2+2=$\blank\\
$3+8=$\blank\\
\\
If a cat walks 20~ft in 2~min, how fast is the cat walking? \blank\\
Who was president during the Civil War? \blank\\
Which is my first dog? \blank}
\begin{blank}{Formula}
  \answer{4}
  \tol{1.0E-9}
\end{blank}
\begin{blank}{Formula}
  \answer{11}
  \tol{1.0E-9}
\end{blank}
\begin{blank}{Numeric}
  \answer[ft/min]{10}
\end{blank}
\begin{blank}{List}
  \answer{1.0}{Lincoln}
  \answer{1.0}{Abraham Lincoln}
  \answer{0.25}{Jefferson Davis}
  \grader{exact} % not necessary, since 'exact' is the default
\end{blank}
\begin{blank}{List}
  \display{menu}
  \answer{1.0}{Ishie}
  \answer{0.5}{Raphi}
  \answer{0.0}{Trudeau}
  \answer{0.0}{Pongi}
\end{blank}
\end{question}