Note AcademyNote Academy

Computer Science · Oct / Nov 2019 · Paper 23 · Question 4

2210

As printed in the paper

The question as text

The following pseudocode algorithm uses nested IF statements. IF Response = 1 THEN X X + Y ELSE IF Response = 2 THEN X X – Y ELSE IF Response = 3 THEN X X * Y ELSE IF Response = 4 THEN X X / Y ELSE OUTPUT "No response" ENDIF ENDIF ENDIF ENDIF

Read automatically from the paper; the printed page above is exact.

Show the answer and mark scheme
  • 4(a)[1]

  • 4(b)[4]

Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.