Quiz Space

Software Testing · Quiz 2 · 1 Dec 2024 · September 2024 term

Question 17: How many prime paths are present in the given CFG?

Question 17

+6 marksOne correct option

Based on the above data, answer the given subquestions.

How many prime paths are present in the given CFG?

  1. A

    6

  2. B

    7

  3. C

    8

  4. D

    9

Show answer

Correct answer

  • D

    9

Question 17 of 18 in the IIT Madras BS Software Testing (Software Testing) Quiz 2 paper sat on 1 Dec 2024, in the September 2024 term (IIT M DEGREE AN EXAM QDB2 01 Dec 2024). It carries 6 marks.

More questions from this paper

  1. Q1Which of the following types of blackbox testing is most suitable for handling multiple inputs by considering different…
  2. Q2Consider the following annotated CFG.
  3. Q3Which of the following testing types evaluates the user interface, aesthetics, etc. of a software product?
  4. Q4Match the following from the perspective of different kinds of couplings based on the interfaces.
  5. Q5How many test cases are required to achieve predicate coverage over a predicate with n clauses?
  6. Q6Suppose we need to test a program that takes a number of integers as input. The minimum and maximum numbers of integers…
  7. Q7Consider input space partitioning (ISP) for a program that computes the scholarship amount to be disbursed to the schoo…
  8. Q8Figure question
  9. Q9Consider the method below: Consider the problem of finding a set of test cases which satisfies RICC for the method comp…
  10. Q10Consider the CFG given below. From among the given options, identify the code segment that can be correctly presented b…
  11. Q11Consider the following code segment. Based on the above data, answer the given subquestions. At LINE-1, two instances o…
  12. Q12Consider the following code segment. Based on the above data, answer the given subquestions. Suppose the DART technique…
  13. Q13Consider the following code segment. Based on the above data, answer the given subquestions. From among the following, …
  14. Q14From among the options, identify the one that covers all the CACC pairs for the clause a.
  15. Q15From among the options, identify the one that covers all the RACC pairs for the clause a.
  16. Q16What are the minimum numbers of test paths required for node coverage and edge coverage of the given CFG?
  17. Q18Identify the set of test paths that provides prime path coverage.