Question 1(b) 2023 · May-June · Paper 22 · 3 marks
Reveal official mark-scheme answer
Official answer for Question 1
Part (b)
Question 3
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 ................................................................................................................................................
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
