There was an error loading the page.

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.

Published this.

#### Chris Graham3 years, 3 months ago

Gave some feedback: Ready to use

#### Chris Graham3 years, 3 months ago

I fixed the spacing around the = in b)(ii). Otherwise I think this is good.

#### Lauren Richards3 years, 3 months ago

Gave some feedback: Needs to be tested

#### Hannah Aldous3 years, 3 months ago

question looks good, just a few little things

• question b only has one part so i is unnecessary (same in advice)
• advice for parts a, c and d when you do your subtraction make sure it is clear that you are subtracting the whole equation as it looks like you are just making your left hand side negative at the moment
• text on advice for a iv is centred whereas the rest of the advice isn't
• text for the advice of part c is centred too
• part c advice needs a full stop after x= recurring number, before 'By multiplying...'
• for your advice for part c maybe include the fact that you are doing the subtraction to remove the recurring numbers
• the line beginning 'From this...' continues off the page so can not be read, perhaps because it is in LaTeX
• I'd put a space between your final fraction and 'in it's fractional form

#### Hannah Aldous3 years, 3 months ago

Gave some feedback: Has some problems

#### Lauren Richards3 years, 4 months ago

Gave some feedback: Needs to be tested

#### Chris Graham3 years, 4 months ago

The student will want to submit each part individually, and for this reason I would split this into two questions.

I have removed the full stops after the fractions. They were not really necessary and their vertical alignment, next to the fraction bar, was awkward.

In (a), clearly (iii) is the toughest. I think I'd swap it for (iv) to give a more logical progression in difficulty.

Where you have \\displaystyle... you can enclose maths in  with the same effect. You also have some centred text in the advice. Note that using will centre the maths without the need to centre using the formatting tools. #### Chris Graham3 years, 4 months ago Gave some feedback: Has some problems #### Lauren Richards3 years, 4 months ago Gave some feedback: Needs to be tested #### Chris Graham3 years, 4 months ago Hi Lauren, I guess this was after we sorted the other bits on Friday. It appears as though this could be due to floating point precision, such that f2 is not considered a precise integer for the purpose of obtaining the gcd. I have added precround(...,0) to the definition of f2 and I think that this has solved it. #### Lauren Richards3 years, 4 months ago Everything is fixed now EXCEPT part b)i) STILL does not simplify properly for some unknown reason. It gave 342/1000 as that instead of 171/500 and another time 302/1000 instead of 151/500 and again another time 416/1000 instead of 52/125. #### Lauren Richards3 years, 4 months ago Gave some feedback: Has some problems #### Chris Graham3 years, 4 months ago Hi Lauren, you currently have amissing answer(s) for your gaps. If you can sort that and I'll also come and see you. #### Lauren Richards3 years, 4 months ago Explanation for "Doesn't work": The problems with this question are in part b) - part a) is mostly fine. • In part a), I am slightly unhappy about it the apparent impossibility of aligning whilst having an underline. I have a subtraction in part a) and wanted the answer to the subtraction directly underneath the subtraction with an underline separating it but I couldn't get it to work so I now have it not underlined and separated but still aligned. • The big problems are in both sections of part b). • b)i) - The unsimplified fraction does not simplify properly using either gcd or the \simplify command and I cannot for the life of me work out why not. Vicky previously thought the problem was that the numerator and denominator of the fraction were not variables but I have made them so and it still will not 1) identify the correct gcd nor 2) simplify properly. For instance, on the last run it said that with a fraction of 700/1000, 700 and 1000 had a gcd of 1 and therefore the fraction could not be simplified. It's very strange though, sometimes it works and sometimes it doesn't. It is therefore difficult to set the correct answer as there is no predicting which answer itself has calculated. • b)ii) - I have had to create a number using individual variables which is causing problems, e.g. variable a = 1, variable b = 2, variable c = 3 and the full number = 123. Everything is fine up until the end where there is a fraction that needs to be simplified where 123 is the numerator. Numbas obviously won't recognise (1)(2)(3) as 123 so I don't know how to get around this. I could ask the students to just not simplify their answer which gets rid of the problem but Vicky and I both agree that is not best practice. #### Lauren Richards3 years, 4 months ago Gave some feedback: Doesn't work #### Lauren Richards3 years, 4 months ago Vicky had a look at this question but it is still problematic. #### Lauren Richards3 years, 4 months ago Having a few issues with this question and need a bit of help. #### Vicky Hall3 years, 4 months ago Gave some feedback: Has some problems #### Vicky Hall3 years, 4 months ago I think this should be called 'converting decimals to fractions'. Do you have or are you going to make another question on converting fractions to decimals? The numbers are very large in part b) of the questions. My first fraction was\displaystyle\frac{681}{10000}$and my second was$\displaystyle\frac{4365}{999}$. I can see fairly easily that$\displaystyle\frac{681}{10000}$has no common factor but I had to check with my calculator if$3$was a factor of$4365$. To fix this, I would reduce the decimal places, so perhaps make the non-recurring decimal$2$decimal places long, and have the recurring decimal repeat after either$1$or$2$decimal places. Make sure all numbers in the advice are in Latex. In the working for the recurring decimals, it would look much neater to have the$=\$ aligned in the subtraction.

