**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 an additional \iscorrect command 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 hast to evaluate to true
- For mc.yesno no restriction applies.

- For mc.multiple, make sure that there is at least one answer that is set (or evaluates) to true, otherwise an error will occur

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 an additional `\iscorrect`

command is required.

It constructs a relation and takes three arguments:

- 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}`

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}`

` `

`\iscorrect{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**, **8 weeks ago **– 76baf9f