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.

Difference between revisions of "Calculated multichoice question type"

From MoodleDocs
m (removing 2.0 template)
(example correction thanks to Farshid Vahid)
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Questions}}
 
{{Questions}}
Calculated multichoice questions are like multichoice questions with the additonal 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.
+
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.
 
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 the formula is included in the answer choice as {=...} i.e if you calculate the surface of a rectangle {={l}*{w}}.
+
The main difference is that text and the formula can be included in the answer choice as {=...}.
  
The value will be displayed as set by the '''Correct answer shows''' (0,1,2 etc) and '''Format''' (decimals, significant figures).
+
===Text added to choice===
 +
In this example we want the student to see text in the answer along with the answer.  Given a question written by the teacher as:
 +
Calculate the area of a rectangle where l = {A} cm  and h = {B}cm.
  
So a Choice text could be
+
The correct answer choice text written by the teacher would be:
 +
The rectangle's area is {={A}*{B}} cm2.
  
The rectangle surface is {={l}*{w}} cm<sup>2</sup>.
+
The correct answer's choice will display as:
 +
The rectangle area is 10.0 cm<sup>2</sup>  
  
If {l} = 4,0 , {w} = 2,5 , '''Correct answer shows''' 1 and '''Format''' decimals
+
The variables picked by the dataset in the example were {A} = 4.0  {B} = 2.5 .
  
The choice will display as
+
===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.
  
The rectangle surface is 10.0 cm<sup>2</sup>
+
For example the teacher enters the question as:
 +
Given the binomial equation 3x<sup>2</sup>+5xy+2y<sup>2</sup>, where x = {A} and y={B} how would you simplify it before solving it?
  
Handling of the wild cards is similar to the calculated question type.
+
The correct choice would be written:
 +
This polynomial can be reduced to (3*{A}+2*{B})({A}+{B}).
 +
 
 +
This choice would display as:
 +
This polynomial can be reduced to (3+4)(1+2).
 +
 
 +
==See also==
 +
These sections in the Calculated question type page are useful.
 +
*[[Calculated_question_type#Wildcards_and_datasets|Handling of the wild cards]], *[[Calculated_question_type#Available_functions|available functions]] 
 +
 
 +
[[Category:Mathematics]]
 +
 
 +
[[de:Berechnete Multiple-Choice-Fragen]]
 +
[[es:Tipo de Pregunta Calculada mutiopción]]
 +
[[fr:Question calculée à choix multiple]]

Latest revision as of 06:46, 3 February 2016


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

In this example we want the student to see text in the answer along with the answer. Given a question written by the teacher as:

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

The correct answer choice text written by the teacher 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

The variables picked by the dataset in the example were {A} = 4.0 {B} = 2.5 .

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 3x2+5xy+2y2, 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}+2*{B})({A}+{B}).

This choice would display as:

This polynomial can be reduced to (3+4)(1+2).

See also

These sections in the Calculated question type page are useful.