Question 1

In what situations are assertions most effective?
  • Question 2

    A Python script is crashing randomly. The team uses the logging module with custom formats and severity levels. They identify repeated IndexError incidents logged at the ERROR level.
    Which strategies are most likely helping them trace the issue?
  • Question 3

    Which of the following best describes the primary objective of software testing?
  • Question 4

    Which test double mimics a real implementation but has reduced complexity and is used in integration testing?
  • Question 5

    Which of the following is an example of a static testing activity?