Try to answer the following questions here:

• What is this question used for?
• What does this question assess?
• What does the student have to do?
• How is the question randomised?
• Are there any implementation details that editors should be aware of?

### Feedback

From users who are members of Discrete Mathematics :

### History

#### Checkpoint description

Describe what's changed since the last checkpoint.

#### Daniel Mansfield7 months, 1 week ago

Gave some feedback: Ready to use

Published this.

#### Daniel Mansfield2 years, 11 months ago

Created this as a copy of Networks 2: Dijkstra's Algorithm.
Networks 1: adjacency draft Daniel Mansfield 07/07/2019 22:09
Networks 1: draw a cyclic graph draft Daniel Mansfield 13/02/2020 01:32
Joshua's copy of Networks 1: draw a cyclic graph draft Joshua Capel 04/10/2017 08:47
Networks 1: bipartite graph draft Daniel Mansfield 13/02/2020 01:31
Networks 1: draw a tree draft Daniel Mansfield 13/02/2020 01:33
Networks 2: Kruskal's Algorithm (work in progress) draft Joshua Capel 10/10/2017 07:02
Networks 2: Dijkstra's Algorithm draft Daniel Mansfield 15/10/2017 01:28
Networks 2: Kruskal's Algorithm draft Joshua Capel 13/02/2020 01:55
Joshua's copy of Networks 2: Kruskal's Algorithm (almost done) draft Joshua Capel 18/10/2017 00:14
Networks 2: Dijkstra's Algorithm v2 Ready to use Daniel Mansfield 13/02/2020 01:54
Joshua's copy of Networks 2: Dijkstra's Algorithm v2 draft Joshua Capel 16/10/2017 08:27
Joshua's copy of Networks 2: Kruskal's Algorithm (original state) draft Joshua Capel 01/10/2018 08:54
Joshua's copy of Joshua's copy of Networks 2: Kruskal's Algorithm (edited 1) draft Joshua Capel 20/09/2018 06:34
Joshua's copy of Networks 2: Kruskal's Algorithm (final fix) draft Joshua Capel 20/09/2018 07:53

Give any introductory information the student needs.

No variables have been defined in this question.

(a number)

Numbers between and (inclusive) with step size
A random number between and (inclusive) with step size

(text string)

(numbers)

(text strings)

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.

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

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.

Error:

for seconds

Running for ...

Name Limit

### Penalties

Name Limit

No parts have been defined in this question.

Select a part to edit.

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

#### 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.

#### 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.

#### String restrictions

Both choices and answers must be defined for this part.

Help with this part type

#### 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:

Name Value

Alternative used:

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 yet This test produces the expected output This 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

 This note produces the expected output

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.

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.

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.

This part can't be reached by the student.

Add a "next part" reference to this part from another part.

None of the parts which can lead to this part are reachable either.

### Next part options

Define the list of parts that the student can visit after this one.

• #### Variable replacements

No variable replacements have been defined for this next part option.
Variable Value

### Previous parts

This part can follow on from:

This part doesn't follow on from any others.

### Parts

#### Steps

Give a worked solution to the whole question.