Cambridge O Level ยท 2210 ยท Paper 2 ยท Algorithms, programming & logic
Computer Science 2210/22 Oct/Nov 2020 past paper
Cambridge O Level Computer Science (2210) Paper 2 (Algorithms, programming & logic), variant 2, Oct/Nov 2020: the question paper and its official mark scheme, 7 questions worth 66 marks. Free to open, no account needed.
- Questions
- 7
- Marks
- 66
File names: 2210_w20_qp_22 ยท 2210_w20_ms_22
Topics in this paper
Which syllabus chapters 2210/22 Oct/Nov 2020 tested, by marks. Each chapter links to every past-paper question on it.
| Chapter | Questions | Marks |
|---|---|---|
| Databases | 4 | 38 |
| Scenario Question | 1 | 20 |
| Algorithm Design and Problem-Solving | 2 | 8 |
Questions in 2210/22 Oct/Nov 2020
- Question 1
All variables, constants and other identifiers must have meaningful names. (a) (i) Identify one array you could have used for Task 1 and state its purpose. Array Purpose (ii) Identify one variable you could have used for Task 2 and โฆ
- Question 2
Tick (3) one box in each row to identify if the statement about subroutines is true or false. Statement true (3) false (3) A subroutine is called from within a program. A subroutine is not a complete program. A subroutine โฆ
- Question 3
This pseudocode algorithm is used as a validation check. PRINT "Input a number from 1 to 5000" REPEAT INPUT Number IF Number < 1 OR Number > 5000 THEN PRINT "Invalid number, please try again" ENDIF UNTIL Number >= 1 โฆ
- Question 4
This pseudocode algorithm allows 5000 numbers to be entered and stored in an array called Number. FOR Count 1 TO 5000 INPUT Number[Count] NEXT Count Extend and re-write the algorithm using pseudocode to also count and output how many of โฆ
- Question 5
This pseudocode represents an algorithm. REPEAT Flag 0 FOR Count 0 to 3 IF Num[Count] < Num[Count + 1] THEN Store Num[Count] Num[Count] Num[Count + 1] Num[Count + 1] Store Flag 1 ENDIF NEXT Count UNTIL Flag โฆ
- Question 6
Draw a flowchart symbol to represent each of the following: Input/Output Decision Question 7 starts on Page 12.
- Question 7
The table AUDIOPARTS stores the part number, description, cost and quantity in stock of the items sold by a music shop. PartNum Description Cost Quantity A01 Compact Amplifier Case โฆ