Cambridge O Level ยท 2210 ยท Paper 2 ยท Algorithms, programming & logic
Computer Science 2210/21 May/June 2019 past paper
Cambridge O Level Computer Science (2210) Paper 2 (Algorithms, programming & logic), variant 1, May/June 2019: the question paper and its official mark scheme, 5 questions worth 50 marks. Free to open, no account needed.
- Questions
- 5
- Marks
- 50
File names: 2210_s19_qp_21 ยท 2210_s19_ms_21
Topics in this paper
Which syllabus chapters 2210/21 May/June 2019 tested, by marks. Each chapter links to every past-paper question on it.
| Chapter | Questions | Marks |
|---|---|---|
| Programming | 2 | 26 |
| Algorithm Design and Problem-Solving | 2 | 15 |
| Databases | 1 | 9 |
Questions in 2210/21 May/June 2019
- Question 1
(a) All variables, constants and other identifiers must have meaningful names. (i) State one array you used for Task 1. State the data type and purpose of this array. Array Data type Purpose (ii) State one variable you used for โฆ
- Question 2
Describe each of the following data types used in programming. In each case, give an example of a piece of data to illustrate your answer. Each example must be different. Char String Boolean
- Question 3
(a) Give an example of a conditional statement using pseudocode. (b) Describe the purpose of a conditional statement. Question 4 starts on page 10.
- Question 4
This section of program code may be used as a validation check. 1 PRINT "Input a value between 0 and 100 inclusive" 2 INPUT Value 3 WHILE Value < 0 OR Value โฆ
- Question 5
The table, BEVERAGES, shows the number of calories in 100 ml of a range of popular beverages. It also shows the availability of these drinks in a can, a small bottle and a large bottle. BevNo BevName Calories Can Small โฆ