Past-paper question · 2024 May-June · Paper 23 · Q1(a)(i)

Question 1(a)(i) 2024 · May-June · Paper 23 · 2 marks

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

Official answer for Question 1

Part (a)

(i)

✓
Two marks for the benefits:

Question 2

✓
1. The code can be called when needed
✓
2. Any subsequent change to the algorithm / calculation needs to be made
✓
once only // Easier to manage / maintain (the program)
✓
3. Less code / no code duplication
✓
4. The algorithm / code / calculation can be designed / coded / tested once
✓
Note: Max 2 marks

Mark scheme 9618_s24_ms_23.pdf →

Show text version of question

Question 1

Part (a)

(i)

Question 1

A program uses many complex algorithms.

One algorithm is repeated in several places. The code for the algorithm is the same wherever it is used, but the calculations within the algorithm may operate on different data.

The result of each calculation is used by the code that follows it.

It is decided to modify the program and implement the algorithm as a separate module.

(i)

State two benefits of this modification to the existing program.

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

...........................................................................................................................................

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

...........................................................................................................................................

[2]
Topic relevance

Why this question appears here

68% assigned-topic match · Algorithm design and problem-solving › Algorithms

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

Keep practising this topic