Past-paper question · 2021 May-June · Paper 23 · Q1(c)

Question 1(c) 2021 · May-June · Paper 23 · 3 marks

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

Official answer for Question 1

Part (c)

Question 3

✓
Statement
✓
Error
✓
Cannot multiply a
✓
Code ← RIGHT("Cap" * 3, 2)
✓
string (by 3)
✓
Parameter should
✓
Valid ← IS_NUM(3.14159)
✓
be a string
✓
Closing bracket in
✓
NextChar ← MID(ThisString, Index), 1
✓
wrong place
✓
One mark for each row
✓
Question
✓
Answer
✓
Marks

Mark scheme 9608_s21_ms_23.pdf →

Show text version of question

Question 1

Part (c)

Part (c)

Each pseudocode statement in the following table may contain an error due to the incorrect

use of the function or operator.

Describe the error in each case, or write 'NO ERROR' if the statement contains no error.

Refer to the Appendix on pages 22 and 23 for the list of built-in pseudocode functions and operators.

Statement Error

Code RIGHT("Cap" * 3, 2)

Valid IS_NUM(3.14159)

NextChar MID(ThisString, Index), 1

[3]

Question 4

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_s21_qp_23.pdf

Keep practising this topic