Past-paper question · 2017 October-November · Paper 23 · Q2

Question 2 2017 · October-November · Paper 23 · 0 marks

Original past-paper question for 2
Reveal official mark-scheme answer Official mark-scheme answer for 2

Official answer for Question 2

Question 1

mark for each error identified plus suggested correction (the corrected

Question 4

✓
lines must be written in full)
✓
Line 4 correct line WHILE Number <= 99 OR Number > 1000
✓
Line 7 correct line Num[Index] = Number
✓
Line 9 correct line NEXT (Index)
✓
Line 10 correct line PRINT Count
✓
Question
✓
Answer
✓
Marks

Mark scheme 2210_w17_ms_23.pdf →

Show text version of question

Question 2

This section of program code asks for 80 numbers between 100 and 1000 to be entered. It checks that the numbers are in the correct range, and stores them in an array. It counts how many of the numbers are larger than 500 and then outputs the result when the program is finished.

1 Count = 0 2 FOR Index = 1 TO 80

Topic relevance

Why this question appears here

98% assigned-topic match · Programming › Arrays

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 2210_w17_qp_23.pdf

Keep practising this topic