Quiz Space

Software Testing · End Term · 13 Apr 2025 · January 2025 term

Question 19: Which of the following is a def-clear path with respect …

Question 19

+4 marksOne correct option

Consider the following annotated control flow graph (CFG) and answer the given subquestions.

Which of the following is a def-clear path with respect to variable y?

  1. A

    [1, 2, 4, 5, 7]

  2. B

    [1, 2, 4, 6, 7]

  3. C

    [1, 3, 4, 5, 7]

  4. D

    [1, 3, 4, 6, 7]

Show answer

Correct answer

  • B

    [1, 2, 4, 6, 7]

Question 19 of 22 in the IIT Madras BS Software Testing (Software Testing) End Term paper sat on 13 Apr 2025, in the January 2025 term (IIT M IMPROVEMENT AN EXAM QIM3 13 Apr 2025). It carries 4 marks.

More questions from this paper

  1. Q1A user fills out a web form and clicks the “Submit” button. This action causes the application to transition from the f…
  2. Q2An online booking system requires users to provide a “check-in date” and a “check-out date” while reserving a hotel roo…
  3. Q3Which type of testing is performed by suddenly increasing the number of users to a very large amount in order to measur…
  4. Q4Which of the following metrics is categorized as a Maintenance Quality Metric?
  5. Q5Consider the following method: double root(int a, int b, int c). Identify the type of the mutation operator.
  6. Q6Why is Test-Driven Development (TDD) ideal for pair programming?
  7. Q7In a ride-sharing application, the User Module sends a ride request to the Driver Module via a central messaging servic…
  8. Q8Figure question
  9. Q9Figure question
  10. Q10Figure question
  11. Q11Consider the prime path P = [1, 2, 4, 5]. Among the options given, identify the path that tours P with a sidetrip but n…
  12. Q12Figure question
  13. Q13Figure question
  14. Q14Figure question
  15. Q15Figure question
  16. Q16Consider the following Java method below with a mutant indicated in the comments and answer the given subquestions.
  17. Q17Consider the following Java method below with a mutant indicated in the comments and answer the given subquestions.
  18. Q18Consider the following Java method below with a mutant indicated in the comments and answer the given subquestions.
  19. Q20Which of the following statements is true about the set of testpaths {[1, 2, 4, 6, 7], [1, 2, 4, 5, 7]} ?
  20. Q21Based on the above data, answer the given subquestions.
  21. Q22From the given options, identify all pairs of test requirements to satisfy the restricted inactive clause coverage (RIC…