Practise 14 exam-style questions on Functions and function machines for OCR GCSE Maths (Foundation non-calculator). Write your answer as you would in the exam and get it marked in seconds against the mark scheme, point by point, with the Study Helper on hand if you get stuck.
14 questions
1–4 marks each
Instant marking
No sign-up needed
14 questions, marked as you go
Sample questions with model answers
Here are 4 of the questions in this topic, each with a model answer, an explanation of why it earns the marks and the mark scheme an examiner would use.
Question 1
2 marks
Rhys thinks of a number. He multiplies his number by 3 and then subtracts 7. His answer is 20.
What number did Rhys think of?
Model answer
Work backwards using the inverse operations in reverse order. \(20 + 7 = 27\) \(27 \div 3 = 9\) Rhys thought of 9. Check: \(9 \times 3 - 7 = 27 - 7 = 20\)
Explanation
To work backwards, undo the last operation first: the inverse of subtracting 7 is adding 7, and the inverse of multiplying by 3 is dividing by 3. Checking your answer by putting it back through the steps is a good habit.
Mark scheme
1 mark
M1 for \(20 + 7\) or 27 seen, or \((20 + 7) \div 3\)
Or \(3n - 7 = 20\) oe; correct answer with no working scores full marks
1 mark
A1 for 9
\(\dfrac{20}{3} + 7\) (undoing in the wrong order) or 53 (\(20 \times 3 - 7\)) score M0 A0.
Question 2
2 marks
This function machine is used to work out the time needed to cook a joint of beef.
Work out the time needed to cook a joint of beef with a mass of 3.5 kg.
Model answer
\(3.5 \times 40 = 140\) \(140 + 20 = 160\) The time needed is 160 minutes (2 hours 40 minutes).
Explanation
Put 3.5 into the machine and follow the arrows. \(3.5 \times 40\) can be worked out as \(3 \times 40 + 0.5 \times 40 = 120 + 20 = 140\). Then add the extra 20 minutes.
Mark scheme
1 mark
M1 for \(3.5 \times 40\) or 140
correct answer with no working scores full marks
1 mark
A1 for 160 (minutes)
Accept 2 hours 40 minutes. 940 (from \((3.5 + 20) \times 40\), operations in the wrong order) scores M0 A0.
Question 3
2 marks
Here is a function machine.
The input is \(n\).
Ali says the output is \(n + 12\). Bea says the output is \(3n + 4\).
Is either of them correct? Show how you decide.
Model answer
Input \(n\) Add 4: \(n + 4\) Multiply by 3: \(3(n + 4) = 3n + 12\) The output is \(3n + 12\). Ali has not multiplied the \(n\) by 3, and Bea has not multiplied the 4 by 3, so neither of them is correct.
Explanation
The 4 is added before multiplying, so the whole of \(n + 4\) is multiplied by 3, which needs a bracket: \(3(n + 4) = 3n + 12\). Ali and Bea have each multiplied only one of the two terms. Testing a number such as 1 confirms it: the machine gives 15.
Mark scheme
1 mark
B1 for the output \(3(n + 4)\) or \(3n + 12\)
1 mark
B1 for 'neither is correct' with a reason
e.g. 'the output is \(3n + 12\), and that is not \(n + 12\) or \(3n + 4\)', or a numerical check such as 'input 1 gives 15, but Ali's gives 13 and Bea's gives 7'. 'Neither' with no reason scores 0 for this mark.
Question 4
4 marks
In a quiz, each team's score is worked out using this function machine.
Team A scored 38 points. Team B got 3 more correct answers than Team A.
Work out Team B's score.
Model answer
Team A: work backwards from 38 \(38 + 10 = 48\) \(48 \div 4 = 12\) correct answers Team B: \(12 + 3 = 15\) correct answers Score \(= 15 \times 4 - 10 = 60 - 10 = 50\) Team B scored 50 points.
Explanation
Find Team A's number of correct answers by working backwards through the machine, add 3, then put the new number forwards through the machine. Alternatively, notice that each extra correct answer is worth 4 points, so Team B scored \(38 + 12 = 50\). Adding 3 straight onto the score is a common error.
Mark scheme
1 mark
M1 for \((38 + 10) \div 4\)
Working backwards to find Team A's correct answers. Alternative method: \(38 + 3 \times 4 = 50\) (each extra correct answer is worth 4 more points) scores all 4 marks.
1 mark
A1 for 12
Team A's number of correct answers.
1 mark
M1 for (their 12 + 3) \(\times 4 - 10\)
Or for \(38 + 3 \times 4\) (each extra correct answer is worth 4 points).
Ready to try the rest? Every answer you write is marked against the mark scheme, so you can see exactly where the marks are.
Ctrl + Enter to check
Study HelperHints first, answers after you try
Stuck on this one? Ask for a hint and I’ll point you in the right direction, without giving the answer away. Once you’ve checked your answer, I’ll show you how the marks are awarded.