Software Testing MCQ
1) Which methodology is used to performed Maintenance testing?
Breadth test and depth test
Confirmation testing
Retesting
Sanity testing
Answer: (a) Breadth test and depth test
Explanation: The maintenance testing is performed during the development, migration, and
modification cycle. It is done on the previously deployed software where its needs to be
improved, altered or migrated to other hardware.
2) Which of the following is not part of the Test document?
Test Case
Requirements Traceability Matrix [RTM]
Test strategy
Project Initiation Note [PIN]
Answer: (d) Project Initiation Note [PIN]
Explanation: The test documentation is the document which is created during or before the
testing of a software application. The entire test execution process depends on the
complication of the test document.
3) Which term is used to define testing?
Play
Next
Unmute
Current TimeÂ
0:00
DurationÂ
18:10
Fullscreen
Backward Skip 10s
Play Video
Forward Skip 10s
Evaluating deliverable to find errors
Finding broken code
A stage of all projects
None of the above
Hide Answer Workspace
Answer: (a) Evaluating deliverable to find errors
Explanation: Software testing is a process of classifying the correctness of software by
seeing its all attributes and assessing the execution of software components to find the
software bugs or errors.
4) Which of the following is not a valid phase of SDLC (Software Development Life
Cycle)?
Testing Phase
Requirement Phase
Deployment phase
Testing closure
Hide Answer Workspace
Answer: (d) Testing Closure
Explanation: SDLC defines various phases of software development and the order of
execution of phases. Software development life cycle is a process that creates a structure
for the development of software.
5) Which of the following testing is also known as white-box testing?
Structural testing
Error guessing technique
Design based testing
None of the above
Hide Answer Workspace
Answer: (a) Structural Testing
Explanation: Structural testing is also known as a White box or Clear box, or Glass box
testing. In structural testing, we can understand what is happening inside the application
or the software.
6) Which of the following testing is related to the boundary value analysis?
White box and black box testing
White-box testing
Black box testing
None of the above
Hide Answer Workspace
Answer: © Black Box testing
Explanation: Boundary value analysis is one of the widely used case design techniques for
black-box testing. It is used to test boundary values because the input values near the
boundary have higher chances of error. Boundary values are those that contain the upper
and lower limit of a variable.
7) Functional testing is a ------?
Test design technique
Test level
SDLC Model
Test type
Hide Answer Workspace
Answer: (d) Test Type
Explanation: It is a type of software testing, which is used to verify the functionality of the
software application, whether the function is working according to the requirement
specification. It is performed as black-box testing, which verifies the functionality of the
application.
8) What are the different levels of Testing?
Integration testing
Unit testing
System testing
All of the above
Hide Answer Workspace
Answer: (d) All of the above
Explanation: Integration, Unit and System testing are various testing levels where the Unit
testing is used to test each unit or an individual component of the software application.
The Integration testing is used only after the functional testing is completed on each
module of the application. And system testing is end-to-end testing, where the testing
environment is similar to the production environment.
9) Which of the following is not a part of STLC (Software Testing Life Cycle)?
ADVERTISEMENT
ADVERTISEMENT
Testing Planning
Requirement Gathering
Test Design
Testing closure
Hide Answer Workspace
Answer: (b) Requirement Gathering
Explanation: The software testing procedure is also known as Software Testing Life Cycle
(STLC), which contains various phases of the testing process. And all activities are done to
improve the quality of the software product.
10) Sanity testing is a ------?
Test type
Test Execution Level
Test Level
Test design technique
Hide Answer Workspace
Answer: (b) Test Execution level
Explanation: As soon as the bug fixes are done, we will perform the Sanity testing. It is
narrow, deep. Sanity testing’s primary objective is to ensure that all the defects have been
fixed and no further issues come into existence due to these changes.
11) White box testing techniques are?
Statement coverage testing
Decision coverage testing
Data flow testing
All of the above
Hide Answer Workspace
Answer: (d) All of the above
Explanation: In software testing, the statement coverage, decision coverage, data flow is
part of the white-box testing technique.
12) In which environment we can performed the Alpha testing?
User’s end
Developer’s end
User’s and developer’s end
None of the above
Hide Answer Workspace
Answer: (b) Developer’s end
Explanation: Alpha testing is conducted in the organization and tested by a representative
group of end-users at the developer’s end, where the developers observe the users and
write down the problems. Alpha testing is simulated or real operational testing at an in-
house site.
13) Which of the below is not a part of the Test Plan?
Schedule
Risk
Incident reports
Entry and exit criteria
Show Answer Workspace
14) What is the key objective of Integration testing?
Design Errors
Interface Errors
Procedure Errors
None of the mentioned
Hide Answer Workspace
Answer: (b) Interface Error
Explanation: Whenever there is a clear relationship between modules, we go for the
integration testing. And the main purpose of the integration testing level is to expose the
faults at the time of interaction between integrated components or units.
15) Exploratory testing is a -----?
Experience-based Test Design Technique
White Box Test Design Technique
Black Box Test Design Technique
Grey Box Test Design Technique
Hide Answer Workspace
Answer: (a) Experience-based Test Design Technique
Explanation: Whenever the requirement does not exist, we do one round of exploratory
testing. In this testing, we will be exploring the application in all possible ways,
understanding the application’s flow, preparing a test document and then testing the
application.
16) What is the best time to perform Regression testing?
ADVERTISEMENT
ADVERTISEMENT
After the software has been modified
As frequently as possible
When the environment has been modified
Both option a & c
Hide Answer Workspace
Answer: (d) Both option a & c
Explanation: Regression testing is used to authenticate a code change in the software that
does not impact the product’s existing functionality. Regression testing can be performed
on a new build when there is a significant change in the original functionality. It ensures
that the code still works when the changes are occurring.
17) Does the customer get a 100% bug-free product?
Product is old
Developers are super
The testing team is not good
All of the above
Hide Answer Workspace
Answer: © The testing team is not good
Explanation: Sometimes, the fundamentals of software testing define that no product has
zero bugs.
18) Cyclomatic complexity is?
White-box testing
Black box testing
Grey box testing
All of the above
Hide Answer Workspace
Answer: (a) White box testing
Explanation: Cyclomatic complexity is a software metric, which is used to measure the
complexity of a program. It gives the minimum number of paths that can generate all
possible paths through the module.
19) Which of the following is not part of the Test type?
ADVERTISEMENT
ADVERTISEMENT
Function testing
System testing
Statement testing
Database testing
Hide Answer Workspace
Answer: © Statement testing
Explanation: Testing is a group of techniques to determine the application’s correctness
under the predefined script, but testing cannot find all the defects in the application.
Testing includes an examination of code and the execution of code in various
environments, conditions, and all the examining aspects of the code.
20) Which Test Document is used to define the Exit Criteria of Testing?
Defect Report
Test Summary Report
Test Case
Test Plan
Hide Answer Workspace
Answer: (d) Test Plan
Explanation: The Exit criteria of the functional testing should be followed because the
percentage (%) of exit criteria are decided by the meeting with both development and test
manager because their collaboration can achieve the percentage. And When all the test
cases are executing, most of the test cases must be passed.
21) Impact analysis helps us to decide which of the following testing?
Exit Criteria
How much regression testing should be done?
Different Tools to perform Regression Testing
How many more test cases need to write?
Hide Answer Workspace
Answer: (b) how much regression testing should be done
Explanation: In regression testing, once we understand the new requirements, we will
perform one round of impact analysis to avoid the major risk. The impact analysis is done
by the customer based on their business knowledge, the developer based on their coding
knowledge. Most importantly, it is done by the test engineer because they have product
knowledge.
ADVERTISEMENT
ADVERTISEMENT
22) Which testing technique is used for usability testing?
White-box testing
Grey box testing
Black Box testing
Combination of all
Hide Answer Workspace
Answer: © Black box testing
Explanation: Usability testing is used to checks the defect in the end-user interaction of
software or the product. It makes sure that the developed software is easy while using the
system without facing any problem and makes end-user life easier.
23) Which is not the right approach of Incremental testing approach?
Big bang approach
Top-down approach
Functional incrimination
Bottom-up approach
Hide Answer Workspace
Answer: (a) Big bang approach
Explanation: The Incremental testing approach is used whenever there is a solid
relationship between the dependent modules. In this, modules are added in ascending
order one by one or according to need. Generally, two or more than two modules are added
and tested to control the correctness of functions.
24) In which environment we can performed the Beta testing?
User’s and developer’s end
Developer’s end
User’s end
None of the above
Hide Answer Workspace
Answer: © User’s end
Explanation: Beta testing is an integral part of external user acceptance testing, where real
users perform this testing. It is implemented after the alpha testing. Beta testing is the last
phase of the testing carried out at the client’s or user’s end.
25) What is error guessing in software testing?
Test control management techniques
Test verification techniques
Test execution techniques
Test case design/ data management techniques
Hide Answer Workspace
Answer: (d) Test case design/ data management techniques
Explanation: When there is no specific method for identifying the error, we go for the Error
guessing technique. It is totally based on the experience of the test analyst, where the
tester uses the experience to guess the problematic areas of the software.
26) After which phase, we can proceed to the white box testing?
After the coding phase
After designing phase
After SRS creation
After the installation phase
Hide Answer Workspace
Answer: (a) After the coding phase
Explanation: Generally, the white box testing was performed after the programming phase
because this type of testing required the programming skills to design test cases. The
Developers perform the white box testing to test every line of the program’s code and then
send the application or the software to the testing team for further process.
27) Which of the following is not another name of white box testing?
Structural testing
Behavioral testing
Glass box testing
None of the mentioned
Hide Answer Workspace
Answer: (b) Behavioral Testing
Explanation: White box testing is known as glass box testing, structural testing, clear box
testing, open box testing and transparent box testing.
ADVERTISEMENT
28) The test levels are performed in which of the following order?
Unit, Integration, System, Acceptance
It is based on the nature of the project
Unit, Integration, Acceptance, System
Unit, System, Integration, Acceptance
Hide Answer Workspace
Answer: (b) It is based on the nature of the project
Explanation: The Test levels can always be restructured or combined based on n the nature
of a project or system planning.
29) Define the term failure?
A human action that produces an incorrect result.
Its departure from specified behavior
Found in the software; the result of an error.
It is procedure or data definition in a computer database.
Hide Answer Workspace
Answer: (b) Its departure from specified behavior
Explanation: In software testing, a software bug can also be issue, error, fault, or failure
where lots of defect leads to failure of the software.
30) “V” model is?
Test type
Test Level
Test design technique
Software development testing (SDLC) model
Hide Answer Workspace
Answer: (d) Software development testing (SDLC) model
Explanation: Whenever we have a large and complex application, we go for the V model. In
the V model, firstly, all the activities go in the downward direction, and at one point in time,
it starts moving in the upward direction, and to re-use the test document for the testing
process and forms a V shape.
31) Which of the below testing is executed without documentation and planning is
known as?
Regression Testing
Adhoc Testing
Unit Testing
None of the above
Hide Answer Workspace
Answer: (b) Adhoc testing
Explanation: Whenever we have to randomly check the application without following any
sequence or procedure, we do one round of Adhoc testing. Since the user doesn’t know
how to use the application, they may use it randomly and find some issues. Adhoc testing
is also known as negative testing because we test the application against the client’s
requirements.
32) Which of the below testing is related to Non-functional testing?
Unit Testing
Black-box Testing
Performance Testing
None of the above
Hide Answer Workspace
Answer: © Performance testing
Explanation: Non-functional testing is testing where the tester will test the non-functional
parameters, for example, performance, reliability, load test, and accountability of the
software or application. And Performance testing is testing where we check the behavior of
an application by applying some load.
33) Which of the below testing is related to black-box testing?
Boundary value analysis
Code path analysis
Basic path testing
None of the above
Hide Answer Workspace
Answer: (a) Boundary value analysis
Explanation: The Black box testing is testing where we examine the software’s functionality
without looking into its internal structure or coding. And the boundary value analysis is
used to test boundary values as the input values near the boundary have higher chances of
error. And it is one of the widely used case design techniques for black-box testing.
34) Which of the following testing is also called Acceptance testing?
ADVERTISEMENT
ADVERTISEMENT
Beta testing
White-box testing
Grey box testing
Alpha testing
Hide Answer Workspace
Answer: (a) Beta testing
Explanation: The user acceptance testing is done once the application is bug-free because
no customer accepts the application blindly before using it. Hence, they perform one
round of testing for their satisfaction. And Beta testing is one essential part of Acceptance
Testing, which is performed before releasing the software.
35) -------- testing is used to check the code?
Grey box testing
Black box testing
White-box testing
Red box testing
Hide Answer Workspace
Answer: © White-Box testing
Explanation: The white box testing is testing where the developer will test every line of the
program’s code. To perform the white box testing, his/her aware of programming skills to
design test cases.
36) The Regression test case is not a --------?
Tests that focus on the software components, which have been modified.
Low-level components are combined into clusters, which perform a specific software sub-
function.
Additional tests that emphasize software functions, which are likely to be affected by the
change.
A representative sample of tests, which will exercise all software functions.
Hide Answer Workspace
Answer: (b) Low-level components are combined into clusters that perform a specific
software sub-function.
Explanation: The Regression testing is used to authenticate a code change in the software,
which does not impact the product’s existing functionality. And it also ensures that the
product works fine with new functionality, bug fixes, or any change in the existing feature.
37) Generally, which testing is used when shrink-wrapped software products are being
established and part of an integration testing?
Integration Testing
Validation testing
Regression Testing
Smoke testing
Hide Answer Workspace
Answer: (d) Smoke testing
Explanation: The smoke testing is used to test the basic and critical feature of an
application before doing one round of deep, rigorous testing or checking all possible
positive and negative values. In this testing, we do not require to design test cases.
38) Which of the following statement is used to discover errors in the test case?
Incorrect logical operators or precedence
Non-existent loop termination
Comparison of different data types
All of the above
Hide Answer Workspace
Answer: (b) Non-existent loop termination
Explanation: The test case is specifying as a group of conditions under which a tester
controls whether a software application is working as per the customer’s requirements or
not. And the test case provides us complete information about testing strategy, testing
process, preconditions, and expected output.
39) The Decision table testing is a ----------?
White box Test Design Technique
Black Box Test Design Technique
Experience-based Test Design Technique
Grey Box Test Design Technique
Hide Answer Workspace
Answer: (b) Black-box test design technique
Explanation: The Decision table technique is one of the most important used case design
techniques for black-box testing. It is a systematic approach where several input
combinations and their respective system behavior are captured in a tabular form. The
Decision table technique is suitable for the functions, which have a logical relationship
between two and more than two inputs.
40) When we have to stop the testing?
ADVERTISEMENT
The faults have been fixed
All the tests run
The time completed
The risk is resolved
Hide Answer Workspace
Answer: (d) The risk is resolved.
Explanation: Once the application’s functionality is stable, the risk is resolved, when the
time is less, we test the necessary features, and when the essential feature itself is not
working correctly, we can stop the testing.
41) ---------- are those software mistakes that occurred during the coding phase?
Defects
Failures
Errors
Bugs
Hide Answer Workspace
Answer: (d) Bugs
Explanation: The Bug is the informal name of defects, which means that software or
application is not working as per the requirement. The bu