This variable is an HTML node. HTML nodes can not be relied upon to work correctly when resuming a session - for example, attached event callbacks will be lost, and mathematical notation will likely also break.

If this causes problems, try to create HTML nodes where you use them in content areas, instead of storing them in variables.

Description

Describe what this variable represents, and list any assumptions made about its value.

← Depends on:

→ Used by:

This variable doesn't seem to be used anywhere.

Name

Type

Generated Value

Error in variable testing condition

There's an error in the condition you specified in the Variable testing tab. Variable values can't be generated until it's fixed.

Automatically regenerate variables?

Condition to satisfy

Error:

Maximum number of runs

for seconds

Running for ...

No parts have been defined in this question.

Select a part to edit.

Ask the student a question, and give any hints about how they should answer this part.

Marks

Penalty for revealing steps

Correct answer

The correct answer is an equation. Use the accuracy tab to generate variable values satisfying this equation so it can be marked accurately.

Advanced settings

Answer simplification rules

Show correct answer on reveal?

Show score feedback icon?

Show preview of student's answer?

Checking accuracy

Define the range of points over which the student's answer will be compared with the correct answer, and the method used to compare them.

Checking type

Checking accuracy

Points to check

Maximum no. of failures

Checking range start

Checking range end

Variable value generators

Give expressions which produce values for each of the variables in the expected answer. Leave blank to pick a random value from the range defined above, following the inferred type of the variable.

Base marking algorithm

Custom marking algorithm

Test that the marking algorithm works

Check that the marking algorithm works with different sets of variables and student answers using the interface below.

Create unit tests to save expected results and to document how the algorithm should work.

There's an error which means the marking algorithm can't run:

Student's answer

Gap

Student's answer

Name

Value

Note

Value

Feedback

Click on a note's name to show or hide it. Only shown notes will be included when you create a unit test.

Unit tests

No unit tests have been defined. Enter an answer above, select one or more notes, and click the "Create a unit test" button.

The following tests check that the question is behaving as desired.

This test has not been run yetThis test produces the expected outputThis test does not produce the expected output

This test is not currently producing the expected result. Fix the marking algorithm to produce the expected results detailed below or, if this test is out of date, update the test to accept the current values.

One or more notes in this test are no longer defined. If these notes are no longer needed, you should delete this test.

Name

Value

Student's answer

Note

Value

Feedback

This note produces the expected output

Current:

Expected:

This test has not yet been run.

When you need to change the way this part works beyond the available options, you can write JavaScript code to be executed at the times described below.

(active) (inactive)

Run this script the built-in script.

This script runs after the built-in script.

To account for errors made by the student in earlier calculations, replace question variables with answers to earlier parts.

In order to create a variable replacement, you must define at least one variable and one other part.

Variable

Answer to use

Must be answered?

The variable replacements you've chosen will cause the following variables to be regenerated each time the student submits an answer to this part:

These variables have some random elements, which means they're not guaranteed to have the same value each time the student submits an answer. You should define new variables to store the random elements, so that they remain the same each time this part is marked.