2.1.21

Runtime Errors

Test yourself

Runtime Errors

Runtime errors are the trickiest of the three types of errors because they are not always found during development. Software users may first encounter runtime errors.

Illustrative background for Runtime errorsIllustrative background for Runtime errors ?? "content

Runtime errors

  • Runtime errors are errors that happen while the program is running.
  • Runtime errors cannot be found during translation.
  • These errors can only be detected while a program is running.
  • The chance of experiencing a runtime error can be reduced through testing.
Illustrative background for Examples of runtime errorsIllustrative background for Examples of runtime errors ?? "content

Examples of runtime errors

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

Jump to other topics

1Computational Thinking & Algorithms

2Programming

3Hardware & Software

4Data

5The Internet

6Online Safety & Security

Go student ad image

Unlock your full potential with GoStudent tutoring

  • Affordable 1:1 tutoring from the comfort of your home

  • Tutors are matched to your specific learning needs

  • 30+ school subjects covered

Book a free trial lesson