Quiz Space

Software Testing · Quiz 1 · 16 Jul 2023 · May 2023 term

Question 7: Consider the following control flow graph (CFG). From the…

Question 7

+8 marksOne correct option

Consider the following control flow graph (CFG).

From the following code segments identify the one that is best presented by the given CFG.

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • D

Question 7 of 17 in the IIT Madras BS Software Testing (Software Testing) Quiz 1 paper sat on 16 Jul 2023, in the May 2023 term (IIT M DEGREE AN2 EXAM QPE2 16 JULY 2023). It carries 8 marks.

More questions from this paper

  1. Q1Consider the control flow graph (CFG) below. What are the minimum numbers of test paths are required for node and edge …
  2. Q2Match the following.
  3. Q3Consider the CFG given below and answer the subquestions. Find the number of test requirements for edge pair coverage.
  4. Q4Consider the CFG given below and answer the subquestions. Find the number of simple paths.
  5. Q5Consider the CFG given below and answer the subquestions. Find the number of prime paths.
  6. Q6Figure question
  7. Q8Figure question
  8. Q9Consider the finite state machine (FSM) as given below. Identify the statement that correctly describes the given FSM.
  9. Q10Figure question
  10. Q11Consider the CFG given below. Identify the number of linearly independent paths.
  11. Q12Figure question
  12. Q13Identify the statement(s) that are true about graph coverage criteria.
  13. Q14Consider the annotated CFG given below and answer the subquestions. How many du-pairs are there for the variable z?
  14. Q15Consider the annotated CFG given below and answer the subquestions. How many unique du-paths are there for the variable…
  15. Q16Which of the following integration testing techniques may use scaffolding?
  16. Q17Consider the annotated CFG given below. Identify the test case input(s) that test the path [s, v, x, y, z].