-
MathType
-
WirisQuizzes
-
Nubric
-
CalcMe
-
MathPlayer
-
Store FAQ
-
MathFlow
-
BF FAQ
-
Miscellaneous
-
Wiris Integrations
Nubric question settings
Reading time: 2minReference for the available question settings, their default values, and their behavior.
Summary
Nubric provides a Question settings panel to configure advanced options that control how a question is generated, interpreted, and validated 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
- Nubric question editor → Advanced options → Question settings
Availability
- Nubric
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. |
See Understanding Algorithm Mode in Nubric for more details.
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 | exp/log, Trigonometric, Hyperbolic, Arithmetic | 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. |
For a complete list of the available units of measure, see Nubric units, prefixes and currencies.
Unit prefixes
| Field | Type | Allowed values | Default | Description |
|---|---|---|---|---|
| Prefix selection | multi-select | kilo, centi, milli, etc. | None selected | Defines allowed unit prefixes. |
For a complete list of the available unit prefixes, see Nubric units, prefixes and currencies.
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
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.
Units configuration
Configuration:
- Units: meter (
m). - Prefixes: centi (
c).
Student answer: 150 cm.
Result: Accepted as equivalent to 1.5 m.
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.