Cambridge O Level ยท 2210 ยท Paper 2 ยท Algorithms, programming & logic
Computer Science 2210/21 May/June 2021 past paper
Cambridge O Level Computer Science (2210) Paper 2 (Algorithms, programming & logic), variant 1, May/June 2021: the question paper and its official mark scheme, 6 questions worth 50 marks. Free to open, no account needed.
- Questions
- 6
- Marks
- 50
File names: 2210_s21_qp_21 ยท 2210_s21_ms_21
Topics in this paper
Which syllabus chapters 2210/21 May/June 2021 tested, by marks. Each chapter links to every past-paper question on it.
| Chapter | Questions | Marks |
|---|---|---|
| Scenario Question | 1 | 20 |
| Databases | 2 | 15 |
| Programming | 1 | 6 |
| Boolean Logic | 1 | 6 |
| Algorithm Design and Problem-Solving | 1 | 3 |
Questions in 2210/21 May/June 2021
- Question 1
(a) All variables, constants and other identifiers must have meaningful names. (i) Identify one constant you could have used for Task 1, give the value that would be assigned to it and its use. Constant Value Use (ii) Identify one โฆ
- Question 2
Tick (รผ) one box in each row to identify if the statement is about validation, verification or both. Statement Validation (รผ) Verification (รผ) Both (รผ) Entering the data twice to check if both entries are the same. Automatically checking that โฆ
- Question 3
Name and describe the most appropriate programming data type for each of the examples of data given. Each data type must be different. Data: 37 Data type name Data type description Data: Cambridge2021 Data type name Data type description Data: โฆ
- Question 4
The pseudocode algorithm shown has been written by a teacher to enter marks for the students in her class and then to apply some simple processing. Count โ 0 REPEAT INPUT Score[Count] IF Score[Count] >= 70 THEN Grade[Count] โ "A" โฆ
- Question 5
The flowchart represents an algorithm. The algorithm will terminate if โ1 is entered. START INPUT Value END OUTPUT "Accept: Normal" OUTPUT "Accept: Extreme" Diff1 100 โ Value Diff2 Value โ 50 No IS Diff1 < 1 OR Diff2 โฆ
- Question 6
A library uses a database table, GENRE, to keep a record of the number of books it has in each genre. ID GenreName Total Available Loaned Overdue ABI Autobiography โฆ