Cambridge O Level ยท 2210 ยท Paper 2 ยท Algorithms, programming & logic
Computer Science 2210/23 Oct/Nov 2016 past paper
Cambridge O Level Computer Science (2210) Paper 2 (Algorithms, programming & logic), variant 3, Oct/Nov 2016: 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_w16_qp_23 ยท 2210_w16_ms_23
Topics in this paper
Which syllabus chapters 2210/23 Oct/Nov 2016 tested, by marks. Each chapter links to every past-paper question on it.
| Chapter | Questions | Marks |
|---|---|---|
| Programming | 4 | 39 |
| Databases | 1 | 8 |
| Algorithm Design and Problem-Solving | 1 | 3 |
Questions in 2210/23 Oct/Nov 2016
- Question 1
(a) All variables, constants and other identifiers should have meaningful names. For four of the variables, constants or arrays that you used in Task 1, state the name, data structure, data type and its use. Name 1 Data structure Data โฆ
- Question 2
Read this section of program code that: โข inputs 10 numbers โข checks whether each number is within a specified range โข totals the numbers within the range and outside the range 1 InRange โฆ
- Question 3
The flowchart below inputs the price of an item under $10. The change from a $10 note is output. Any amount less than 5 cents is rounded up to 5 cents. The predefined function INT rounds a number down to โฆ
- Question 4
Four validation checks and four descriptions are shown below. Draw a line to link each validation check to the correct description. Validation check Description Presence check Numbers between two given values are accepted Range check Data is of a particular โฆ
- Question 5
REPEAT UNTIL and WHILE DO ENDWHILE are two different loop structures you can use when writing pseudocode. Explain, using examples, why you would choose to use each type of loop. Example 1 Reason for choice Example 2 Reason for choice
- Question 6
A database, THEATRETOURS, was set up to show the tour dates, towns, number of seats and prices in local currency for a Shakespeare play. Town Tour Date Number of Seats Price Local Currency Wigan โฆ