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.

#### Chris Graham3 years, 9 months ago

Gave some feedback: Ready to use

Looks good.

Published this.

#### Stanislav Duris3 years, 9 months ago

Saved a checkpoint:

I made this question after Vicky suggested making a question where the student is asked to find the original 100% value given a value of for example 85%, because many students seem to struggle with this type of a question. If it needs any adjustments, please make sure the focus is still on finding the original 100%.

#### Stanislav Duris3 years, 9 months ago

Thank you, I've reworded the question how you suggested. You were right about the fact that buying a fridge impulsively is a bit silly and unrealistic haha so I removed it now.

#### Lauren Richards3 years, 9 months ago

• Are you absolutely sure you want to pick fridge as an option for the object? The scenario talks about Josh really liking Emily's fridge and thus buying it on a bit of a whim, but I don't think that really happens with fridges! I think you'd only purchase it if your fridge happened to be broken. It is quite funny though so up to you whether you keep or change it.
• I would reword parts of the question slightly, just to make the focus a bit stronger. Part a) - "When Josh told Emily how much he had paid for the {item}, Emily said the price had decreased by 30% since she bought it. How much did Emily pay for the fridge?"
• I think the question is really good and a valid real-world example scenario!

#### Stanislav Duris3 years, 9 months ago

Gave some feedback: Needs to be tested

#### Stanislav Duris3 years, 9 months ago

I have fixed everything. There is a different price range for every item, I made sure these are all realistic compared to the actual market right now.

All the original prices now end with .99. It would not be random enough if I still wanted the discounted price to end with .99 as well and still have integer percentages, so now, the new discounted price ends with .x9. I think this is good and realistic enough.

#### Christian Lawson-Perfect3 years, 9 months ago

Gave some feedback: Has some problems

#### Christian Lawson-Perfect3 years, 9 months ago

Saved a checkpoint:

Currently, the maximum price that can be picked is £800, and the maximum percentage change is 30%, giving a maximum original price of £1143. That's an enormous amount of money for a smartphone or a console! Maybe use a different range of prices for each item.

The "original" prices don't seem very realistic - they would typically be £xxx.99, just like the discounted price. Can you round off the original price, and make sure that the percentage discount is still the same?

#### Stanislav Duris3 years, 9 months ago

Thank you Hannah. I removed the first part of my advice.

#### Stanislav Duris3 years, 9 months ago

Gave some feedback: Needs to be tested

#### Hannah Aldous3 years, 9 months ago

I corrected some grammar in the statement and question, but otherwise I think it sounds good.
I don't think Divide needs a capital d as it is the middle of a sentence.
otherwise I think your question looks good

#### Hannah Aldous3 years, 9 months ago

Gave some feedback: Has some problems

#### Hannah Aldous3 years, 9 months ago

Gave some feedback: Doesn't work

#### Stanislav Duris3 years, 10 months ago

Gave some feedback: Needs to be tested

#### Stanislav Duris3 years, 10 months ago

Created this as a copy of Calculate a student discount.
Calculate a student discount Ready to use Stanislav Duris 20/11/2019 14:33
Stanislav's copy of Calculate decreasing and increasing costs using percentages needs to be tested Should not be used Stanislav Duris 22/06/2017 14:27
Calculate a student discount Should not be used Stanislav Duris 22/06/2017 16:19
Calculate the original price before a decrease Ready to use Stanislav Duris 20/11/2019 14:34
Consumer Arithmetic - Calculate the original price before a decrease draft Paul Hancock 24/07/2018 02:53
Calculate a percentage decrease Ready to use Vicky Hall 07/10/2020 12:29
Calculate the original price before a % decrease Ready to use Vicky Hall 07/10/2020 12:29
Menghitung harga awal sebelum diskon draft Abrari Hasmi 19/09/2020 16:43
Edina's copy of Calculate a student discount draft Edina Kurdi 18/03/2021 13:56
Edina's copy of Calculate the original price before a decrease draft Edina Kurdi 18/03/2021 13:57

Give any introductory information the student needs.

No variables have been defined in this question.

#### Warning

• When applying the function,
##### Suggestions
• Change the signature of parameter from to .

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.

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

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

For each choice, specify the number of marks to add or subtract when the student picks it.

For each choice, write 1 if the student should tick it, or 0 if they should leave it unticked.

You must set a maximum number of marks in order to use this marking method.

You must set a maximum number of marks in order to use this marking method.

For each combination of answer and choice, specify the number of marks to add or subtract when the student picks it.

For each combination of answer and choice, write 1 if the student should tick it, or 0 if they should leave it unticked.

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:

#### Question variables

These variables are available within the marking algorithm.

Name Value

#### Marking parameters

These values are available as extra variables in the marking algorithm.

Name Value

#### Part settings

These values are available as entries in the settings variable.

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.

Select extensions to use in this question.

Define rulesets for simplification and display of mathematical expressions.

Define functions to use in JME expressions.

• Parameters
• : of

Add styling to the question's display and write a script to run when the question is created.

This script will run after the question's variable have been generated but before the HTML is attached.
Apply styling rules to the question's content.

This question is used in the following exams: