Refer to the algorithm shown in the pseudocode below:
1 processing ← True
2 WHILE processing = True
3 size ← USERINPUT
4 IF size > 2 THEN
5 reductions ← 0
6 WHILE size > 2
7 size ← size DIV 3
8 reductions ← reductions + 1
9 ENDWHILE
10 ELSE
11 processing ← False
12 ENDIF
13 OUTPUT size
14 ENDWHILE
What is the value of the variable reductions when the user input is 250?
333
444
555
666
208 exam-style questions on AQA GCSE Computer Science Representing algorithms. Each one has a worked solution and a mark scheme showing where the marks go.