Seneca

Runtime Error

Computer Science: Edexcel IGCSE, topic 2.1.6

Runtime Errors

Runtime errors are the hardest of the three types of errors. Runtime errors are not always found during development. Software users may first find runtime errors.

Runtime errors

Runtime errors

  • Runtime errors are errors that happen while the program is running.
  • Runtime errors cannot be found during translation.
  • Runtime errors can only be detected while a program is running.
  • The chance of having a runtime error can be reduced through testing.
Examples of runtime errors

Examples of runtime errors

  • Bad inputs that throw an unhandled exception.
  • Receiving unexpected or corrupted data.
  • Running out of memory.

Test yourself on Runtime Error

  • Why can runtime errors cause a lot of problems?

Practise this topic for free