SuperExamsSuperExams
Search papers…
Menu
DashboardBrowse papersRevision notesBooksSavedRevision packsFlashcardsMy progressAchievementsAI TutorMy classMessages
Back to dashboard

Unlock worked solutions

Step-by-step answers by examiners. From €5/mo.

Try Premium free →
← Computer Science notes
Edexcel IGCSE·Computer Science·IGCSE Computer Science

Testing, Errors & Robust Programs

12 min read

Error types, test data, validation and verification, and writing robust, maintainable code.

Types of error

    Syntax error — code breaks the rules of the language (e.g. missing bracket); the program will not run.
    Logic error — the program runs but gives the wrong result (e.g. + instead of *).
    Runtime error — the program crashes while running (e.g. dividing by zero, array out of range).
Syntaxwon't runLogicwrong outputRuntimecrashes mid-run The three error types tested by Edexcel 4CP0
The three error types: syntax, logic and runtime

Viewing only

This content is free to read on superexams.com and cannot be printed or downloaded.

Read the full note, free

Create a free account to read this note in full. Every free account gets 2 complete revision notes, no card needed.

Sign up free →Log in

More Computer Science notes

Computational Thinking & Algorithms

Flowcharts & Pseudocode

Programming Concepts

Selection & Iteration