Starter quiz

  • In Python, which keyword allows you to create a block of code that only executes when a certain condition is true?
    • 'if' ✓
  • Which `if` statement would correctly check if the variable score is greater than or equal to 80?
    • `if score >= 80:`  ✓
    • `if score > 80:`
    • `if score = 80:`
    • `if score <= 80:`
  • Which of the following is correct when describing nested `if` statements?
    • The first condition needs to be `False` before the next condition can be run.
    • The first condition needs to be `True` before the next condition can be run.  ✓
  • The `=` symbol in Python is used for ...
    • equations.
    • assignment.  ✓
    • comparison.
  • What keyword is used in Python to output text to the user?
    • 'print' ✓
  • S______ is used when there is more than one possible path for a program to follow.
    • 'Selection' ✓
+