Cambridge IGCSE ยท 0478 ยท Paper 2 ยท Algorithms, programming & logic
Computer Science 0478/21 May/June 2023 past paper
Cambridge IGCSE Computer Science (0478) Paper 2 (Algorithms, programming & logic), variant 1, May/June 2023: the question paper and its official mark scheme, 11 questions worth 75 marks, with the grade thresholds. Free to open, no account needed.
- Questions
- 11
- Marks
- 75
- Grade A from
- 43
File names: 0478_s23_qp_21 ยท 0478_s23_ms_21
Grade thresholds for 0478/21 May/June 2023
The minimum raw marks Cambridge set for each grade on this component (out of 75). Thresholds change every session and variant, so always compare your score with the paper you actually sat.
| A | B | C | D | E | F | G |
|---|---|---|---|---|---|---|
| 43 | 31 | 20 | 16 | 13 | 10 | 7 |
Topics in this paper
Which syllabus chapters 0478/21 May/June 2023 tested, by marks. Each chapter links to every past-paper question on it.
| Chapter | Questions | Marks |
|---|---|---|
| Databases | 3 | 23 |
| Algorithm Design and Problem-Solving | 3 | 16 |
| Boolean Logic | 2 | 16 |
| Scenario Question | 1 | 15 |
| Programming | 2 | 5 |
Questions in 0478/21 May/June 2023
- Question 1
(a) Four descriptions of stages in the program development life cycle are shown. Draw one line to link each description to its most appropriate program development life cycle stage. Not all program development life cycle stages will be used. Program โฆ
- Question 2
Tick (รผ) one box to show the name of the data structure used to store a collection of data of the same data type. A Array B Constant C Function D Variable
- Question 3
(a) Describe what is meant by data validation. (b) A validation check is used to make sure that any value that is input is an integer between 30 and 200 inclusive. Give one example of each type of test data โฆ
- Question 4
Explain the purpose of the library routines DIV and ROUND DIV ROUND
- Question 5
An algorithm has been written in pseudocode to allow some numbers to be input. All the positive numbers that are input are totalled and this total is output at the end. An input of 0 stops the algorithm. 01 Exit โฆ
- Question 6
State two features that should be included to create a maintainable program. Give a reason why each feature should be used. 1 2
- Question 7
The flowchart represents an algorithm. START INPUT Letter INPUT Choice OUTPUT "Another Letter? (Y or N)" OUTPUT "Letter ", Letter, " is represented by ", Word[Pointer, 2] IS Choice โฆ
- Question 8
The function LENGTH(Phrase) calculates the length of a string Phrase (a) Write the pseudocode statements to: โข store the string "The beginning is the most important part" in Phrase โข calculate and output the length of the string โข output โฆ
- Question 9
Consider this logic expression. Z = (NOT A OR B) AND (B XOR C) (a) Draw a logic circuit for this logic expression. Each logic gate must have a maximum of two inputs. Do not simplify this logic expression. โฆ
- Question 10
A database table called TVRange shows the main features and prices of a range of televisions. TVCode ScreenSize Satellite SmartTV SoundBar Price$ TV90SaSmSd 90 YES YES YES 9750.00 TV75SaSmSd 75 YES YES YES 8500.00 TV75SaSd 75 YES NO YES 8000.00 โฆ
- Question 11
A one-dimensional (1D) array Days[] contains the names of the days of the week. A two-dimensional (2D) array Readings[] is used to store 24 temperature readings, taken once an hour, for each of the seven days of the week. A โฆ
Other Computer Science papers from May/June 2023
- 0478/11 Computer systems
- 0478/12 Computer systems
- 0478/13 Computer systems
- 0478/22 Algorithms, programming & logic
- 0478/23 Algorithms, programming & logic