Cambridge IGCSE ยท 0478 ยท Paper 2 ยท Algorithms, programming & logic
Computer Science 0478/22 May/June 2021 past paper
Cambridge IGCSE Computer Science (0478) Paper 2 (Algorithms, programming & logic), variant 2, May/June 2021: the question paper and its official mark scheme, 6 questions worth 50 marks, with the grade thresholds. Free to open, no account needed.
- Questions
- 6
- Marks
- 50
- Grade A from
- 26
File names: 0478_s21_qp_22 ยท 0478_s21_ms_22
Grade thresholds for 0478/22 May/June 2021
The minimum raw marks Cambridge set for each grade on this component (out of 50). Thresholds change every session and variant, so always compare your score with the paper you actually sat.
| A | B | C | D | E | F | G |
|---|---|---|---|---|---|---|
| 26 | 20 | 15 | 12 | 10 | 7 | 4 |
Topics in this paper
Which syllabus chapters 0478/22 May/June 2021 tested, by marks. Each chapter links to every past-paper question on it.
| Chapter | Questions | Marks |
|---|---|---|
| Scenario Question | 1 | 20 |
| Databases | 3 | 16 |
| Algorithm Design and Problem-Solving | 2 | 14 |
Questions in 0478/22 May/June 2021
- Question 1
All variables, constants and other identifiers must have meaningful names. (a) Identify and give the data type and use of one array that you could have used for Task 1. Array Data type Use (b) Describe two validation checks that โฆ
- Question 2
(a) Write an algorithm in pseudocode to input 500 positive whole numbers. Each number input must be less than 1000. Find and output the largest number input, the smallest number input and the range (difference between the largest number and โฆ
- Question 3
(a) Draw the most appropriate flowchart symbol for each pseudocode statement. Pseudocode statement Flowchart symbol IF Number = 20 PRINT Number Number โ Number โฆ
- Question 4
This algorithm checks passwords. โข Each password must be 8 or more characters in length; the predefined function Length returns the number of characters. โข Each password is entered twice, and the two entries must match. โข Either Accept or โฆ
- Question 5
A one-dimensional array dataArray[1:20] needs each element set to zero. (a) Write a pseudocode routine that sets each element to zero. Use the most suitable loop structure. (b) Explain why you chose this loop structure.
- Question 6
A database table, PLANT, is used to keep a record of plants sold by a nursery. The table has these fields: โข NAME โ name of plant โข FLOWER โ whether the plant flowers (True) or not (False) โข POSITION โฆ
Other Computer Science papers from May/June 2021
- 0478/11 Computer systems
- 0478/12 Computer systems
- 0478/13 Computer systems
- 0478/21 Algorithms, programming & logic
- 0478/23 Algorithms, programming & logic