2210/22/M/J/23 question 6: worked solution (May/June 2023, paper 22)
Show as plain textHide plain text
Cambridge O Level Computer Science 2210 · 8.1 Programming concepts Worked solution from the Programming Paper 2 Algorithms, Programming and Logic booklet, Part 1 of 3. Q19 2210/22/M/J/23 original Q6 Structured · 6 marks Worked solution Give any three of these features, each with an example. Feature: meaningful identifiers (names that say what they store) [1] Example: use Total to store a running total [1] Feature: comments that explain how the program works [1] Example: // all values are zeroed before the next calculation [1] Feature: procedures and functions for the tasks in the program [1] Example: CalculateInterest(Deposit, Rate) [1] KEY IDEA Meaningful names, comments and procedures or functions make code easier for another programmer to understand. TOTAL 6 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by CS BY AQIB KHAN. Tap the picture to open it on YouTube.