Question 4(a) 2008 · October-November · Paper 1 · 8 marks
Reveal official mark-scheme answer
Official answer for Question 4
Part (a)
Part (a)
NUMBER COUNT MARK OUTPUT
Question 1
Show text version of question
Question 4
Part (a)
READ NUMBER FOR COUNT = 1 TO NUMBER READ MARK IF MARK < 50 THEN OUTPUT COUNT, “FAIL” ELSE IF MARK > 80 THEN OUTPUT COUNT, “MERIT” ELSE OUTPUT COUNT, “PASS” END IF END IF NEXT END
The above algorithm is designed to read a number of examination marks and print out the result for each one. Complete a table like the one below in order to dry run the algorithm with the data
4, 40, 90, 60, 50, 70
NUMBER COUNTER MARK OUTPUT
Why this question appears here
71% assigned-topic match · Programming › Constructs
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 9691_w08_qp_1.pdf
