Cambridge O Level ยท 2210 ยท Paper 2 ยท Algorithms, programming & logic
Computer Science 2210/21 May/June 2015 past paper
Cambridge O Level Computer Science (2210) Paper 2 (Algorithms, programming & logic), variant 1, May/June 2015: the question paper and its official mark scheme, 7 questions worth 50 marks. Free to open, no account needed.
- Questions
- 7
- Marks
- 50
File names: 2210_s15_qp_21 ยท 2210_s15_ms_21
Topics in this paper
Which syllabus chapters 2210/21 May/June 2015 tested, by marks. Each chapter links to every past-paper question on it.
| Chapter | Questions | Marks |
|---|---|---|
| Programming | 5 | 35 |
| Databases | 1 | 12 |
| Algorithm Design and Problem-Solving | 1 | 3 |
Questions in 2210/21 May/June 2015
- Question 1
(a) All variables, constants and other identifiers should have meaningful names. (i) In Task 1, you had to store the midday temperatures and midnight temperatures in arrays. Write suitable declarations for these two arrays. (ii) It has been decided to โฆ
- Question 2
Read this section of program code that should input 10 positive numbers and then output the smallest number input. 1 Small โฆ
- Question 3
The flowchart below inputs the weight of a number of parcels in kilograms. Parcels weighing more than 25 kilograms are rejected. A value of โ1 stops the input. The following information is output: the total weight of the parcels accepted โฆ
- Question 4
Five data types and five data samples are shown below. Draw a line to link each data type to the correct data sample. Data type Data sample Integer 'a' Real 2 Char 2.0 String True Boolean "Twelve"
- Question 5
Explain the difference between a variable and a constant in a program.
- Question 6
Identify three different loop structures that you can use when writing pseudocode. โฆ
- Question 7
A database, PROPERTY, was set up to show the prices of properties for sale and the features of each property. Part of the database is shown below. Property Type Brochure No Number of Bedrooms Number of Bathrooms Garden Garage Price โฆ