Note: You are currently viewing documentation for Moodle 2.9. Up-to-date documentation for the latest stable version of Moodle may be available here: Calculated multichoice question type.

Calculated multichoice question type: Difference between revisions

From MoodleDocs
m (created sub category for text example, will add another for showing an equation as choice)
(→‎Showing a formula as a choice: add this sub section, will come back to reformat)
Line 6: Line 6:


===Text added to choice===
===Text added to choice===
For example the teacher enters the question as: "Calculate the area of a rectangle where l = {A} cm  and h = {B}cm."
"Calculate the area of a rectangle where l = {A} cm  and h = {B}cm."


The value will be displayed as set by the '''Correct answer shows''' (0,1,2 etc) and '''Format''' (decimals, significant figures).
The value will be displayed as set by the '''Correct answer shows''' (0,1,2 etc) and '''Format''' (decimals, significant figures).
Line 17: Line 17:


When {A} = 4,0 ,  {B} = 2,5  and the '''Correct answer shows''' a score of at least 1 and the '''Format''' is in decimals.
When {A} = 4,0 ,  {B} = 2,5  and the '''Correct answer shows''' a score of at least 1 and the '''Format''' is in decimals.
===Showing a formula as a choice===
In this example, we want the student to demonstrate they know how to correctly factor out a binomial equation.  We want every student to have a unique problem to solve.


For example the teacher enters the question as: "Given the binomial equation 3x^2+5xy+2y^2, where x = {A} and y={B} how would you simplify it before solving it?"
The correct choice would be written: "This polynomial can be reduced to (3*{A}+{B})({A}+2*{B})."
This choice would display as "This polynomial can be reduced to (3+2)(1+4)."


[[Calculated_question_type#Wildcards_and_datasets|Handling of the wild cards]], and the [[Calculated_question_type#Available_functions|available functions]] is similar to the calculated question type.
[[Calculated_question_type#Wildcards_and_datasets|Handling of the wild cards]], and the [[Calculated_question_type#Available_functions|available functions]] is similar to the calculated question type.

Revision as of 14:37, 12 November 2015


Calculated multichoice questions are like multichoice questions with the additional property that the elements to select can include formula results from numeric values that are selected randomly from a set when the quiz is taken. They use the same wildcards than Calculated questions and their wildcards can be shared with other Calculated multichoice or regular Calculated questions.

The main difference is that text and the formula can be included in the answer choice as {=...}.

Text added to choice

"Calculate the area of a rectangle where l = {A} cm  and h = {B}cm."

The value will be displayed as set by the Correct answer shows (0,1,2 etc) and Format (decimals, significant figures).

The Choice text for the correct answer would be: The rectangle's area is {={A}*{B}} cm2.

The correct answer's choice will display as: The rectangle area is 10.0 cm2

When {A} = 4,0 , {B} = 2,5 and the Correct answer shows a score of at least 1 and the Format is in decimals.

Showing a formula as a choice

In this example, we want the student to demonstrate they know how to correctly factor out a binomial equation. We want every student to have a unique problem to solve.

For example the teacher enters the question as: "Given the binomial equation 3x^2+5xy+2y^2, where x = {A} and y={B} how would you simplify it before solving it?"

The correct choice would be written: "This polynomial can be reduced to (3*{A}+{B})({A}+2*{B})."

This choice would display as "This polynomial can be reduced to (3+2)(1+4)."

Handling of the wild cards, and the available functions is similar to the calculated question type.