Past-paper question · 2023 May-June · Paper 22 · Q1(b)

Question 1(b) 2023 · May-June · Paper 22 · 3 marks

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

Official answer for Question 1

Part (b)

✓
One mark per bullet point:

Question 3

✓
Indentation
✓
White space
✓
Comments
✓
Sensible / meaningful variable names // use of Camel Case
✓
Capitalised keywords
✓
Note: Max 3 marks

Mark scheme 9618_s23_ms_22.pdf →

Show text version of question

Question 1

Part (b)

Question 1

A program calculates the postal cost based on the weight of the item and its destination.

Calculations occur at various points in the program and these result in the choice of several possible postal costs. The programmer has built these postal costs into the program.

For example, the postal cost of $3.75 is used in the following lines of pseudocode:

IF Weight < 250 AND ValidAddress = TRUE THEN ItemPostalCost 3.75 // set postal cost for item to $3.75 ItemStatus "Valid" // item can be sent ENDIF

Part (b)

The lines of pseudocode contain features that make them easier to understand.

State three of these features.

1 ................................................................................................................................................

2 ................................................................................................................................................

3 ................................................................................................................................................

[3]
Topic relevance

Why this question appears here

92% 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 9618_s23_qp_22.pdf

Keep practising this topic