<< Part 17 - General View >>

Use Explanations

\explanation{<description}: (optional), shows an explanation on the correction page if the answers were not fully correct.
By default the explanation will only be shown when the users answer is not fully correct. One can use the command \showExplanation{always} for the explanation to always be visible.

A generic problem in feedback mode shows the explanations inline.

It's possible to use the explanation command on question and/or on answer level. (see example below)

Example source code

  \begin{question}

    \begin{variables}
        \number{a}{2/6}
        \number{b}{2/4}
        \number{c}{1/9}
    \end{variables}

    \type{input.number}
    \field{rational}

    \text{Cancled down: $\frac{2}{6} =$\ansref and $\frac{2}{4} =$\ansref}

    \explanation{Think about it!}

    \begin{answer}

      \solution{a}
      \explanation{that's why...}

    \end{answer}    

    \begin{answer}

      \solution{b}
      \explanation{that's why...}

    \end{answer}    

    \begin{answer}

      \text{Cancle down: $\frac{1}{9} =$}
      \solution{c}
      \explanation{that's why...}

    \end{answer}  

  \end{question}  

How it looks on the server after the correction

Capture49.PNG (19.6 KB) Michael Heimann, 05/03/2018 01:41 PM

Capture49
Add picture from clipboard (Maximum size: 500 MB)