Specialty Digest

Global English editionLearners’ Study Dashboard — in development
The Knowledge Library for All

Online Courses / University Track / Python from Zero

Module 7 of 8

Errors, Testing and Debugging

Read error messages, handle expected failures, test with answers worked out by hand and fix faults with a method rather than by guessing.

  • 6 hours
  • Outcomes O5
  • Checkpoint: 80% to unlock Module 8

Big idea. Programs fail; what matters is that you can read the failure, handle the expected ones, test the edges and fix the cause once.

Outcomes served. O5 (test and debug programs).

Plan your six hours

Assumed. Modules 1 to 6: variables, decisions, loops, collections, functions and files.

Where this topic appears in practice. A failed payment, a crashed report and a wrong total all start as errors. This module shows how to read, handle, test and fix them.

Privacy. Your answers stay with you. This course does not store, collect or send anything you write or tick.