Cambridge IGCSE Computer Science 0478
Data Representation
Data Transmission
Hardware
Software
The Internet and Its Uses
Automated and Emerging Technologies
Algorithm Design and Problem-Solving
Programming
Algorithm Design and Problem-Solving
- 5 subtopics
- 15 things to know
- Paper 2
Learn Algorithm Design and Problem-Solving in runs of four questions, then keep it with spaced repetition.
What Algorithm Design and Problem-Solving covers
Algorithm Design and Problem-Solving is examined in Paper 2 (Algorithms, Programming and Logic). It covers the development life cycle and decomposition; standard methods of solution; validation and verification; test data and trace tables; and finding errors and writing algorithms.
Where it is assessed
Paper 2
Computer Science 0478: Paper 2 Algorithms, Programming and Logic (1 hour 45 minutes, 50%).
Check the Cambridge specification ↗The 5 subtopics
Each one has its own page.
- The development life cycle and decompositionAnalysis, design, coding and testing, abstraction and decomposition, structure diagrams, flowchart symbols and pseudocode.Open →
- Standard methods of solutionLinear search, bubble sort, totalling, counting and finding the maximum, minimum and average, with pseudocode.Open →
- Validation and verificationRange, length, type, presence, format and check digit validation, and visual and double entry verification.Open →
- Test data and trace tablesNormal, abnormal, extreme and boundary test data, and dry-running algorithms with trace tables.Open →
- Finding errors and writing algorithmsSyntax and logic errors, spotting and correcting mistakes in algorithms, and writing precise pseudocode.Open →
What you need to know
Answer each one before you reveal it.
Identify the inputs, processes, outputs and storage for a program that calculates a shop's daily takings
Show the list 5, 3, 8, 1 after each pass of a bubble sort into ascending order
A program accepts whole numbers from 1 to 100. Give one example of each type of test data
A program accepts whole numbers from 18 to 65. Give suitable test data of each type
A program accepts percentages from 0 to 100. Give suitable test data of each type
A loop is written WHILE Count < 5 DO OUTPUT Count ENDWHILE, after Count ← 0. Why does it never stop?
What is validation?
How should the purpose of an algorithm be explained?
Why is validation needed?
What is a syntax error?
What are the four stages of the program development life cycle?
How does a bubble sort work?
What is a type check?
What is a logic error?
Take Algorithm Design and Problem-Solving further
The same content, four other ways.
Commonly confused
Pairs that lose marks when they are blurred together.
Validation vs Verification
Validation: automatic check that data is reasonable. Verification: check that data has been entered accurately from its source.
Extreme data vs Boundary data
Extreme data: only the largest or smallest value that is accepted. Boundary data: a pair of values, one on each side of a limit.
Normal data vs Abnormal data
Normal data: sensible data that is accepted. Abnormal data: data that should be rejected.
Questions from this topic
Each one with the model answer underneath.
- 1
What are the four stages of the program development life cycle?
Model answer
The four stages are analysis, design, coding and testing.
- 2
What happens in the analysis stage?
Model answer
The problem is identified and its requirements are stated. Abstraction and decomposition are used to understand the problem.
- 3
What is abstraction?
Model answer
Abstraction is removing unnecessary detail from a problem so that only the important parts are considered.
- 4
What is decomposition?
Model answer
Decomposition is breaking a complex problem down into smaller parts that are easier to solve.
- 5
What happens in the design stage?
Model answer
The solution is planned using decomposition, structure diagrams, flowcharts and pseudocode.
- 6
What happens in the coding stage?
Model answer
The program code is written, and each module is tested as it is written, which is called iterative testing.
Everything in your subscription
Runs, plus a mode for every other kind of session.
Algorithm Design and Problem-Solving revision questions
- What does Algorithm Design and Problem-Solving cover in Cambridge IGCSE Computer Science?
- 5 subtopics: the development life cycle and decomposition, standard methods of solution, validation and verification, test data and trace tables and finding errors and writing algorithms. Each one has its own page with questions and model answers.
- How is Algorithm Design and Problem-Solving organised?
- By the Cambridge 0478 specification, subtopic by subtopic, so it matches the order you are taught it in.
Every question in Algorithm Design and Problem-Solving, on a schedule.
Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.
Or £46 a year, about £3.83 a month. Cancel anytime.