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