Question 1
1 markThe flowchart shows an algorithm that converts a temperature in degrees Celsius to degrees Fahrenheit using the formula:
Fahrenheit = Celsius × 1.8 + 32
State what should be written in box A.
Model answer
Fahrenheit ← Celsius * 1.8 + 32
Explanation
Box A is a process box, so it holds a calculation whose result is stored in a variable. The variable must be Fahrenheit because that is what the next box outputs.
Mark scheme
-
1 mark
Fahrenheit ← Celsius * 1.8 + 32
Accept × for *. The result must be assigned to Fahrenheit