Quiz Space

Software Testing · Quiz 2 · 6 Aug 2023 · May 2023 term

Software Testing Quiz 2 6 Aug 2023 — Question 17

Question 17

+5 marksOne correct option

Find the cyclomatic complexity of the function fact.

  1. A

    2

  2. B

    3

  3. C

    4

  4. D

    5

Show answer

Correct answer

  • B

    3

Question 17 of 19 in the IIT Madras BS Software Testing (Software Testing) Quiz 2 paper sat on 6 Aug 2023, in the May 2023 term (IIT M DEGREE AN3 EXAM QPE3 06 Aug 2023). It carries 5 marks.

More questions from this paper

  1. Q1Identify the predicate(s) which are tautology.
  2. Q2Figure question
  3. Q3Identify all pairs of rows from your table that satisfy Correlated Active Clause Coverage (CACC) with respect to clause…
  4. Q4Identify all pairs of rows from your table that satisfy Restricted Active Clause Coverage (RACC) with respect to clause…
  5. Q5Identify all pairs of rows from your table that satisfy Restricted Inactive Clause Coverage (RICC) with respect to clau…
  6. Q6Figure question
  7. Q7At LINE-1 two instances of symbolic execution are created. Identify the path constraints applicable to those.
  8. Q8Suppose that DART technique is applied for testing the code. Identify the path constraint that represents an equivalenc…
  9. Q9From among the following identify the set of concrete test inputs that all the instances of symbolic execution.
  10. Q10A software organization wants to develop a file sharing platform for its customers. As a part of requirement gathering …
  11. Q11In which kind of functional testing multiple test inputs are selected by considering different combinations of equivale…
  12. Q12What is the minimum number of tests required to satisfy each choice coverage (ECC) criterion?
  13. Q13What is the minimum number of tests required (considering same test case to cover more than one unique pair of values) …
  14. Q14Suppose the base choice test is (annualIncome = 2LK, age = 20, gender = ’MALE’). What is the minimum number of tests re…
  15. Q15Figure question
  16. Q16Which of the graph coverage criteria is applicable to FSM (Finite State Machine) to execute every state?
  17. Q18Find the number of test requirements for prime path coverage.
  18. Q19Figure question