File:  [LON-CAPA] / loncom / html / adm / help / tex / Creating_Radio_Response_Problems.tex
Revision 1.6: download - view: text, annotated - select for diffs
Mon Jan 23 20:29:42 2017 UTC (7 years, 5 months ago) by damieng
Branches: MAIN
CVS tags: version_2_12_X, version_2_11_X, 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
doc improved for editors, responses, index

\label{Creating_Radio_Response_Problems}\index{Radio Response}

To create a \textbf{Radio Response}\index{Radio Response} problem, create a new resource
as described in section \ref{Creating_Content_Overview}. This is a {}``problem''
resource so the URL must end in {}``.problem''. You should see a screen
as in figure \ref{New Content Menu}. 
\begin{figure}
\begin{center}\includegraphics[  width=0.80\paperwidth]{radioResponse2}\end{center}


\caption{Radio Response Creation Form\label{Radio Response Creation Form}}
\end{figure}
 You will need to specify the question text and foil statements.

\begin{enumerate}
\item Select a radio response template from the menu. You will be presented a form such as in 
the figure \ref{Radio Response Creation Form}.
\item In the \textbf{Text Block} at the top of the problem, remove the sample text
and type the question for your problem. Ex: {}``What is two plus
two?''
\item Locate the \textbf{Response: One of N statements} element. In the \textbf{Max
Number of Shown Foils} text box, place the number of foils you wish to display
to the student.
\item Locate \textbf{Foil 1}. Remove the text that is in the text box and put the
\emph{correct answer} for the problem in the \textbf{Text Block}. For example,
{}``Four.'' Make sure this is set to \textbf{true} in the \textbf{Correct
Option} field.
\item Below it, you will see \textbf{Foil 2}. Remove the text in the text box and
put an \emph{incorrect answer} for the problem. Ex: {}``Purple.''
Make sure this is set to \textbf{false} in the \textbf{Correct Option} field.
\item Repeat the previous step until you've filled in all of the other incorrect
answers you wish to offer the students.
\item Once you've filled in all of the incorrect answers, delete any extra foils or 
change the \textbf{Correct Option}s on the other foils to \textbf{Unused}.
\item %
\begin{figure}
\begin{center}\includegraphics[  width=0.80\paperwidth]{radioResponseHint}\end{center}


\caption{Hint Element\label{Radio Response Hint Element Figure}}
\end{figure}
\item Scroll down to the Hint element. See the figure \ref{Radio Response Hint Element Figure}
Type some text that will help students when they answer incorrectly. You
may delete the hint by selecting \textbf{Yes} from the \textbf{Delete} drop-down
box.
\item Click the \textbf{Submit Changes} button located at the top of the frame.
If you do not do this, your changes will not be saved.
\end{enumerate}
The \textbf{Correct Option} drop down box controls whether or not a given
answer will be accepted as a correct answer. If it is set to \textbf{true},
that answer will be considered a correct answer. Any number of foils can
be marked \textbf{true}, but only one will be shown to any given student.
If it is set to \textbf{false}, it will be considered an incorrect answer.
If it is set to \textbf{Unused}, the system will not use that foil.
\\ \\
Example code for a radiobuttonresponse:
\begin{verbatim}
<radiobuttonresponse randomize="yes">
  <foilgroup>
    <foil location="random" value="true" name="right1">
      <startouttext />This is the right answer.<endouttext />
    </foil>
    <foil location="random" value="false" name="wrong1">
      <startouttext />This is the first wrong answer.<endouttext />
    </foil>
    <foil location="random" value="false" name="wrong2">
      <startouttext />This is the second wrong answer.<endouttext />
    </foil>
  </foilgroup>
</radiobuttonresponse>
\end{verbatim}

See section \ref{Authoring_RadiobuttonResponse} for more information on \texttt{<radiobuttonresponse>}.

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