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