Cambridge O Level ยท 2210 ยท Paper 2 ยท Algorithms, programming & logic
Computer Science 2210/22 Oct/Nov 2018 past paper
Cambridge O Level Computer Science (2210) Paper 2 (Algorithms, programming & logic), variant 2, Oct/Nov 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_w18_qp_22 ยท 2210_w18_ms_22
Topics in this paper
Which syllabus chapters 2210/22 Oct/Nov 2018 tested, by marks. Each chapter links to every past-paper question on it.
| Chapter | Questions | Marks |
|---|---|---|
| Programming | 3 | 30 |
| Databases | 2 | 11 |
| Algorithm Design and Problem-Solving | 1 | 9 |
Questions in 2210/22 Oct/Nov 2018
- Question 1
(a) All variables, arrays, constants and other identifiers should have meaningful names. (i) State the name of one variable you have used for Task 3. Give the data type for the variable. State what it is used for. Variable name โฆ
- Question 2
(a) Write an algorithm, using pseudocode, to input three different numbers, multiply the two larger numbers together and output the result. Use the variables: Number1, Number2 and Number3 for your numbers and Answer for your result. (b) Give two sets โฆ
- Question 3
Four programming concepts and four descriptions are shown. Draw a line to connect each programming concept to the most appropriate description. Function Procedure Structure diagram Library routine A subroutine that does not have to return a value. A standard subroutine โฆ
- Question 4
A programmer wants to test that the readings from 2000 electricity meters are greater than 400 units and less than 900 units. The programmer uses selection and repetition statements as part of the program. Explain, using programming statements, how selection โฆ
- Question 5
The flowchart checks the level of chlorine and the depth of water compared to the height of the swimming pool. Error messages are output if a problem is found. No No No No Yes Yes Yes Yes Yes No OUTPUT โฆ
- Question 6
A database table, PORTRAIT, is used to keep a record of the portraits available from a photographic studio. Each portrait has a unique reference number PICnnn, where n is a single digit, for example PIC123. The studio keeps a record โฆ