Select one option that shows the output from the algorithm in Figure 1 when the user input is 9.
Figure 1
1 x ← USERINPUT
2 IF x MOD 3 = 0 THEN
3 OUTPUT x * 2
4 ELSE
5 OUTPUT x + 4
6 ENDIF
000
999
131313
181818
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.