Software Testing MCQ With Answers
Software Engineering is a systematic, disciplined, cost-effective technique for software development. In simple terms, it is an engineering approach to developing software.
Software testing is a part of the software development process. Software testing is an activity to detect and identify defects in software. The primary purpose of testing is to release quality products to the client.
Testing in Software Engineering
- At different stages of software development, we need to test what we develop.
- When we develop a unit, we test it when we integrate it with other units.
- Also, it needs to be tested before giving the software to the customer.
- In some testing types, we directly deal with the code, which is known as white box testing.
- In some other cases, we do not have to look at the code and it is known as black-box testing.
- A mixture of these two is known as gray box testing.
Unit Testing
- Testing a single unit of the software is known as unit testing.
- In this testing, we will test an isolated unit of the software, which contains lots of the units.
Integration Testing
- Here, the testing of a few units of the software is done separately. Now, after testing, those units are integrated.
- After integrating those units, it is again tested.
- This is known as integration testing.
Regression Testing
- Here, a new module is made and it is added to the software.
- Whenever a new module is added to the software, it is tested to check whether the software is working fine with the change.
- This is known as regression testing.
System Testing
- The complete software is ready and working as a system.
- In this testing, the focus is the entire software. The testing is done based on Evolutionary are input and output.
- Software compatibility is tested on different kinds of OS.
- Testing the software comes under the black box testing category.
Stress Testing
- The software is tested under unfavorable conditions.
- In this testing, the software is pushed to its maximum limit to check whether any failure occurs under some unfavorable conditions.
Preparation Resources:
Software Testing MCQ
System testing is a
Grey box testing
White box testing
Black box testing
Both b and c are correct
Identify the term which is used to define testing?
Finding broken code
A stage of all projects
Evaluating deliverables to find errors
None of the above
Identify the testing tool which does not support by Database Testing?
Finding broken code
A stage of all projects
Evaluating deliverables to find errors
None of the above
Identify the testing which cannot be performed on the first build of the software?
Sanity testing
Regression testing
Retesting
All a, b and c
In which chart are lower and upper limits present?
Run chart
Bar chart
Control chart
None of the above
In which of the following categories can White Box techniques be classified.
Design based testing
Error guessing technique
Structural testing
None of the above
In which of the following categories can white-box testing be classified?
Design based testing
Structural testing
Error guessing technique
None of the above
In which stage is user acceptance testing done?
Manual stage
Automatic stage
On both a and b
None of the above
Is exhaustive testing possible?
Always possible
Impractical but possible
Impractical but impossible
Practically possible
RUP and PSP stands for?
Rational Unified Process and Personal software process
Rational Unified Process and Project software process
Real-time unified process and Project software process
Real-time unified process and Personal software process
Select the best time when regression testing should be done?
As frequently as possible
When the environment has been modified
After the software has been modified
Both b and c are correct
Select the correct defect rate for Six sigma?
1.0 defect per million lines of code.
1.4 defects per million lines of code.
3 defects per million lines of code.
3.4 million per million lines of code.
Select the correct option. Agile development testing is not treated as a separate phase.
True
False
Should automation testing be performed before manual testing?
Yes
No
Identify the term which is used to define testing?
Finding broken code
A stage of all projects
Evaluating deliverables to find errors
None of the above
The full form of ITG is?
independent test group
integration testing group
individual testing group
None of the above
The full form of SPICE is?
Software Process Improvement and Control Determination
Software Process Improvement and Capability Determination
Software Process Improvement and Compatibility Determination
None of the above
The SRS document is also known as _____________ specification.
Black box
White box
Grey box
None
To notify the developer which bugs need to be fixed first is termed as?
Scalability
Fixability
Traceability
Priority
To which boundary value analysis belongs.
Black box testing
White box testing
Both a and b are correct
None of the above
Using which methodology is maintenance testing performed?
Sanity testing
Retesting
Breadth test and depth test
Confirmation testing
What does FAST stand for?
Facilitated Application Specification Technique
Functional Application Specification Techniques
Fast Application Specification Technique
None
What is cyclomatic complexity?
Black box testing
White box testing
Grey box testing
All of the above
When can white-box testing be started?
After SRS creation
After installation
After programming
After designing
Which is not true in case of Unit testing?
It is conducted by development team.
It decreases the speed of development.
Tester tests whether individual units of source code is fit for use.
It cannot be expected to catch every error in program.
Which of the following are types of code review?
Code walkthrough
Code inspection
Both A and B
None
White box testing is also known as
Behavioral testing
Glass box testing
Structural testing
None of the above
Identify the correct option among the following which is not included in SRS?
Functionality
Performance
External interfaces
Design solutions
Black box testing is also known as
Behavioral Testing
Data flow testing
Graph based testing
Loop testing
By whom is unit testing done?
Users
Customers
Developers
None
CCMI model stands for?
Capability Managed Maturity Integration
Capability Maturity Model Integrator
Capability Maturity Modification integration
Capability Maturity Model integration
Choose the correct option among the following. Does the software consist of?
Program+documentation operating procedures
Program+hardware manuals
Instruction+hardware manuals
Set of programs
Choose the correct option which is not used in measuring the size of the software?
Size of module
KLOC
Function points
None of the above
Choose the correct option which represents the key objective of integration testing?
Interface errors
Procedure errors
Design errors
None of the above
Choose the correct option which states the correct definition of Software. It is considered to be a collection of?
Programming code
documentations
associated libraries
All of the above
Choose true or false: Standard enforcer tool looks at the whole program.
True
False
COCOMO model stands for?
Complete Cost Estimation Model
Constructive Cost Estimation Model
Common Cost Estimation Model
Comprehensive Cost Estimation Model
Decomposition is also popularly known as
Group and merge principle
Binary search principle
Quicksort principle
Divide and conquer principle
Identify among the following which is not a type of incremental testing approach.
Big-bang
Top-down
Bottom-up
Functional incrimination
Identify the correct functional requirement.
Robustness
Portability
Maintainability
None
Identify the correct measure for correctness.
Errors per KLOC
$ per KLOC
Defects per KLOC
None
A program having high cyclomatic complexity is more likely to be
Small
Difficult to test
Difficult to write
Large
Identify the environment in which we can perform alpha testing?
User’s end
Developer’s end
Both a and b are correct
None of the above
Identify the fault-based testing technique.
Beta testing
Unit testing
Mutation testing
Stress testing
Identify the incorrect black box technique?
Syntax testing
Linear Code Sequence and Jump(LCSAJ)
State transition testing
None of the above
Identify the incorrect phase of STLC(Software Testing Life cycle).
Test closure
Coding
Requirement analysis
Test planning
Identify the incorrect testing technique.
Integration testing
Collaboration testing
System testing
Unit testing
Identify the incorrect white box technique.
Statement testing
State transition testing
Path testing
Data flow testing
Identify the most reputed testing standard?
Microsoft
M Bridge Awards
ISO
QAI
Identify the stage in which test cases are designed?
Test planning
Test configuration
Test specification
Test recording
Identify which of the following life cycle contains the phases: test case design, test execution, defect tracking, maintenance.
SDLC
STLC
SQLC
BLC
Identify the term which is known as a variance from software product specifications?
Report
Defect
Review
Requirement
Identify the term which is not related to testing?
failure
error
Test case
Test bot
Identify the term which is used to define functional testing?
Component testing
Sanity testing
Acceptance testing
None of the above