Cambridge IGCSE ยท 0478 ยท Paper 2 ยท Algorithms, programming & logic
Computer Science 0478/21 May/June 2024 past paper
Cambridge IGCSE Computer Science (0478) Paper 2 (Algorithms, programming & logic), variant 1, May/June 2024: the question paper and its official mark scheme, 10 questions worth 103 marks. Free to open, no account needed.
- Questions
- 10
- Marks
- 103
File names: 0478_s24_qp_21 ยท 0478_s24_ms_21
Topics in this paper
Which syllabus chapters 0478/21 May/June 2024 tested, by marks. Each chapter links to every past-paper question on it.
| Chapter | Questions | Marks |
|---|---|---|
| Databases | 3 | 49 |
| Algorithm Design and Problem-Solving | 4 | 26 |
| Scenario Question | 1 | 15 |
| Boolean Logic | 1 | 9 |
| Programming | 1 | 4 |
Questions in 0478/21 May/June 2024
- Question 1
Tick (รผ) one box to complete this sentence. A validation check to make sure that an email address contains an โ@โ sign is a A range check. B visual check. C presence check. D format check.
- Question 2
Four descriptions of programming concepts and five programming concepts are shown. (a) Draw one line to link each description to the most appropriate programming concept. Not all programming concepts will be used. Description Programming concept a subroutine that may not โฆ
- Question 3
State what is meant by the data types integer and real. Give an example of each. Integer Example Real Example
- Question 4
This pseudocode algorithm is intended to allow, at random, between 1 and 20 values to be entered and totalled. The total and average of the entered values are output at the end of the algorithm. 01 DECLARE Loop : STRING โฆ
- Question 5
Write the pseudocode statements to perform this task: โข accept the input of a whole number from 1 to 4 inclusive โข use a CASE statement to: โ output the number (1 to 4 inclusive) that was entered โ output โฆ
- Question 6
The flowchart represents an algorithm. INPUT Limit Count 1 No START STOP OUTPUT Numbers[Result] INPUT Numbers[Count] Result Limit DIV โฆ
- Question 7
(a) Outline why it is useful to store data in a file. (b) The function LENGTH(X) calculates the length of a string X Write the pseudocode statements to: โข read the contents of the text file Quotation.txt into an appropriate โฆ
- Question 8
Consider the logic expression: โฆ
- Question 9
A database table called SoftDrinks stores details of the soft drinks sold by a small shop. Field Example data Name Cola Supplier Cambridge Beverages Container Can SizeCl 330 NumberInStock 30 ReorderLevel 15 Reordered Yes (a) State whether any of the โฆ
- Question 10
The one-dimensional (1D) array Clubs[] is used to store the names of 12 cricket clubs in a local sports league. The two-dimensional (2D) array Statistics[] is used to store, for each cricket club, the number of: โข matches won โข โฆ
Other Computer Science papers from May/June 2024
- 0478/11 Computer systems
- 0478/12 Computer systems
- 0478/13 Computer systems
- 0478/22 Algorithms, programming & logic
- 0478/23 Algorithms, programming & logic