Past-paper question · 2019 October-November · Paper 21 · Q1(a)(i)

Question 1(a)(i) 2019 · October-November · Paper 21 · 3 marks

Original past-paper question for 1(A)(I)
Original past-paper question for 1(A)(I)
Reveal official mark-scheme answer Official mark-scheme answer for 1(A)(I)

Official answer for Question 1

Part (a)

(i)

✓
One mark for each feature:

Question 3

✓
1.
✓
meaningful / sensible identifier names // use of Camel case for identifier
✓
names // use of constants
✓
2.
✓
blank lines / white space
✓
3.
✓
comments
✓
9608/21
✓
Cambridge International AS/A Level – Mark Scheme
✓
October/November
✓
PUBLISHED
✓
2019
✓
Question
✓
Answer
✓
Marks

Mark scheme 9608_w19_ms_21.pdf →

Show text version of question

Question 1

Part (a)

(i)

Question 1

Study the following pseudocode.

FUNCTION Search() RETURNS INTEGER DECLARE N, C : INTEGER DECLARE V, L : REAL V GetLevel() L V * 1.34

C
0

FOR N 1 TO 10 V GetLevel() IF V > L THEN

C
C + 1

ENDIF ENDFOR OUTPUT "Process complete" RETURN C ENDFUNCTION

(i)

This pseudocode lacks features that would make it easier to read and understand.

State three such features.

Feature 1 ...........................................................................................................................

Feature 2 ...........................................................................................................................

Feature 3 ...........................................................................................................................

[3]

Question 3

Topic relevance

Why this question appears here

82% 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 9608_w19_qp_21.pdf

Keep practising this topic