Cambridge O Level ยท 2210 ยท Paper 2 ยท Algorithms, programming & logic
Computer Science 2210/22 May/June 2019 past paper
Cambridge O Level Computer Science (2210) Paper 2 (Algorithms, programming & logic), variant 2, May/June 2019: 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_s19_qp_22 ยท 2210_s19_ms_22
Topics in this paper
Which syllabus chapters 2210/22 May/June 2019 tested, by marks. Each chapter links to every past-paper question on it.
| Chapter | Questions | Marks |
|---|---|---|
| Scenario Question | 1 | 20 |
| Programming | 3 | 16 |
| Databases | 1 | 8 |
| Algorithm Design and Problem-Solving | 1 | 6 |
Questions in 2210/22 May/June 2019
- Question 1
(a) All variables, constants and other identifiers must have meaningful names. Describe the data structures you have used in Task 1 to record the items for sale. Include some sample data for each data structure you have described. (b) Explain โฆ
- Question 2
(a) An algorithm has been written in pseudocode to input 100 numbers, select and print the largest number and smallest number. Count 1 INPUT Number High Number Low Count REPEAT INPUT Number IF Number > High THEN High Number ENDIF โฆ
- Question 3
This flowchart inputs the marks gained in an examination. An input of โ1 ends the routine. OUTPUT "Number of Distinctions ", Distinction OUTPUT "Average Mark " Total/Count START END Is Mark โฆ
- Question 4
For each of the four groups of statements in the table, place a tick in the correct column to show whether it is an example of Selection or Repetition. Statements Selection Repetition FOR A 1 TO โฆ
- Question 5
Explain what is meant by validation and verification. Give an example for each one. Validation Example Verification Example
- Question 6
A database table, FLIGHT, is used to keep a record of flights from a small airfield. Planes can carry passengers, freight or both. Some flights are marked as private and only carry passengers. Flight number Plane Notes Departure time Passengers โฆ