2210/22/O/N/22 question 2: worked solution (October/November 2022, 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. Q14 2210/22/O/N/22 original Q2 Structured · 4 marks Worked solution (a) Match each concept to its description: Programming concept Description counting tracking the number of iterations a program has performed in a loop repetition carrying out an action multiple times within a loop structure selection branching off to take a course of action depending on the answer to a question sequence a set of statements to be executed in order totalling adding together the numbers in a list of numbers Each correct line scores 1 mark, to a maximum of four: counting → tracking the number of iterations a program has performed in a loop [1] repetition → carrying out an action multiple times within a loop structure [1] selection → branching off to take a course of action depending on the answer to a question [1] totalling → adding together the numbers in a list of numbers [1] sequence → a set of statements to be executed in order is also correct, but the most you can score is 4. KEY IDEA Counting tracks how many times, totalling adds values, repetition is looping, selection is a decision and sequence is order. TOTAL 4 marks Official mark scheme VIDEO ▶ Topic lesson A lesson on this topic · by Mr Bulmer's Learning Zone. Tap the picture to open it on YouTube.