-
MathType
-
WirisQuizzes
-
LearningLemur
-
CalcMe
-
MathPlayer
-
Store FAQ
-
VPAT for the electronic documentation
-
MathFlow
-
BF FAQ
-
Miscellaneous
-
Wiris Integrations
Question settings
Reading time: 2minPurpose: Configure advanced options that control how a question is generated, interpreted, and validated.
Summary
The Question settings panel allows you to define how a question behaves beyond its basic structure. It includes tools for creating randomized questions, restricting input formats, and controlling how units and expressions are interpreted. These settings are typically used to create more dynamic, flexible, or constrained question behaviour.
Location
Question editor → Advanced options → Question settings
Default
- No random variables defined
- All constants and functions enabled
- No units or prefixes selected
- No additional input constraints applied
Parameters
Random variables
| Field | Type | Allowed values | Default | Description |
|---|---|---|---|---|
| Random numbers | dynamic list | Numeric range + step | None | Defines variables with values generated randomly |
| Random expressions | dynamic list | Expression using variables | None | Defines computed values based on variables |
| Algorithm mode | boolean | Enabled or Disabled | Disabled |
Enables advanced logic for defining variables and expressions You can see more details about Advanced Logic in LearningLemur here |
Constants
| Field | Type | Allowed values | Default | Description |
|---|---|---|---|---|
| Constants selection | multi-select | π, e, i, etc. | All enabled | Defines which mathematical constants are available |
Functions
| Field | Type | Allowed values | Default | Description |
|---|---|---|---|---|
| Function categories | multi-select | Arithmetic, Trigonometric, Hyperbolic, exp/log | All enabled | Defines which functions students can use |
Units of measure
| Field | Type | Allowed values | Default | Description |
|---|---|---|---|---|
| Units selection | multi-select | m, s, g, etc. | None selected |
Defines which units and currencies are recognized You can see more details about the available units and currencies here |
Unit prefixes
| Field | Type | Allowed values | Default | Description |
|---|---|---|---|---|
| Prefix selection | multi-select | kilo, centi, milli, etc. | None selected |
Defines allowed unit prefixes You can see more details about the available prefixes here |
Allowed constructions
| Field | Type | Allowed values | Default | Description |
|---|---|---|---|---|
| Mixed fractions | boolean | Enabled or Disabled | Disabled | Allows expressions like 1 1/2
|
| Ratios | boolean | Enabled or Disabled | Disabled | Allows expressions like 2:3:4
|
| Scientific notation | boolean | Enabled or Disabled | Disabled | Allows notation such as 1.5e-5
|
| Lists without enclosers | boolean | Enabled or Disabled | Disabled | Interprets values as lists without brackets |
| Intervals | boolean | Enabled or Disabled | Disabled | Allows interval notation such as (0,1)
|
Separator symbols
| Field | Type | Allowed values | Default | Description |
|---|---|---|---|---|
| Point | enum | Decimal places, Digit groups or Nothing | Decimal places | Defines decimal separator behaviour |
| Comma | enum | Decimal places, Digit groups or List items | List items | Defines how commas are interpreted |
| Space | enum | Digit groups, List items or Nothing | Nothing | Defines how spaces are interpreted |
Behavior
What happens when enabled
- Random variables generate new values for each attempt
- Random expressions compute derived values dynamically
- Constants and functions define the available mathematical vocabulary
- Units and prefixes allow the interpretation of physical quantities
- Allowed constructions enable alternative input formats
- Separator symbols control how input is parsed
What happens when disabled
- Questions remain static (no variation between attempts)
- Only basic expressions are allowed
- Units are not recognized
- Advanced formats (e.g., scientific notation, intervals) are rejected
Limits
- Random expressions depend on previously defined variables
- Invalid combinations of variables or expressions may cause evaluation errors
- Input restrictions may prevent valid mathematical answers if configured too strictly
Examples
Example 1 — Randomized question
Configuration:
- Random variable:
abetween 1 and 5 - Random variable:
bbetween 1 and 5 - Expression:
sol = a + b
Result: Each student receives a different version of the same question.
Example 2 — Units configuration
Configuration:
- Units: meter (
m) - Prefixes: centi (
c)
Student answer: 150 cm
Result: Accepted as equivalent to 1.5 m.
Example 3 — Allowed constructions
Configuration:
- Scientific notation enabled
Student answer: 1.5e-5
Result: Accepted as a valid decimal representation.
Notes
- Random variables and expressions are evaluated before answer validation
- Units and prefixes must be enabled to be recognized in answers
- Input restrictions should be used carefully to avoid rejecting valid answers