MauryaHub PYQ Practice

Software Testing · End Term · Sep 2025 · AN

Software Testing · End Term · Sep 2025 AN

← Course papers · Start practice / exam

Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.

0 / 20 published solutions

Question 2 MCQ · 5.0 marks

Which of the following types of testing of a near-finished software product is done by a set of end users outside the development team?
6406536034490.
System Testing
6406536034491.
Acceptance Testing
6406536034492.
Beta Testing
6406536034493.
Integration Testing

A published solution is not available for this question yet.

Report a correction for Q2

Question 3 MCQ · 5.0 marks

Which of the following options best describes the purpose of scalability tests?
6406536034494.
To determine if a system protects data and maintains security related functionality.
6406536034495.
To measure the ability of system to keep operating over specified periods of time.
6406536034496.
To verify that a system can handle load upto its engineering limits.
6406536034497.
To determine whether the system can interoperate with other third-party products.

A published solution is not available for this question yet.

Report a correction for Q3

Question 4 MCQ · 5.0 marks

Source diagram or notation
6406536034498.Source diagram or notation
6406536034499.Source diagram or notation
6406536034500.Source diagram or notation
6406536034501.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q4

Question 5 MCQ · 5.0 marks

Which type of client-side testing tries to check for issues related to relationships among different parameters of an input?
6406536034502.
Parameter level bypass testing
6406536034503.
Control flow level bypass testing
6406536034504.
Value level bypass testing
6406536034505.
User-session data based testing

A published solution is not available for this question yet.

Report a correction for Q5

Question 6 MCQ · 5.0 marks

Source diagram or notation
6406536034506.
1 - B, 2 - C, 3 - A, 4 - D
6406536034507.
1 - A, 2 - D, 3 - B, 4 - C
6406536034508.
1 - A, 2 - C, 3 - B, 4 - D
6406536034509.
1 - B, 2 - A, 3 - D, 4 - C

A published solution is not available for this question yet.

Report a correction for Q6

Question 7 MCQ · 5.0 marks

Consider that a user makes an online purchase by making payment through a payment gateway, after the payment is successful, the user is sent back to the e-commerce website with an order confirmation. Which type of transition would take place in the Application Transition Graph (ATG) in this scenario?
6406536034510.
Form Link Transition
6406536034511.
Redirect Transition
6406536034512.
Operational Transition
6406536034513.
Simple Link Transition

A published solution is not available for this question yet.

Report a correction for Q7

Question 8 MCQ · 5.0 marks

Consider ISP with four blocks as
Source diagram or notation
,
Source diagram or notation
,
Source diagram or notation
, and
Source diagram or notation
. The base choice is
Source diagram or notation
. What is the number of total test cases to satisfy base choice coverage criterion?
6406536034514.
6
6406536034515.
7
6406536034516.
8
6406536034517.
9

A published solution is not available for this question yet.

Report a correction for Q8

Question 9 MCQ · 5.0 marks

Consider the following Java program.
Source diagram or notation
The program outputs Laptop 11, 0 units, instead of Laptop 11, 35 units. It is because the inherited method Laptop::setStockQuantity does not call Product::setStockQuantity and therefore does not define the instance variable stockQuantity in Item. Which of the following types of anomalies or faults are present in the given scenario?
6406536034518.
State Visibility Anomaly (SVA)
6406536034519.
State Definition Anomaly (SDA)
6406536034520.
State Definition Inconsistency Anomaly (SDIA)
6406536034521.
Inconsistent Type Use (ITU)

A published solution is not available for this question yet.

Report a correction for Q9

Question 10 MCQ · 5.0 marks

Consider the following Java program.
Source diagram or notation
Which of the following sets of methods will be invoked in the given program?
6406536034522.Source diagram or notation
6406536034523.Source diagram or notation
6406536034524.Source diagram or notation
6406536034525.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q10

Question 11 MCQ · 5.0 marks

Consider the following code statement (ground string) and a mutant:
Source diagram or notation
Source diagram or notation
Which of the following types of mutation operators can be applied to the ground string to obtain Mutant-1?
6406536034526.
Assignment operator replacement
6406536034527.
Absolute value insertion
6406536034528.
Scalar variable replacement
6406536034529.
Arithmetic operator replacement

A published solution is not available for this question yet.

Report a correction for Q11

Question 12 MCQ · 5.0 marks

