Index

Working with MUMIE as author

Working with MUMIE as teacher

Using MUMIE via plugin in local LMS

FAQ for examination lecturers

Overview

Go back to the old wiki

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

# mc.questions

## Types of multiple choice questions

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.

## Scores

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

## Choices

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.

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} 

## Permute the order in which the choices are shown

Choices may be permutated automatically by using the command \permutechoices{}{} which requires 2 arguments: they describe the starting and ending index of the choices which should be permutated.
If a question contains 5 choices and the choices one to four should be permutated, then the following code is required:

\permutechoices{1}{4}

## Compute solutions in MC questions

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:

1. left side of the relation; must be an expression (possibly containing variables) evaluating in a number
2. relation sign (i.e. <, >, =, >=, <=, !=)
3. 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} 

## Complete Example

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} 

## Mixed MC types in one question

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