Cambridge O Level ยท 2210 ยท Paper 2 ยท Algorithms, programming & logic
Computer Science 2210/21 May/June 2018 past paper
Cambridge O Level Computer Science (2210) Paper 2 (Algorithms, programming & logic), variant 1, May/June 2018: 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_s18_qp_21 ยท 2210_s18_ms_21
Topics in this paper
Which syllabus chapters 2210/21 May/June 2018 tested, by marks. Each chapter links to every past-paper question on it.
| Chapter | Questions | Marks |
|---|---|---|
| Scenario Question | 1 | 20 |
| Programming | 2 | 12 |
| Algorithm Design and Problem-Solving | 2 | 10 |
| Databases | 1 | 8 |
Questions in 2210/21 May/June 2018
- Question 1
(a) All variables, constants and other identifiers should have meaningful names. (i) You recorded information for the estimate of the cost of building a computer in Task 1. Give a data structure that you created for Task 1, its name, โฆ
- Question 2
(a) Write an algorithm to input 1000 numbers. Count how many numbers are positive and how many numbers are zero. Then output the results. Use either pseudocode or a flowchart. (b) Give one change you could make to your algorithm โฆ
- Question 3
The global trade item number (GTIN-8) barcode has seven digits and a check digit. This pseudocode algorithm inputs seven digits and calculates the eighth digit, then outputs the GTIN-8. DIV(X,Y), finds the number of divides in division for example DIV(23,10) โฆ
- Question 4
A programmer has written a routine to check that prices are below $10.00. These values are used as test data. 10.00 9.99 ten Explain why each value was chosen. 10.00 9.99 ten
- Question 5
Explain the difference between the programming concepts of counting and totalling. Include an example of a programming statement for each concept in your explanation.
- Question 6
A database table, PERFORMANCE, is used to keep a record of the performances at a local theatre. Show Number Type Title Date Sold Out SN091 Comedy An Evening at Home 01 Sept Yes SN102 Drama Old Places 02 Oct No โฆ