Indian Institute of Technology Madras
BS Degree Programme · Examination & Study Paper
Software Testing
Quiz 1 · 26 Oct 2025 (Afternoon)
Examination Instructions & Guidelines
- Solve on notebook/paper first before checking solutions.
- MCQ: Exactly 1 option is correct. Negative marking applies.
- MSQ: One or more options correct. Select all to score.
- Scientific calculator allowed for all calculations.
- Official answer key is sealed at the end of this sheet.
- Q1MCQ5 Marks·Choose one option
In an organization, software testers always look for failures in the software product due to which they have an adversarial relationship with the software developers. Considering this scenario, identify the maximum process maturity level of this organization.
- ALevel 1
- BLevel 2
- CLevel 3
- DLevel 4
- Q2MCQ5 Marks·Choose one option
Consider the following statements and choose the correct option. i) Prime path coverage subsumes node and edge coverage. ii) Prime path coverage does not subsume edge-pair coverage.
- AStatement i) is correct and Statement ii) is incorrect.
- BStatement ii) is correct and Statement i) is incorrect.
- CBoth statements are incorrect.
- DBoth statements are correct.
- Q3MCQ5 Marks·Choose one option
Which of the following are required to create a test case?
- ATest inputs and actual outputs
- BTest inputs and expected outputs
- CActual outputs and expected outputs
- DTest inputs only
- Q4MCQ5 Marks·Choose one option
Consider the following statements and choose the correct option. i) In JUnit, each test is embedded into one test method. ii) JUnit can be used for unit, integration as well as system testing.
- AStatement i) is correct and Statement ii) is incorrect.
- BStatement ii) is correct and Statement i) is incorrect.
- CBoth statements are incorrect.
- DBoth statements are correct.
- Q5MCQ5 Marks·Choose one option
A ____________ is a skeletal implementation of a software module, used to develop or test a component that calls the stub or depends on it. Fill in the blank with correct option.
- Atest method
- Btest driver
- Ctest stub
- Dtest suite
- Q6MCQ5 Marks·Choose one option

- AShared memory interface
- BProcedure call interface
- CMessage passing interface
- DExternal file interface
- Q7MCQ5 Marks·Choose one option
Consider the following statements regarding structural graph coverage criteria, and choose the correct option. i) A test path always begins with the initial vertex and ends in the final vertex. ii) A prime path may contain cycles within it as a subpath. iii) Complete path coverage may be feasible for some CFGs.
- AStatement i) and iii) are correct. Statement ii) is incorrect.
- BStatement i) is correct. Statement ii) and iii) are incorrect.
- CStatement ii) and iii) are correct. Statement i) is incorrect.
- DStatement i) and ii) are correct. Statement iii) is incorrect.
- Q8MCQ5 Marks·Choose one option
The ________ approach to integration testing does not require the use of test stubs or test drivers. Fill in the blank with the correct option.
- Abottom-up
- Btop-down
- Csandwich
- Dbig bang
- Q9MCQ5 Marks·Choose one option
Consider the following statement and fill in the blank(s) with the appropriate option. In a maximal chain, the interior vertices have an indegree of i)___ and outdegree of ii)___.
- Ai - 1, ii - 2
- Bi - 0, ii - 2
- Ci - 1, ii - 1
- Di - 1, ii - 0
- Q10MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q11MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q12MCQ5 Marks·Choose one option
Which of the following graph coverage criteria is equivalent to state coverage on a finite state machine (FSM)?
- ANode coverage
- BEdge coverage
- CEdge-pair coverage
- DPrime path coverage
- Q13MSQ5 Marks·Choose all correct options
Which of the following types of testing methods are white box, i.e. require knowledge about the internals of the program?
- AUnit Testing
- BStress Testing
- CIntegration Testing
- DBeta Testing
- Q14MSQ5 Marks·Choose all correct options

- A

- B

- C

- D

- A
Read the passage below, then answer Q15–Q17
Consider the following control flow graph (CFG), and answer the subsequent questions.
Q15MCQ5 Marks·Choose one optionHow many test requirements are there for edge-pair coverage?
- A9
- B10
- C11
- D8
- Q16MCQ5 Marks·Choose one option
How many test requirements are there for prime path coverage?
- A9
- B12
- C10
- D11
- Q17MCQ5 Marks·Choose one option
What is the cyclomatic complexity of the given CFG?
- A3
- B4
- C5
- D6
Read the passage below, then answer Q18–Q20
Consider the following data flow graph, and answer the subsequent questions.
Q18MCQ5 Marks·Choose one optionHow many test requirements are there for All-Defs-Coverage for variable x?
- A1
- B2
- C3
- D4
- Q19MCQ5 Marks·Choose one option
How many test requirements are there for All-Uses-Coverage for variable x?
- A4
- B5
- C6
- D7
- Q20MCQ5 Marks·Choose one option

- A6
- B7
- C8
- D9