Consider the following code segment.
Source diagram or notation
Consider that a mutant is created by deleting the statement super(value); in LINE-15. Which of the following mutation operators is used to create the mutant?
6406536034530.
Hiding Variable Insertion (HVI)
6406536034531.
Parent Constructor Deletion (PCD)
6406536034532.
Overriding Method Deletion (OMD)
6406536034533.
Super Keyword Deletion (SKD)

A published solution is not available for this question yet.

Report a correction for Q12

Question 13 MCQ · 5.0 marks

Consider the following code segment of a Java servlet. The atomic sections are marked as
Source diagram or notation
Source diagram or notation
. Identify the component expression that corresponds to the given code segment.
6406536034534.Source diagram or notation
6406536034535.Source diagram or notation
6406536034536.Source diagram or notation
6406536034537.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q13

Question 14 MCQ · 5.0 marks

Consider the following data flow graph.
Source diagram or notation
Given a set of test paths
Source diagram or notation
, which of the following coverage criteria is satisfied for the variable
Source diagram or notation
?
6406536034538.
All-Defs Coverage only
6406536034539.
All-Uses Coverage only
6406536034540.
All-DU-Paths Coverage
6406536034541.
None of these

A published solution is not available for this question yet.

Report a correction for Q14

Question 15 MCQ · 5.0 marks

Consider the following code segment for symbolic execution.
Source diagram or notation
Assume that
Source diagram or notation
respresents the symbolic value for the variable x in the method void verify(int x). Which of the following path constraints would reach the abort() call at LINE-1?
6406536034542.Source diagram or notation
6406536034543.Source diagram or notation
6406536034544.Source diagram or notation
6406536034545.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q15

Question 16 MSQ · 5.0 marks

Consider test-driven development (TDD) of a software program that works with geometric objects. The implementation for the method TriangleType::type should identify the type of the triangle based on the given side lengths. The following is a test case for this method.
Source diagram or notation
Which of the following are correct implementations of the method?
6406536034546.Source diagram or notation
6406536034547.Source diagram or notation
6406536034548.Source diagram or notation
6406536034549.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q16

Question 17 MSQ · 5.0 marks

Consider the following finite state machine (FSM).
Source diagram or notation
Which of the following strings can be accepted by the given FSM?
6406536034550.
abed
6406536034551.
adec
6406536034552.
abde
6406536034553.
ad

A published solution is not available for this question yet.

Report a correction for Q17

Question 18 MCQ · 5.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Which of the following is the set of RACC pairs for literal
Source diagram or notation
?
6406536034554.Source diagram or notation
6406536034555.Source diagram or notation
6406536034556.Source diagram or notation
6406536034557.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q18

Question 19 MCQ · 5.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Which of the following is the set of RICC pairs for literal
Source diagram or notation
?
6406536034558.Source diagram or notation
for
Source diagram or notation
, no feasible pair for
Source diagram or notation
6406536034559.Source diagram or notation
for
Source diagram or notation
. and
Source diagram or notation
for
Source diagram or notation
6406536034560.Source diagram or notation
for
Source diagram or notation
, and
Source diagram or notation
for
Source diagram or notation
6406536034561.Source diagram or notation
for
Source diagram or notation
, and
Source diagram or notation
for
Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q19

Question 20 MCQ · 5.0 marks

Consider the control flow graph (CFG),
Source diagram or notation
, where • Set of vertices
Source diagram or notation
• Set of edges
Source diagram or notation
• Initial vertex
Source diagram or notation
• Final vertex
Source diagram or notation
Based on the above data, answer the given subquestions.
What is the cyclomatic complexity of
Source diagram or notation
?
6406536034562.
3
6406536034563.
4
6406536034564.
5
6406536034565.
6

A published solution is not available for this question yet.

Report a correction for Q20

Question 21 MCQ · 5.0 marks

Consider the control flow graph (CFG),
Source diagram or notation
, where • Set of vertices
Source diagram or notation
• Set of edges
Source diagram or notation
• Initial vertex
Source diagram or notation
• Final vertex
Source diagram or notation
Based on the above data, answer the given subquestions.
How many test requirements are there for edge-pair coverage on
Source diagram or notation
?
6406536034566.
9
6406536034567.
10
6406536034568.
11
6406536034569.
12

A published solution is not available for this question yet.

Report a correction for Q21