Note AcademyNote Academy

Computer Science (AS & A Level) · May / June 2023 · Paper 22 · Question 1

9618

As printed in the paper

The question as text

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

Read automatically from the paper; the printed page above is exact.

Show the answer and mark scheme
  • 1(a)(i)[1]

  • 1(a)(ii)[3]

  • 1(b)[3]

  • 1(c)[3]

Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.