Cambridge O Level ยท 2210 ยท Paper 2 ยท Algorithms, programming & logic
Computer Science 2210/22 Oct/Nov 2017 past paper
Cambridge O Level Computer Science (2210) Paper 2 (Algorithms, programming & logic), variant 2, Oct/Nov 2017: 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_w17_qp_22 ยท 2210_w17_ms_22
Topics in this paper
Which syllabus chapters 2210/22 Oct/Nov 2017 tested, by marks. Each chapter links to every past-paper question on it.
| Chapter | Questions | Marks |
|---|---|---|
| Programming | 2 | 23 |
| Algorithm Design and Problem-Solving | 3 | 17 |
| Databases | 1 | 10 |
Questions in 2210/22 Oct/Nov 2017
- Question 1
(a) All variables, constants and other identifiers should have meaningful names. (i) For one variable that you have used to record the information about a single boat in Task 1, state the name, data type and its use. Variable name โฆ
- Question 2
Write an algorithm using either pseudocode or a flowchart, to: โข input a positive integer โข use this value to set up how many other numbers are to be input โข input these numbers โข calculate and output the total โฆ
- Question 3
The following diagram shows four data structures and four descriptions. Draw a line to connect each data structure to the correct description. Data structure Description Constant A collection of related data Array A value that can change whilst a program โฆ
- Question 4
IF THEN ELSE ENDIF is one type of conditional statement used when writing pseudocode. Identify and describe another type of conditional statement that you could use when writing pseudocode. Give a reason why you would use this type of conditional โฆ
- Question 5
(a) This flowchart checks a batch of 10 rice sacks for weight. Sacks should weigh 50 kilograms each. Sacks weighing over 50.5 kilograms or less than 49.5 kilograms are rejected. The number of sacks accepted and the number of sacks โฆ
- Question 6
A database table, TRAIN, is to be set up for a railway company to keep a record of the engines available for use. Each engine has a unique number made up of 5 digits, nnnnn. The engines are classified as โฆ