Indian Institute of Technology Madras
BS Degree Programme · Examination & Study Paper
Software Testing
All 2025 papers
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.
Quiz 1 · 26 Oct 2025 (AN)Quiz 1
- 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
End Term · 31 Aug 2025 (FN)End Term
- Q21MCQ5 Marks·Choose one option
Consider that some modules are modified or added in an existing software program. Which of the following types of testing is done to ensure that all existing and new modules are working correctly?
- AFunctional Testing
- BPerformance Testing
- CRegression Testing
- DUsability Testing
- Q22MCQ5 Marks·Choose one option
Consider that for testing a web application, the number of concurrent users was suddenly increased by a very large amount, and the performance of the application was measured. Which of the following types of testing does this scenario represent?
- AStress Testing
- BSpike Testing
- CSoak Testing
- DLoad Testing
- Q23MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q24MCQ5 Marks·Choose one option
Defect Removal Effectiveness (DRE) belongs to which of the following categories of software metrics?
- AProduct Quality Metrics
- BObject-Oriented Software Metrics
- CMaintenance Quality Metrics
- DIn-Process Quality Metrics
- Q25MCQ5 Marks·Choose one option
Which type of client-side testing executes test cases that break the normal execution sequence of a web application?
- AParameter level bypass testing
- BControl flow level bypass testing
- CValue level bypass testing
- DUser-session data based testing
- Q26MCQ5 Marks·Choose one option

- A1 - A, 2 - C, 3 - B
- B1 - A, 2 - B, 3 - C
- C1 - B, 2 - C, 3 - A
- D1 - B, 2 - A, 3 - C
- Q27MCQ5 Marks·Choose one option
Consider that a user fills a form in a web application, but instead of submitting the form, she clicks on the refresh button in the browser. Which type of transition would take place in the Application Transition Graph (ATG) in this scenario?
- AOperational Transition
- BForm Link Transition
- CRedirect Transition
- DSimple Link Transition
- Q28MCQ5 Marks·Choose one option

- AHiding Variable Insertion (HVI)
- BSuper Keyword Deletion (SKD)
- CParent Constructor Deletion (PCD)
- DOverriding Method Deletion (OMD)
- Q29MCQ5 Marks·Choose one option

- A12
- B24
- C48
- D64
- Q30MCQ5 Marks·Choose one option

- AState Definition Anomaly (SDA)
- BState Definition Inconsistency Anomaly (SDIA)
- CInconsistent Type Use (ITU)
- DState Visibility Anomaly (SVA)
- Q31MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q32MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q33MCQ5 Marks·Choose one option

- AScalar variable replacement
- BArithmetic operator replacement
- CAbsolute value insertion
- DAssignment operator replacement
- Q34MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q35MCQ5 Marks·Choose one option

- AAll-Defs Coverage only
- BAll-Uses Coverage only
- CAll-DU-Paths Coverage
- DNone of these
- Q36MCQ4 Marks·Choose one option

- AA string of only zeros
- BA string starting with one, followed by zeros, and ending with a one
- CA string starting with a one and ending with zeros
- DA string starting with a one, followed by zeros, and ending with a zero
- Q37MSQ5 Marks·Choose all correct options

- A

- B

- C

- D

- A
Read the passage below, then answer Q38–Q39

Based on the above data, answer the given subquestions.
Q38MCQ4 Marks·Choose one optionWhich of the following is the set of RACC pairs for clause a?
- A{(1, 5), (2, 6), (3, 7)}
- B{(2, 6)}
- C{(1, 5), (3, 7), (4, 8)}
- D{(1, 6)}
- Q39MCQ4 Marks·Choose one option
Which of the following is the set of RICC pairs for clause a?
- A

- B

- C

- D

- A
Read the passage below, then answer Q40–Q41

