Algorithm Design and Problem-Solving | Cambridge IGCSE Computer Science (0478)

Guide overview All 10 topics Sample questions Papers and weighting Look inside Questions and answers

Algorithm Design and Problem-Solving

  • 97 questions
  • 5 subtopics
  • Paper 2

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.

Sample questions from Algorithm Design and Problem-Solving

Answer each one closed book first, then open the answer.

  1. The development life cycle and decomposition

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

    Show the answer
    The four stages are analysis, design, coding and testing.
  2. The development life cycle and decomposition

    What is a sub-system?

    Show the answer
    A sub-system is a smaller part of a computer system that performs one part of the overall task, and it can be divided into further sub-systems.
  3. Standard methods of solution

    How should the purpose of an algorithm be explained?

    Show the answer
    State what the algorithm achieves overall, then describe the processes it uses, such as its inputs, loops, decisions and outputs.
  4. Standard methods of solution

    How does an algorithm calculate an average?

    Show the answer
    The algorithm totals all the values and counts how many there are, then divides the total by the count.
  5. Validation and verification

    What is validation?

    Show the answer
    Validation is an automatic check by the computer that input data is reasonable and follows set rules before it is accepted.
  6. Validation and verification

    What is verification?

    Show the answer
    Verification is a check that data has been copied or entered accurately from its source.
  7. Test data and trace tables

    What is normal test data?

    Show the answer
    Normal test data is sensible data that the program should accept and process.
  8. Test data and trace tables

    A program accepts passwords of 8 to 12 characters. Give suitable test data of each type.

    Show the answer
    Normal data could be a 10-character password. Abnormal data could be a 3-character password. Extreme data has 8 or 12 characters. Boundary data has 7 and 8, or 12 and 13, characters.

The 5 subtopics

One subtopic is one session. Work down the list.

Subtopic What it covers Questions
The development life cycle and decomposition Analysis, design, coding and testing, abstraction and decomposition, structure diagrams, flowchart symbols and pseudocode. 15
Standard methods of solution Linear search, bubble sort, totalling, counting and finding the maximum, minimum and average, with pseudocode. 22
Validation and verification Range, length, type, presence, format and check digit validation, and visual and double entry verification. 22
Test data and trace tables Normal, abnormal, extreme and boundary test data, and dry-running algorithms with trace tables. 24
Finding errors and writing algorithms Syntax and logic errors, spotting and correcting mistakes in algorithms, and writing precise pseudocode. 14
Algorithm Design and Problem-Solving is 97 of the 848 questions in the guide.Get the guide, £7

How the guide is worked

Answering a question from memory stores it far better than reading the answer again. The guide runs that as a fixed procedure on one subtopic at a time, about twenty minutes a session.

  1. Step 1 · Closed book

    Cover the answers. Work through one subtopic and write down what you can. Leave blanks where you have nothing.

  2. Step 2 · Open book

    Go back to the top. Read each printed answer and write it out in full, including the ones you had right.

  3. Step 3 · Closed book again

    Same questions, same order, from memory. The gap between pass one and pass three is the session result.

Read the full method, the return schedule and the research behind it.

Around this topic

All 10 topics Guide overview

Cambridge IGCSE Computer Science Active Recall Guide

Algorithm Design and Problem-Solving and every other topic, with the answers printed after each section.

£7 GBP
Get the guide

Digital PDF, sent to the email address on your order.