2210/22/M/J/21 question 3: worked solution (May/June 2021, paper 22)

Show as plain text

Cambridge O Level Computer Science 2210 · 7.2 Sub-systems, decomposition and designing a solution Worked solution from the Algorithm design and problem-solving Paper 2 Algorithms, Programming and Logic booklet, Part 2 of 8. Q8 2210/22/M/J/21 original Q3 Structured · 6 marks Worked solution (a) Draw one symbol for each statement: IF Number = 20: a diamond (decision) [1] PRINT Number: a parallelogram (input/output) [1] Number ← Number + 1: a rectangle (process) [1] (b) Write the type of each statement: IF Number = 20: selection [1] PRINT Number: output [1] Number ← Number + 1: counting [1] KEY IDEA Diamond for a decision, parallelogram for input/output, rectangle for a process. 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.