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 Transition to university :

### History

#### Checkpoint description

Describe what's changed since the last checkpoint.

#### Christian Lawson-Perfect3 years, 1 month ago

Gave some feedback: Ready to use

#### Christian Lawson-Perfect3 years, 1 month ago

Saved a checkpoint:

Changed the randomisation of the probabilities so that everyone is pulled from the same distribution (apart from the missing person, who accumulates the error when the probablities for the others are rounded off)

Published this.

#### Elliott Fletcher3 years, 2 months ago

Gave some feedback: Needs to be tested

#### Stanislav Duris3 years, 2 months ago

Gave some feedback: Has some problems

#### Stanislav Duris3 years, 2 months ago

This is a nice question, but I have some comments.

• While the parts are very clear, I feel like it looks a bit daunting that the statement is almost as long as the whole question. I would personally put some of the statement in the advice (so the first time they do the question you test them on this and the next time they redo it, they'll know all this helpful information) but it is up to you.
• Part a) is a good simple question. Just a tiny unnecessary comment, your Hoop variable has a description of "Denominator for probability that your car runs out of fuel before you get to Leeds", I assume that this was how you first wrote the question and changed it to a different situation afterwards forgetting you have to fix your variable description.
• Also, you used random(5..9 #1) in your variable, a step size of 1 is the preset setting so the #1 is unnecessary there. It isn't wrong at all and you should keep it there and maybe you realise this, I just thought to let you know in case you need to use random integers in future so the job is a bit easier for you.
• Also, when Hoop = 7, Numbas does not accept the decimal form of the answer my calculator gives. I don't know if this is a big deal, but maybe some students would try to put decimal forms instead of fractions in. Maybe you could say in the question put your answer as a fraction?
• Part b) - I am not 100% convinced about pass the parcel being the right game for this question, but it is not a big deal.
• I feel like it would be better to swap parts i) and ii), because to get the answer to part i), you already had to calculate the answer to part ii). Maybe the order is like it is right now because you were aiming to test whether they realise this so if that is the case, that's fine.
• The advice for part b)ii) is maybe a bit too complicated considering how simple it is in reality, especially when one of the methods you use is the same as in part a). I think putting the second method first would maybe be better.
• If you swap parts i) and ii): in advice for the new part ii) (calculate the probability of Dexter winning), you could use P(E) = 1 - P(E'), a slightly different turn on the equation for complementary probabilities. This would make part b)ii) a bit different from part a).
• You use latex for $P(.)$ which is fine but I would personally use $\mathrm{P}(.)$ as it looks nicer in my opinion. This is coded as $\mathrm{P}(.)$.

It is a good question as it is right now. This is all just my personal opinion of what you could change so it is up to you to decide which things are better now and which things would be better changed.

#### Elliott Fletcher3 years, 2 months ago

Gave some feedback: Needs to be tested

#### Elliott Fletcher3 years, 2 months ago

Created this.
The probability of an event not happening - five friends play mini golf Ready to use Elliott Fletcher 20/11/2019 14:43
Probability of scoring at basketball given probability of not scoring Ready to use Christian Lawson-Perfect 20/11/2019 14:41
Hugh's copy of The probability of an event not happening - five friends play mini golf draft Hugh O'Donnell 16/01/2018 13:48
Simon's copy of The probability of an event not happening - five friends play mini golf draft Simon Thomas 08/05/2019 09:46
Maria's copy of Probability of scoring at basketball given probability of not scoring draft Maria Aneiros 27/05/2019 02:29
The probability of an event not happening - five friends play mini golf draft Xiaodan Leng 11/07/2019 02:02
Probability of scoring at basketball given probability of not scoring draft Xiaodan Leng 11/07/2019 02:03
The probability of an event not happening - five friends play mini golf draft Patricia Cogan 16/01/2020 10:45
Probability of scoring at basketball given probability of not scoring draft Patricia Cogan 16/01/2020 10:58
boying's copy of Probability of scoring at basketball given probability of not scoring draft boying xu 07/02/2020 17:31
Kinga's copy of Maria's copy of Probability of scoring at basketball given probability of not scoring draft Kinga Zaczek 08/09/2020 18:51

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.