Question 1
Match the following regarding performance testing.
1-B, 2-A, 3-D, 4-C
1-B, 2-D, 3-A, 4-C
1-C, 2-A, 3-D, 4-B
1-C, 2-D, 3-A, 4-B
The IIT Madras BS Software Testing (Software Testing) End Term paper sat on 22 Dec 2024, in the September 2024 term, set QDB3: 22 questions for 100 marks in 180 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.
Match the following regarding performance testing.
1-B, 2-A, 3-D, 4-C
1-B, 2-D, 3-A, 4-C
1-C, 2-A, 3-D, 4-B
1-C, 2-D, 3-A, 4-B
Correct answer
1-B, 2-D, 3-A, 4-C
Which client-side testing needs to verify input values, especially those that could corrupt data and cause a security vulnerability?
Value level bypass testing
Parameter level bypass testing
Control flow level bypass testing
User-session Data based Testing
Correct answer
Value level bypass testing
Simple link transition
Redirect transition
Form link transition
Operational transition
Correct answer
Simple link transition
4
7
8
48
Correct answer
4
Consider the following Java program.
Inconsistent type use
State definition anomaly
State definition inconsistency anomaly
State visibility anomaly
Correct answer
State definition anomaly
Overloading Method Change (OMC)
Argument Number Change (ANC)
Argument Order Change (AOC)
Declared/Parameter Type Change (DTC/PTC)
Correct answer
Argument Number Change (ANC)
Correct answer
[1, 2, 3]
[1, 2, 3, 6]
[1, 2, 3, 4, 5]
[4, 5, 2, 6]
Correct answer
[1, 2, 3, 4, 5]
Correct answer
Which of the following are true about software quality control activities?
The activities establish and evaluate the processes that produce products.
The activities focus on determining the defects in the actual products produced.
Involves product-focused action.
Involves process-focused action.
Correct answers
The activities focus on determining the defects in the actual products produced.
Involves product-focused action.
Which of the following predicate(s) is/are in Conjunctive Normal Form (CNF) ?
Correct answers
Consider test-driven development (TDD) for a web portal for university students. The students can download their marksheet, certificates, etc. by entering their roll number. One of the user stories of the web portal is “Roll number validation: Invalid number of digits entered can be verified.” Below are the test cases for the “Roll number validation” user story.
Which of the following are the appropriate implementations for the user story?
Correct answers
Based on the above data, answer the given subquestions.
Identify the component expression corresponding to the given code.
Correct answer
Based on the above data, answer the given subquestions.
Identify the empty atomic section in the given code.
Correct answer
Based on the above data, answer the given subquestions.
Correct answer
Based on the above data, answer the given subquestions.
With reference to the truth table row numbers (Row#) given in the main data, which of the following is a valid RACC pair for clause a?
(1, 8)
(3, 7)
(2, 6)
(4, 8)
Correct answer
(4, 8)
Correct answer
Correct answer
TRUE
FALSE
Correct answer
TRUE
Based on the above data, answer the given subquestions.
We have computed some of the prime paths, which are as follows:
1. [1, 2, 4, 5, 6],
2. [3, 2, 4, 5, 6],
3. [1, 2, 4, 6],
4. [1, 2, 3],
5. [3, 2, 3].
Identify the missing prime path(s).
[2,3,2]
[2, 3, 4, 6]
[3,2,4,6]
[1, 2, 3, 2, 4, 5, 6]
Correct answers
[2,3,2]
[3,2,4,6]
Based on the above data, answer the given subquestions.
Consider the set of test paths {[1, 2, 4, 5, 6], [1, 2, 3, 2, 4, 6]}. Which of the following statements is/are true about satisfying the coverage criteria on CFG G?
It satisfies node coverage.
It satisfies edge coverage.
It satisfies edge-pair coverage.
It satisfies prime path coverage.
Correct answers
It satisfies node coverage.
It satisfies edge coverage.
Based on the above data, answer the given subquestions.
What is the cyclomatic complexity of the CFG G?
2
3
4
5
Correct answer
4