File:
[LON-CAPA] /
loncom /
html /
adm /
help /
tex /
Authoring_RadiobuttonResponse.tex
Revision
1.6:
download - view:
text,
annotated -
select for diffs
Wed Feb 1 21:18:43 2017 UTC (7 years, 6 months ago) by
damieng
Branches:
MAIN
CVS tags:
version_2_12_X,
version_2_11_X,
version_2_11_5_msu,
version_2_11_5,
version_2_11_4_uiuc,
version_2_11_4_msu,
version_2_11_4,
version_2_11_3_uiuc,
version_2_11_3_msu,
version_2_11_3,
version_2_11_2_uiuc,
version_2_11_2_msu,
version_2_11_2_educog,
version_2_11_2,
HEAD
added doc for math, chem, hints, customresponse, essayresponse, organicresponse, reactionresponse
\label{Authoring_RadiobuttonResponse}\index{radiobuttonresponse}
\textbf{radiobuttonresponse} implements a true/false question with
one correct answer. It uses the foil structure tags as described in
\ref{Authoring_Foil_Structure_Tags}, but the \emph{value} of a foil can only
be \textbf{true}, \textbf{false}, or \textbf{unused}.
It is possible to use a Perl variable for the value attribute, as long as it can only have a valid value.
Several true foils can be specified, but only one (randomly chosen) will be displayed.
Possible attributes for \textbf{radiobuttonresponse} are:
\begin{itemize}
\item \textbf{max}: the maximum number of foils displayed at once
(if more are specified, some will not be displayed)
\item \textbf{randomize}: set to \texttt{yes} to randomize the order of foils when displayed
\item \textbf{direction}: set to \texttt{horizontal} to display foils horizontally
\end{itemize}
Hints can be specified with \textbf{radiobuttonhint}.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>