Note AcademyNote Academy

Computer Science · May / June 2023 · Paper 21 · Question 6

0478

As printed in the paper

The question as text

State two features that should be included to create a maintainable program. Give a reason why each feature should be used. 1 2 [4]

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

Show the answer and mark scheme

One mark for each correct feature, max two

One mark for each correct accompanying reason, max two

For example:

Meaningful identifiers – to enable the programmer (or future programmers) to easily recognize the purpose of a variable / array / constant // to enable easy tracking of a variable / constant / array through the program

Use of comments – to annotate each section of a program so that a programmer can find specific sections / so that the programmer knows the purpose of that section of code

Procedures and functions – to make programs modular and easier to update / add functionality

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