What is the minimum number of test cases required for 100% statement coverage and 100% decision coverage, respectively?

Given the following flow chart diagram:

  • A. Statement Coverage = 1, Decision Coverage = 3.
  • B. Statement Coverage = 2, Decision Coverage = 3.
  • C. Statement Coverage = 2, Decision Coverage = 2.
  • D. Statement Coverage = 3, Decision Coverage = 3

Answer: Option C