Description
The student will be presented two lists. The student must then match each entry on the first list with one entry from the second list.
Use the \match
macro to declare a term (to appear in
the first list), followed immediately by a \with
macro (to appear in the second
list).
Notes
- There can be as many term/definition pairs as desired.
- A term can be associated with more than
one possible definition by listing more than one
\with
statement before the next\match
statement or\end{question}
. If this is done, then the definition shown in the menus is chosen at random from the available options each time the question is used. - The default is to display the first list
in a single row across the screen, with a drop-down list of
all choices from the second list. You can instead specify
the number of columns in which to arrange the display using
the
\cols
macro.
Examples
\begin{question}{Matching} \qutext{Match the following states with their capitals.} \match{California} \with{Sacramento} \match{New York} \with{Albany} \match{Pennsylvania} \with{Harrisburg} \match{Oregon} \with{Salem} \end{question}
\begin{question}{Matching} \qutext{Match the following polynomials with their factorizations:} \match{$x^2-1$} \with{$(x-1)(x+1)$} \match{$x^2+2x+1$} \with{$(x+1)^2$} \match{$x^2-2x+1$} \with{$(x-1)^2$} % Optionally, specify the number of columns to arrange the display of % data in. \cols{3} \end{question}