Quiz Space

Software Testing · Quiz 1 · 15 Mar 2026 · January 2026 term

Question 7: Consider the following statements regarding structural gr…

Question 7

+5 marksOne correct option

Consider the following statements regarding structural graph coverage criteria, and choose the correct option. i) Prime paths are maximal simple paths. ii) Edge-pair coverage does not require self-loops to be visited. iii) Test paths to achieve node and edge coverage can be obtained by simple modifications to BFS algorithm over graphs.

  1. A

    Statement i) and iii) are correct. Statement ii) is incorrect.

  2. B

    Statement i) is correct. Statement ii) and iii) are incorrect.

  3. C

    Statement ii) and iii) are correct. Statement i) is incorrect.

  4. D

    Statement i) and ii) are correct. Statement iii) is incorrect.

Show answer

Correct answer

  • A

    Statement i) and iii) are correct. Statement ii) is incorrect.

Question 7 of 22 in the IIT Madras BS Software Testing (Software Testing) Quiz 1 paper sat on 15 Mar 2026, in the January 2026 term (Software Testing 15 Mar 26). It carries 5 marks.

More questions from this paper

  1. Q1In an organization, software quality is regarded as an important aspect. Therefore, test engineers carefully measure an…
  2. Q2Consider the following statements regarding software design and choose the correct option. i) A module encapsulates fun…
  3. Q3Which of the following options best describes the difference between test requirements and test cases?
  4. Q4Consider the following statements regarding test automation with JUnit and choose the correct option. i) JUnit does not…
  5. Q5In the approach for integration testing, all individually tested modules are put together to construct the entire syste…
  6. Q6Consider an email client application that sends a request to a mail server, the mail server then responds with new emai…
  7. Q8Which of the following types of testing is done by end customer to ensure that the delivered products meets the committ…
  8. Q9The _ in a control flow graph (CFG) represents the minimum number of paths required for basis path testing. Fill in the…
  9. Q10Which of the following graph coverage criteria is equivalent to transition coverage on a finite state machine (FSM)?
  10. Q11Edge coverage on a CFG is equivalent to which of the following classical coverage criteria?
  11. Q12Which of the following options represent a valid condition for a DD-path in a control flow graph (CFG)?
  12. Q13Prime path coverage subsumes which of the following coverage criteria for control and data flow graphs?
  13. Q14Consider the following Java code for class, there are some faults in the implementation. The method needs to be tested …
  14. Q15How many test requirements are there for edge-pair coverage?
  15. Q16How many test requirements are there for prime path coverage?
  16. Q17What is the cyclomatic complexity of the given CFG?
  17. Q18Consider the following data flow graph, and answer the subsequent questions. How many test requirements are there for A…
  18. Q19Consider the following data flow graph, and answer the subsequent questions. How many test requirements are there for A…
  19. Q20Consider the following data flow graph, and answer the subsequent questions. How many unique du-paths are there for var…
  20. Q21Consider the control flow graph (CFG), , where • Set of vertices • Set of edges • Initial vertex • Final vertex Based o…
  21. Q22Consider the following data flow graph, and answer the subsequent questions.