**Working with MUMIE as author**

- Initial steps:
- Articles:
- Problems:
- Visualizations:
- Media Documents:

**Working with MUMIE as teacher**

**Using MUMIE via plugin in local LMS**

Mumie Wiki

You're not logged in

**Working with MUMIE as author**

- Initial steps:
- Articles:
- Problems:
- Visualizations:
- Media Documents:

**Working with MUMIE as teacher**

**Using MUMIE via plugin in local LMS**

We revise and update this wiki. We apologize for the inconvenience this may cause you.

- Types of multiple choice questions
- Scores
- Choices
- Permute the order in which the choices are shown
- Compute solutions in MC questions
- Complete Example
- Mixed MC types in one question

In MUMIE currently there are four types of MC questions available:

**mc.multiple**: Multiple choice question with an arbitrary number of correct choices.**mc.unique**: Multiple choice question with exactly one correct choice.**mc.yesno**: Multiple choice question where each for each choice, one has to choose between*yes*and*no***mc.matrix**: The user has to checkmark the entries of a table-like task.

The structure for mc.matrix is different from the others and is explained here.

How the MC score is computed and how you can change that. (for mc.multiple and mc.matrix)

For each MC problem type one has to define choices. Every choice must be declared by an own choice environment,

containing a text and a solution. The solution can be either:

**true**: this choice must be selected for a correct answer.**false**: this choice must NOT be selected for a correct answer.**compute**: the correct answer will be computed automatically. The use of one of the additional commands \iscorrect or \checkCorrect is required.

- Warning:
- For mc.multiple, make sure that there is at least one answer that is set (or evaluates) to true, otherwise an error will occur when correcting the question.
- For mc.unique exactly one answer has to evaluate to true
- For mc.yesno no restriction applies.

Example:

1234 `\begin{choice}`

` `

`\text{$3\cdot 4 = 12$.}`

` `

`\solution{true}`

`\end{choice}`

Example:

123456789 `\begin{variables}`

` `

`\randint{a}{2}{5}`

`\end{variables}`

`\begin{choice}`

` `

`\text{$3\cdot \var{a} = 12$.}`

` `

`\solution{compute}`

` `

`\iscorrect{a}{=}{4}`

`\end{choice}`

Choices may be permutated automatically by using the command \permutechoices{

If a question contains 5 choices and the choices one to four should be permutated, then the following code is required:

\permutechoices{1}{4}

When using the `compute`

option in multiple choice answers inside the `\solution`

command one of those two additional commands is required:

`\iscorrect`

(deprecated) or`\checkCorrect{relation}`

This command is deprecated. But it is still available for legacy reasons. The syntax is the following: `\iscorrect{left side}{relation symbol}{right side}`

.

- left side of the relation; must be an expression (possibly containing variables) evaluating in a number
- relation sign (i.e.
`<`

,`>`

,`=`

,`>=`

,`<=`

,`!=`

) - right side of the relation; must be an expression (possibly containing variables) evaluating in a number

When the relation solves to *true* then the correct answer for this choice will be *yes*:

123456789 `\begin{question}`

` `

`...`

` `

`\begin{choice}`

` `

`\text{Is $\var{g}<\var{f}$ correct?}`

` `

`\solution{compute}`

` `

`\iscorrect{g}{<}{f}`

` `

`\end{choice}`

` `

`...`

`\end{question}`

Use this command instead of `\iscorrect`

. The syntax is simpler and it's more powerful, because it allows the evaluation of more complex relations. The syntax is the following: `\checkCorrect{relation}`

.

When the relation solves to *true* then the correct answer for this choice will be *yes*:

123456789 `\begin{question}`

` `

`...`

` `

`\begin{choice}`

` `

`\text{...}`

` `

`\solution{compute}`

` `

`\checkCorrect{g < f AND f + abs(g) > 1}`

` `

`\end{choice}`

` `

`...`

`\end{question}`

1234567891011121314151617181920212223242526272829 `\begin{problem}`

` `

`\begin{question} % start of question 1`

` `

`\text{Exercise - choose the correct answer}`

` `

`\type{mc.multiple}`

` `

`\begin{variables}`

` `

`\randint{a}{2}{5}`

` `

`\function[calculate]{b}{2+a}`

` `

`\end{variables}`

` `

`\begin{choice}`

` `

`\text{$1+2=3$}`

` `

`\solution{true}`

` `

`\end{choice}`

` `

`\begin{choice}`

` `

`\text{2+3=7}`

` `

`\solution{false}`

` `

`\end{choice}`

` `

`\begin{choice}`

` `

`\text{2+\var{a}>6}`

` `

`\solution{compute}`

` `

`\checkCorrect{b>6}`

` `

`\end{choice}`

` `

`\end{question}`

`\end{problem}`

In one question, one can also have several MC tasks of different type, and also mix MC questions and input question.

See Different Answer Type or the example in WebMiau

Updated by **Michael Heimann**, **7 weeks ago **– ef883d1