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 2 · Practice

Practice set: decisions

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. What does print(6 == 6) display?

P2. Which symbol stores a value?

P3. The block under if runs when the condition is:

P4. With x = 3, what does if x > 5: print("A") else: print("B") display?

P5. With score = 65, if score >= 80: A, elif score >= 60: B, else C displays:

P6. True and False is:

P7. not False is:

P8. For age >= 18, which age tests the boundary exactly?

Review with flashcards

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

Open the module flashcards