levo

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.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

What does each flowchart symbol represent?

Process

Identify the inputs, processes, outputs and storage for a program that calculates a shop's daily takings

Key term

Show the list 5, 3, 8, 1 after each pass of a bubble sort into ascending order

Key term

A program accepts whole numbers from 1 to 100. Give one example of each type of test data

Key term

A program accepts whole numbers from 18 to 65. Give suitable test data of each type

Key term

A program accepts percentages from 0 to 100. Give suitable test data of each type

Key term

A loop is written WHILE Count < 5 DO OUTPUT Count ENDWHILE, after Count ← 0. Why does it never stop?

Key term

What is validation?

Key term

How should the purpose of an algorithm be explained?

Key term

Why is validation needed?

Key term

What is a syntax error?

Process

What are the four stages of the program development life cycle?

Process

How does a bubble sort work?

Key term

What is a type check?

Key term

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. 1

    What are the four stages of the program development life cycle?

    Model answer

    The four stages are analysis, design, coding and testing.

  2. 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. 3

    What is abstraction?

    Model answer

    Abstraction is removing unnecessary detail from a problem so that only the important parts are considered.

  4. 4

    What is decomposition?

    Model answer

    Decomposition is breaking a complex problem down into smaller parts that are easier to solve.

  5. 5

    What happens in the design stage?

    Model answer

    The solution is planned using decomposition, structure diagrams, flowcharts and pseudocode.

  6. 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.

1Flash
2Imposter
3Fade
4Brain dump

Learn every subtopic in runs of four questions

Facts flash and fade, a wrong word hides in some of them, and a brain dump decides which questions are locked in.

Data Representation
Data Transmission
Hardware
Software

Cram the night before, weakest topic first

A quick scan finds your weakest topics. Recall each fact you missed three times in a row.

A robot is .
programmableportablehumanoid

Blank Blitz consolidates the facts

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

✓What it iscovered
~Why it happenspartly there
How long it lastsnot there yet

Explain It tests your understanding

Explain a concept in your own words and see which of its points you covered.

A nibble is 4 bits. A byte is 8 bits.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The faults are the mistakes students make most often.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

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.