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

Unlock your full potential with Seneca Premium

  • Unlimited access to 10,000+ open-ended exam questions

  • Mini-mock exams based on your study history

  • Unlock 800+ premium courses & e-books

Get started with Seneca Premium