Note AcademyNote Academy

Computer Science · May / June 2019 · Paper 21 · Question 4

2210

As printed in the paper

The question as text

This section of program code may be used as a validation check. 1 PRINT "Input a value between 0 and 100 inclusive" 2 INPUT Value 3 WHILE Value < 0 OR Value > 100 4 PRINT "Invalid value, try again" 5 INPUT Value 6 ENDWHILE 7 PRINT "Accepted: ", Value

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

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

  • 4(b)[2]

  • 4(c)[3]

  • 4(d)[5]

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