Based on the above data, answer the given subquestions.
Q40MCQ4 Marks·Choose one optionWhat is the cyclomatic complexity of G?
- A6
- B5
- C4
- D3
- Q41MCQ4 Marks·Choose one option
How many test requirements are there for edge-pair coverage on G?
- A6
- B7
- C8
- D9
End Term · 31 Aug 2025 (AN)End Term
- Q42MCQ5 Marks·Choose one option
Consider that an organization is building a large-scale software application. Which of the following types of testing is done to ensure the speed and response time of the system are conforming to the specifications?
- APerformance Testing
- BUsability Testing
- CFunctional Testing
- DRegression Testing
- Q43MCQ5 Marks·Choose one option
Which of the following tests is performed to monitor the system parameters, such as memory utilization, to detect memory leaks or other performance issues under the continuous expected load?
- ALoad Testing
- BStress Testing
- CSpike Testing
- DSoak Testing
- Q44MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q45MCQ5 Marks·Choose one option
Backlog Management Index (BMI) belongs to which of the following categories of software metrics?
- AIn-Process Quality Metrics
- BProduct Quality Metrics
- CObject-Oriented Software Metrics
- DMaintainance Quality Metrics
- Q46MCQ5 Marks·Choose one option
Which type of client-side testing verifies if a web application adequately evaluates invalid inputs?
- AControl flow level bypass testing
- BValue level bypass testing
- CParameter level bypass testing
- DUser-session data based testing
- Q47MCQ5 Marks·Choose one option
The following table lists the layers of a web application.
Match each type of layer in Column A with its correct purpose in Column B.- A1 - C, 2 - D, 3 - A, 4 - B
- B1 - D, 2 - C, 3 - B, 4 - A
- C1 - D, 2 - C, 3 - A, 4 - B
- D1 - B, 2 - A, 3 - C, 4 - D
- Q48MCQ5 Marks·Choose one option
Consider that a user clicks on a hyperlink in a web page, and the browser navigates to a different page. Which type of transition would take place in the Application Transition Graph (ATG) in this scenario?
- AOperational Transition
- BForm Link Transition
- CRedirect Transition
- DSimple Link Transition
- Q49MCQ5 Marks·Choose one option

- AParent Constructor Deletion (PCD)
- BSuper Keyword Deletion (SKD)
- COverriding Method Deletion (OMD)
- DHiding Variable Insertion (HVI)
- Q50MCQ5 Marks·Choose one option

- A4
- B12
- C6
- D8
- Q51MCQ5 Marks·Choose one option

- AState Definition Anomaly (SDA)
- BState Definition Inconsistency Anomaly (SDIA)
- CInconsistent Type Use (ITU)
- DState Visibility Anomaly (SVA)
- Q52MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q53MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q54MCQ5 Marks·Choose one option

- AAssignment operator replacement
- BAbsolute value insertion
- CScalar variable replacement
- DArithmetic operator replacement
- Q55MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q56MCQ5 Marks·Choose one option

- AAll-Defs Coverage only
- BAll-Uses Coverage only
- CAll-DU-Paths Coverage
- DNone of these
- Q57MCQ4 Marks·Choose one option

- AA string of only ones
- BA string starting with one, followed by zeros, and ending with a one
- CA string starting with zero, followed by ones, and ending with a zero
- DA string starting with a zero and ending with ones
- Q58MSQ5 Marks·Choose all correct options
Which of the following are the appropriate implementations of the user story?- A

- B

- C

- D

- A
Read the passage below, then answer Q59–Q60

Based on the above data, answer the given subquestions.
Q59MCQ4 Marks·Choose one optionWhich of the following is the set of CACC pairs for clause b?
- A{(1, 5), (3, 7), (4, 8)}
- B{(1, 8)}
- C{(6, 8)}
- D{(1, 5), (6, 8), (3, 7)}
- Q60MCQ4 Marks·Choose one option
Which of the following is the set of RICC pairs for clause b?
- A

- B

- C

- D

- A
Read the passage below, then answer Q61–Q62

