Computer Science · May / June 2023 · Paper 22 · Question 6
0478
As printed in the paper
The question as text
State three different features of a high-level programming language that a programmer could use to make sure that their program will be easier to understand by another programmer. Give an example for each feature. Feature 1 Example Feature 2 Example Feature 3 Example [6]
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
One mark for each feature and one mark for corresponding example (max six)
ensuring that all identifiers have meaningful names …
… example using Total to store a running total
using comments to explain how the program works …
… example // all values are zeroed before the next calculation
using procedures and functions for the tasks within a program …
… example CalculateInterest(Deposit, Rate)
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

