2024 Home

Question 4

Section 1: Software design and development, and Computer systems

A parking fine is £130. If this fine is paid within 14 days the fine is halved.

A design for a program to calculate the fine depending on when it is paid is shown below.

  1. Set fine to 130
  2. Get number of days since fine was issued
  3. Calculate and store fine

Using a design technique of your choice, refine step 3 of the design.

3 marks