Based on the above data, answer the given subquestions.
Q61MCQ4 Marks·Choose one optionWhat is the cyclomatic complexity of G?
- A3
- B4
- C5
- D6
- Q62MCQ4 Marks·Choose one option
How many test requirements are there for edge-pair coverage on G?
- A7
- B9
- C8
- D6
Quiz 2 · 3 Aug 2025 (AN)Quiz 2
- Q63MCQ5 Marks·Choose one option
Which of the following graph coverage criteria is equivalent to state coverage on a finite state machine (FSM)?
- ANode coverage
- BPrime path coverage
- CEdge coverage
- DEdge-pair coverage
- Q64MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q65MCQ5 Marks·Choose one option
An organization is building an e-commerce website for a retailer which sells consumer electronic devices such as laptops and smartphones. Customers (users) can place an order by making an online payment. One of the requirements of the system is that the store manager should be able to download monthly sales report from the system. Which type of requirement is this?
- AUsability requirement
- BBusiness requirement
- CNon-functional requirement
- DRegulatory requirement
- Q66MCQ5 Marks·Choose one option

- A1-A, 2-C, 3-B
- B1-A, 2-B, 3-C
- C1-B, 2-A, 3-C
- D1-B, 2-C, 3-A
- Q67MCQ5 Marks·Choose one option

- A{0, 30, 40, 120}
- B{0, 30, 40, 120, 125}
- C{30, 40}
- D{−3, 0, 30, 40, 120, 125}
- Q68MCQ5 Marks·Choose one option
In integration testing, top-down approach requires the use of which of the following placeholder components?
- ATest drivers
- BTest stubs
- CBoth test drivers and test stubs
- DIt does not require placeholder components
- Q69MCQ6 Marks·Choose one option

- A8
- B9
- C10
- D7
- Q70MCQ6 Marks·Choose one option
Consider a program that computes tuition fee waiver for a postgraduate program based on a student’s CGPA according to the following rules: • If CGPA is 4.0 to 7.9, 0% fee is waived. • If CGPA is 8.0 to 8.4, 25% fee is waived. • If CGPA is 8.5 to 8.9, 50% fee is waived. • If CGPA is 9.0 to 9.4, 75% fee is waived. • If CGPA is 9.5 to 10.0, 100% fee is waived. Assume that the CGPA is rounded upto one decimal place. How many equivalence class partitions can be identified in this scenario?
- A5
- B6
- C7
- D8
- Q71MCQ6 Marks·Choose one option

- A

- B

- C

- D

- A
- Q72MSQ5 Marks·Choose all correct options

- AThe predicate is in CNF
- BThe predicate has three conjunctions.
- CThe predicate is in DNF
- DThe predicate has one disjunction.
Read the passage below, then answer Q73–Q75

Based on the above data, answer the given subquestions.
Q73MCQ5 Marks·Choose one optionConsidering the row numbers (#) given in the truth table, which of the following is a RACC pair for the clause b.
- A(2, 4)
- B(2, 5)
- C(4, 6)
- D(3, 8)
- Q74MCQ5 Marks·Choose one option
Considering the row numbers (#) given in the truth table, which of the following is a GICC pair for the clause b.
- A

- B

- C

- D

- A
- Q75MCQ5 Marks·Choose one option
Considering the row numbers (#) given in the truth table, identify all RICC pairs for the clause b.
- A

- B

- C

- D

- A
Read the passage below, then answer Q76–Q78

Based on the above data, answer the given subquestions.
Q76MCQ6 Marks·Choose one optionHow many linearly independent paths are there in G?
- A6
- B3
- C4
- D5
- Q77MCQ5 Marks·Choose one option
How many test requirements are there for edge-pair coverage on G?
- A11
- B9
- C8
- D6
- Q78MCQ5 Marks·Choose one option
What is the minimum number of test paths to acheive edge coverage on G?
- A1
- B2
- C3
- D4
Read the passage below, then answer Q79–Q81
Q79MCQ5 Marks·Choose one option
- A

- B

- C

- D

- A
- Q80MCQ5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q81MCQ6 Marks·Choose one option

- A

- B

- C

- D

- A
Official KeyMaster Answer Key & Explanations
Official answer keys from IIT Madras BS past papers. Click any question to review.
Reveal KeyCollapse Key
Master Answer Key & Explanations
Official answer keys from IIT Madras BS past papers. Click any question to review.