I have fixed the notation issue for the recurring decimal in part a).

#### Lauren Richards3 years, 4 months ago

I totally agree with Elliott's feedback about notation of recurring decimals but I can't seem to make it work when the recurring decimal is a variable.

Also, in some instances, weirdly, simplify doesn't seem to be working for some of the final answers.

#### Lauren Richards3 years, 4 months ago

Gave some feedback: Needs to be tested

#### Elliott Fletcher3 years, 4 months ago

This all looks pretty good, i just have a few suggestions.

Main Parts

a) iii) For a recurring decimal, you could use a handy piece of notation to avoid writing something like 0.6666...

using 0.\dot{6}, you can write the 6 with a dot above it which is the common notation for a recurring decimal. If you do want to use this i would also put a note in the statement saying 0.\dot{6} means 0.666...

On the first line you say "to convert a fraction into a decimal" whereas this should be "to convert a decimal into a fraction". I also think in this opening paragraph that you should say that you are multiplying the numerator and the denominator of this fraction by 10 instead of just saying that you multiply the whole fraction by 10.

a) iii) I don't think this is really enough of an explanation for how you convert a recurring decimal to fraction. I think there is actually a different method for converting recurring decimals to fractions, see the following link: http://studymaths.co.uk/topics/convertingRecurringDecimalsToFractions.php

a) iv) you haven't entered the decimal that you are converting to a fraction underneath the iv) here as you have with the other questions.

Otherwise, i think this is a good question!

#### Elliott Fletcher3 years, 4 months ago

Gave some feedback: Has some problems

#### Lauren Richards3 years, 4 months ago

Gave some feedback: Needs to be tested

#### Lauren Richards3 years, 4 months ago

Created this.
Decimals to fractions Ready to use Lauren Richards 20/11/2019 14:47
J. Richard's copy of Decimals to fractions Ready to use J. Richard Snape 15/08/2019 17:06
Decimals to fractions draft Ahmed Al-Razaz 22/05/2020 15:57
Van decimaal naar breuk kopie draft Johan Maertens 08/08/2020 08:55
Positieve decimaal naar breuk draft Johan Maertens 05/09/2020 17:40
Decimals to fractions Ready to use Vicky Hall 07/10/2020 12:28
Dezimalzahlen in Bruchzahlen umwandeln Ready to use Ulrich Görtz 15/10/2020 07:53
Ahmed's copy of Decimals to fractions testing marking draft Ahmed Al-Razaz 01/10/2020 14:32
Ahmed's copy of Decimals to fractions draft Ahmed Al-Razaz 02/10/2020 10:43
Converting Decimals to Fractions draft Radu Dragomir Manac 06/10/2020 21:03
Radu Dragomir's copy of Radu Dragomir's copy of Decimals to fractions draft Radu Dragomir Manac 06/10/2020 15:30
Radu's copy of Decimals to fractions draft Ahmed Al-Razaz 06/10/2020 20:58
second copy of Decimals to fractions draft Ahmed Al-Razaz 06/10/2020 21:01

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)

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

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.

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

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.

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.

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.

#### Extensions

• There was an error loading this extension.

• : of

### Preamble

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: