2210/22/O/N/23 question 8: worked solution (October/November 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. Q25 2210/22/O/N/23 original Q8 Structured · 4 marks Worked solution Procedures (give two points): A procedure lets you write a group of statements under one name [1] It lets you build a modular program, and the procedure can be re-used in the program or in other programs [1] Parameters (give two points): Parameters pass values from the main program into a procedure or function [1] ...so the values can be used inside the procedure, which can then be re-used with different data [1] Other accepted points: re-use makes programs faster to write and shorter; different programmers can work on different procedures; shorter programs are easier to maintain. Four marks in total. KEY IDEA Procedures group and reuse code; parameters pass different values into them. TOTAL 4 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by Paper solver.. Tap the picture to open it on YouTube.