Start learning →

Catch the true tests

Exercise and reference answers

Items
  1. Matches the category
    Yes
    Item
    x == 5
  2. Matches the category
    Yes
    Item
    a > b
  3. Matches the category
    Yes
    Item
    not done
  4. Matches the category
    Yes
    Item
    p and q
  5. Matches the category
    No
    Item
    x = 5
  6. Matches the category
    No
    Item
    print(x)
  7. Matches the category
    No
    Item
    y += 1
  8. Matches the category
    No
    Item
    import os
Category
Python
Instructions
Catch the things that give True or False. Let the rest fall.

Explanation

_Source: OpenStax Introduction to Python Programming, Chapter 4._
Continue learning with Quill →

Browse more CS Olympiad questions and exercises →