Cambridge O Level ยท 2210 ยท Paper 2 ยท Algorithms, programming & logic
Computer Science 2210/21 May/June 2017 past paper
Cambridge O Level Computer Science (2210) Paper 2 (Algorithms, programming & logic), variant 1, May/June 2017: 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_s17_qp_21 ยท 2210_s17_ms_21
Topics in this paper
Which syllabus chapters 2210/21 May/June 2017 tested, by marks. Each chapter links to every past-paper question on it.
| Chapter | Questions | Marks |
|---|---|---|
| Scenario Question | 1 | 20 |
| Programming | 3 | 13 |
| Databases | 1 | 9 |
| Algorithm Design and Problem-Solving | 2 | 8 |
Questions in 2210/21 May/June 2017
- Question 1
(a) All variables, constants and other identifiers should have meaningful names. (i) Name two constants you used for Task 1 and state the value of each one. Constant 1 Value Constant 2 Value (ii) Name two arrays you used for โฆ
- Question 2
This section of program code asks for 50 numbers to be entered. The total and average of the numbers are calculated. 1 Total โฆ
- Question 3
A satellite navigation system works using destination details entered by the user, either a new destination or chosen from previously saved destinations. The satellite navigation system will then output directions to the destination in the form of either a visual โฆ
- Question 4
For each of the four statements in the table, place a tick in the correct column to show whether it is an example of validation or verification. Statements Validation Verification To automatically check the accuracy of a bar code To โฆ
- Question 5
(a) Describe the purpose of each statement in this algorithm. FOR I 1 TO 300 INPUT Name[I] NEXT I (b) Identify, using pseudocode, another loop structure that the algorithm in part (a) could have used. (c) Write an algorithm, using โฆ
- Question 6
This flowchart inputs a range of temperatures in degrees Fahrenheit. As each temperature is input, it is compared with the previous highest temperature. If it is higher than the current highest, it replaces the previous highest temperature and then it โฆ
- Question 7
A television (TV) store has a database table, TVSTOCK, for its new range of televisions. The table stores the screen size of each TV, whether it will show 3D, whether the screen is curved or flat, if the internet is โฆ