File:  [LON-CAPA] / loncom / html / adm / help / tex / Authoring_NumericalResponse.tex
Revision 1.1: download - view: text, annotated - select for diffs
Tue Jun 10 19:29:26 2003 UTC (21 years, 1 month ago) by bowersj2
Branches: MAIN
CVS tags: version_1_3_X, version_1_3_3, version_1_3_2, version_1_3_1, version_1_3_0, version_1_2_X, version_1_2_99_1, version_1_2_99_0, version_1_2_1, version_1_2_0, version_1_1_X, version_1_1_99_5, version_1_1_99_4, version_1_1_99_3, version_1_1_99_2, version_1_1_99_1, version_1_1_99_0, version_1_1_3, version_1_1_2, version_1_1_1, version_1_1_0, version_1_0_99_3, version_1_0_99_2, version_1_0_99_1, version_1_0_99, version_1_0_3, version_1_0_2, version_1_0_1, version_1_0_0, version_0_99_5, version_0_99_4, version_0_99_3, version_0_99_2, HEAD
homework5.html chunked up with authoring information

\label{Authoring_NumericalResponse}

\textbf{stringresponse} implements a string answer. An internal \textbf{textline}
tag (see \textbf{\ref{textline}}) is necessary for the student's
response to go in. It can check the string for either case or order.
Possible attributes are:

\begin{itemize}
\item \textbf{answer}\index{answer}: required. Specifies the correct answer,
either a perl list or scalar.
\item \textbf{type}\index{type}: optional. Specifies how the string is
checked (like the CAPA styles). Possible values are:

\begin{itemize}
\item \textbf{cs}\index{cs}: \textbf{c}ase \textbf{s}ensitive, order important.
\item \textbf{ci}\index{ci}: \textbf{c}ase \textbf{i}nsensitive, order
important. 
\item \textbf{mc}\index{mc}: case insensitive, order unimportant. The mnemonic
for this option is {}``\textbf{m}ultiple \textbf{c}hoice'', which
is how it was used in CAPA: To allow the user to specify choices from
a multiple choices problem, as in {}``adce'', meaning parts a, d,
c, and e are true. Order didn't matter in such a problem. In LON-CAPA,
using \textbf{optionresponse} with True and False foils would be preferable,
but this will remain supported for easier CAPA-to-LON-CAPA conversion.
\end{itemize}
\end{itemize}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>