Author an unordered list of formulas sub-type

This sub-type is authored by selecting the Unordered list of formulas option from the Sub-type drop-down list during mathematical formula question authoring.

Examples of accepted syntax for defining the Answer field value for this sub-type are:

  • 4; 5*x; 3
  • (-5/2)+(1/2)*19^(1/2); (-5/2)-(1/2)*19^(1/2)

The unordered list of formulas sub-type Answer field:

  • Accepts an unordered list of numbers or formulas separated by semicolons (;).
  • All correct answers must be included in the student's response and can be in any order.
  • A question that has a single formula answer is graded correctly if this type is used.
  • Accepts equivalent responses.

TIP: Be sure to author instructions for your students to inform them to enter a list of formulas separated by semicolons.

NOTE: The unordered list of formulas question is one of the ten sub-types of the mathematical formula question. Check out Choose a mathematical formula question sub-type for an explanation of each of the ten available mathematical formula question sub-types.

TIP: Check out Author a mathematical formula question for full question authoring instructions.

Example of this sub-type

  • Question statement:

What are the roots of the quadratic equation 2x2+10x+3?

Enter only the expressions for the roots, omitting "x=".

Enter your answer(s) as a list, separated by semi-colons.

  • Answer field syntax:

(-5/2)+(1/2)*19^(1/2); (-5/2)-(1/2)*19^(1/2)

Example of this sub-type with an algorithm

  • Question statement:

What are the roots of the quadratic equation $a*x2+$b*x+$c?

Enter only the expressions for the roots, omitting "x=".

Enter your answer(s) as a list, separated by semi-colons.

  • Algorithm:
Copy this code
$a = rint(2, 5);
$b = rint(10, 15);
$c = rint(2, 5);

  • Answer field syntax:

(-$b + sqrt($b^2 - 4*$a*$c))/(2*$a); (-$b - sqrt($b^2 - 4*$a*$c))/(2*$a)

NOTE: The dollar sign ($) character can only be used in mathematical formula questions when it's a part of a variable name. Be sure to define algorithmic variables in the Algorithm pane in order to use them in the Answer field.