Cambridge O Level ยท 2210 ยท Paper 2 ยท Algorithms, programming & logic
Computer Science 2210/21 May/June 2020 past paper
Cambridge O Level Computer Science (2210) Paper 2 (Algorithms, programming & logic), variant 1, May/June 2020: 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_s20_qp_21 ยท 2210_s20_ms_21
Topics in this paper
Which syllabus chapters 2210/21 May/June 2020 tested, by marks. Each chapter links to every past-paper question on it.
| Chapter | Questions | Marks |
|---|---|---|
| Databases | 3 | 21 |
| Scenario Question | 1 | 20 |
| Algorithm Design and Problem-Solving | 2 | 9 |
Questions in 2210/21 May/June 2020
- Question 1
All variables, constants and other identifiers must have meaningful names. (a) (i) Identify two arrays you could have used for Task 1 and, in each case, state its purpose. Array 1 Purpose Array 2 Purpose (ii) Identify two variables you โฆ
- Question 2
Tick (รผ) one box in each row to identify if the statement about structure diagrams is true or false. Statement True (รผ) False (รผ) A structure diagram is a piece of code that is available throughout the structure of a โฆ
- Question 3
Programs can perform validation and verification checks when data is entered. (a) Give the names of two different validation checks and state the purpose of each one. Check 1 Purpose Check 2 Purpose (b) Give the name of one verification โฆ
- Question 4
The pseudocode algorithm shown should allow numbers to be entered and should allow 50 numbers to be stored in an array. Count โ 0 REPEAT INPUT Values[Count] Count โ Count + 1 UNTIL Count โฆ
- Question 5
The flowchart represents an algorithm. The predefined function DIV gives the value of the result of integer division, for example, โฆ
- Question 6
A garden centre sells garden tools and stores details of these in a database table named TOOLS. Code is the primary key in the TOOLS table. Code Description Price ($) Quantity_Stock Quantity_Ordered GFLG Garden Fork โฆ