Introduction True/False

  1. Python is a compiled language. (False)
  2. Python supports object-oriented programming. (True)
  3. Python has a small standard library. (False)

Basics True/False

  1. Python variables must be declared with a type. (False)
  2. 5 / 2 equals 2.5 in Python 3. (True)
  3. The 'or' operator returns True if both operands are True. (False)
  4. For loops can iterate over lists. (True)
  5. Functions in Python must return a value. (False)

Intermediate True/False

  1. Lists can be modified after creation. (True)
  2. Tuples use square brackets. (False)
  3. Dictionary keys must be unique. (True)
  4. Files opened with 'w' mode append to existing content. (False)
  5. Modules must be installed separately. (False)

Advanced True/False

  1. Classes can inherit from multiple classes in Python. (True)
  2. Try block must have an except block. (False)
  3. Binary search works on unsorted lists. (False)
  4. NumPy arrays are faster than lists for numerical operations. (True)
  5. Pandas is built on top of NumPy. (True)