Specialty Digest

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

Flashcards: open the module flashcards (end-of-module review with workplace questions).

Online Courses / University Track / Python from Zero

Module 7 · Practice

Practice set: errors, testing and debugging

Quick questions on the whole module, with instant feedback.

  • 35 minutes
  • Instant feedback
  • Unlimited attempts

35 minutes. Instant-marked. Unlimited attempts. Each answer is marked as soon as you choose it, with an explanation. Nothing is saved in this course.

P1. The error 10 / 0 gives is:

P2. int("x") gives:

P3. d = {}; d["a"] gives:

P4. A traceback is read from:

P5. A bare except: is poor because it:

P6. assert 2 + 2 == 5 gives:

P7. A boundary test for a pass mark of 50 includes:

P8. The best first step in debugging is to:

Review with flashcards

Test yourself on this module with workplace flashcards and detailed answers.

Open the module flashcards