Font size
WorksheetsSoftware Testing MCQs
Total questions: 104
Worksheet time: 52mins
Which of the following is NOT a type of software testing?
Unit Testing
Integration Testing
Database Querying
System Testing
What is the primary objective of unit testing?
Test the interaction between components
Verify the performance of the system
Test individual units or components
Ensure user acceptance
Which type of testing is also referred to as "behavioral testing"?
White-box Testing
Black-box Testing
Alpha Testing
Beta Testing
Which testing technique requires knowledge of the internal structure of the program?
Functional Testing
System Testing
White-box Testing
Smoke Testing
Regression testing is performed to:
Test the system's usability
Identify memory leaks
Ensure new code hasn't broken existing functionality
Check third-party integrations
Acceptance testing is usually done by:
Developers
End users or clients
Test engineers
Database administrators
Which of the following is an example of non-functional testing?
Unit Testing
Integration Testing
Performance Testing
Boundary Value Testing
Smoke testing is used to:
Detect memory leaks
Test performance under load
Ensure critical functionalities work after a new build
Test usability
Beta testing is usually conducted:
In a laboratory environment
Internally by developers
By end-users before product release
Only by automation scripts
In integration testing, the focus is on:
Verifying individual functions
Checking database integrity
Testing the interaction between integrated modules
Stress testing the UI
What type of testing is used to determine whether the software meets customer expectations and requirements?
Regression Testing
Functional Testing
Acceptance Testing
Unit Testing
Which testing technique uses equivalence classes and boundary values to design test cases?
White-box Testing
Static Testing
Black-box Testing
Dynamic Testing
Which of the following is NOT a level of software testing?
Unit Testing
Integration Testing
Design Testing
System Testing
Stress testing is performed to:
Ensure the system works under normal conditions
Evaluate system behavior under peak load
Test user acceptance
Validate security protocols
Which testing type can be both manual and automated, and is often performed repeatedly during the development cycle?
Alpha Testing
Regression Testing
System Testing
Unit Testing
What is the main goal of system testing?
To validate user requirements
To test a single module in isolation
To test code logic and loops
To optimize the database schema
Which of the following best describes exploratory testing?
A scripted testing technique
Based on formal documentation only
Performed without predefined test cases
Only done during system integration
Which testing method ensures that a program behaves as expected under various input conditions without considering internal logic?
Alpha Testing
Grey-box Testing
Black-box Testing
Code Review
Which type of testing is conducted before releasing the software to the market?
Alpha Testing
System Testing
Beta Testing
Sanity Testing
What does static testing involve?
Executing the code
Reviewing design documents and code without execution
Stress testing the UI
Generating test data
Which testing technique combines both black-box and white-box testing principles?
Grey-box Testing
Regression Testing
Boundary Value Testing
Alpha Testing
Sanity testing is mainly performed to:
Evaluate system performance
Verify minor fixes or changes
Test complex user workflows
Identify memory leaks
Which of the following is not a part of the software testing life cycle (STLC)?
Test Planning
Test Execution
Code Compilation
Defect Reporting
What kind of testing focuses on the user interface and user experience?
Functional Testing
Usability Testing
Regression Testing
Load Testing
Which testing type checks if the software works on different devices, OS, and browsers?
Compatibility Testing
Load Testing
Alpha Testing
Unit Testing
Which of the following focuses on how the system performs under a certain workload?
Smoke Testing
Performance Testing
Unit Testing
System Testing
In which testing type is the code not executed?
Dynamic Testing
Static Testing
Regression Testing
Functional Testing
Boundary value analysis is primarily used in:
White-box Testing
Static Testing
Black-box Testing
Mutation Testing
Which is a key characteristic of automation testing?
It requires user approval for each test case
It is only done during deployment
It increases testing speed and repeatability
It completely removes the need for testers
What is the purpose of a test case?
To write production code
To validate requirements and detect bugs
To deploy software
To perform code reviews
What is the main objective of a test plan?
To write code
To define testing strategies and scope
To deploy software to production
To review business requirements
Which of the following is typically included in a test policy?
Test environment setup steps
Specific test cases for a feature
Organization-wide testing objectives and principles
Defect status reports
Who is primarily responsible for creating the test plan?
Developer
Business Analyst
Test Lead or QA Manager
Product Owner
Which of these is NOT a common component of a test plan?
Test strategy
Test policy
Entry and exit criteria
Resources and responsibilities
A test policy typically applies to:
One specific project
A specific test cycle
An entire organization
Only manual testing
The section of a test plan that defines when testing can be stopped is called:
Suspension Criteria
Exit Criteria
Re-testing Procedure
Recovery Testing
Which document outlines the "why" behind the testing approach used in an organization?
Test plan
Test script
Test case
Test policy
What is the difference between a test plan and a test policy?
Test plan is abstract, test policy is detailed
Test plan focuses on organizational goals, test policy focuses on individual projects
Test plan is project-specific; test policy is organization-wide
There is no difference
Which of the following would most likely appear in a test plan?
Vision and mission for QA
Test automation framework guidelines
Testing scope and deliverables for a specific release
Hiring policy for QA staff
Which section of a test plan defines what is NOT to be tested?
In-scope items
Test approach
Out of scope
Entry criteria
What is the purpose of entry criteria in a test plan?
To start performance testing
To define the conditions to begin testing
To log test results
To fix all bugs
Which of these would be found in a test policy document but NOT in a test plan?
Specific testing tasks for Sprint 3
Organization-wide approach to automation
List of tools used for a particular project
Daily testing schedule
A test plan helps in:
Compiling the business proposal
Setting high-level organizational testing principles
Managing and controlling a specific testing process
Designing the software architecture
Which of the following is usually NOT a part of a test policy?
Responsibilities across testing roles
Tools and techniques recommended for testing
Detailed bug fix schedules
Commitment to quality and risk management
A test policy is created by:
Product testers
Test automation engineers
Senior management or QA leadership
Client support team
What does "Verification" in software testing focus on?
Checking if the software meets user needs
Finding UI bugs
Ensuring the product is built correctly
Validating user feedback
Validation ensures that the product:
Is designed using correct logic
Meets customer requirements
Is deployed on time
Runs fast
Which of the following is an example of verification?
User acceptance testing
Code walkthrough
Alpha testing
Beta testing
Which activity falls under validation?
Unit testing
Requirements review
Integration testing
User acceptance testing
Load testing is used to determine:
The application's ability to handle invalid inputs
The performance under expected conditions
Hardware failure points
GUI issues
Stress testing helps identify:
Functional bugs in the UI
The upper limit of system capacity
Compatibility with older versions
Syntax errors
Which of the following is true about load testing?
It tests only the database
It checks how the system recovers after failure
It tests performance under expected user traffic
It forces the system to crash
A test that involves pushing the system beyond its maximum limits is called:
Unit testing
Regression testing
Stress testing
Load testing
Why is exhaustive testing impractical in most cases?
It's not necessary
It is too costly and time-consuming
It doesn't find real bugs
Testers dislike it
System downtime refers to:
Scheduled data backups
Periods when the system is unavailable
The time taken to run a test
Application development time
Which of the following is NOT a cause of system downtime?
Network failure
Code deployment
Load balancing
Hardware issues
What does cross-platform testing ensure?
The software supports multiple user languages
The software works across different operating systems or browsers
The code is reusable
The application works offline
Which of the following tools is commonly used for cross-platform testing?
Selenium
JIRA
Jenkins
Postman
Which test would verify if an application runs on Windows, macOS, and Linux equally well?
Load testing
Regression testing
Cross-platform testing
Stress testing
What is the goal of backward compatibility testing?
Ensure the software uses the latest version
Ensure newer versions work with older systems or files
Test system under high load
Validate UI layout
Which of the following is an example of backward compatibility?
A mobile app working offline
A web app loading faster
A new version supporting old saved files
A software crash during installation
Backward compatibility testing is essential when:
Introducing new UI changes
Updating third-party libraries
Releasing a major version upgrade
Conducting smoke testing
Which of the following is a challenge in backward compatibility testing?
Writing unit tests
Finding legacy test environments
Automating test cases
Logging bugs
Backward compatibility testing is MOST relevant for:
SaaS updates
Brand-new applications
Proof of concept projects
Testing new automation tools
What is the primary objective of software testing?
To ensure the software compiles successfully
To find and fix all performance issues
To detect defects in the software
To generate user documentation
Which of the following is NOT a typical objective of testing?
To verify that requirements are met
To improve system performance
To identify defects
To ensure software quality
Testing can help in achieving all EXCEPT:
Validating user expectations
Reducing maintenance costs
Enhancing software design
Increasing software complexity
One of the key objectives of testing is to:
Increase code size
Increase the number of features
Prevent defects from reaching the user
Remove comments from code
Testing helps to measure:
Programmer productivity
Software correctness and reliability
Hardware efficiency
Network load
Which principle states that exhaustive testing is impossible?
Pesticide paradox
Defect clustering
Testing shows presence of defects
Exhaustive testing is impossible
What does the "pesticide paradox" mean in software testing?
Only bugs cause system failures
Repeating the same test cases won't find new bugs
Testers are immune to bugs
Tests should only be done once
Which principle emphasizes that early testing saves cost and time?
Testing is context dependent
Early testing
Defect clustering
Absence-of-errors fallacy
According to testing principles, the majority of defects are found in:
The installation phase
A few modules
Hardware interfaces
Final release version
"Absence of errors is a fallacy" implies that:
A bug-free software is always successful
Fixing all bugs ensures software success
Software with no errors may still fail to meet requirements
A software must be re-written without bugs
How does effective testing impact the cost of software development?
Increases the cost by adding delays
Has no impact
Reduces cost by detecting bugs early
Increases cost by requiring more personnel
Inadequate testing can lead to:
Improved time-to-market
Higher customer satisfaction
Increased defects in production
Better system performance
Effective software testing can:
Slow down software performance
Make software 100% error-free
Increase user confidence and product reliability
Replace the need for software design
What is the effect of late testing in the SDLC?
Early detection of critical bugs
Lower maintenance cost
Higher defect fixing cost
No impact
Testing done thoroughly and early in the life cycle helps:
In reducing deployment time
In improving source code readability
In minimizing the impact of defects
In increasing code size
Branch coverage is a criterion used in:
Functional testing
Black-box testing
Structural (white-box) testing
Exploratory testing
Which of the following is true about branch coverage?
It measures executed code paths only
It ensures every loop executes at least once
It ensures all possible branches (if/else) are executed
It ensures user interface compatibility
100% branch coverage guarantees:
No defects in the code
All code has been tested
Each decision has been tested in both true and false directions
Application performance is optimized
What is branch closure in software testing?
The number of bugs closed after release
Ensuring all branches in decision structures are covered
Closing unnecessary test cases
Documenting regression test results
Achieving complete branch coverage helps to:
Ignore minor errors
Minimize test case execution time
Identify untested decision points
Increase system load
Which of the following best describes a defect?
An incorrect step in a procedure
The cause of a failure in the system
A deviation from the requirement
The system crashing unexpectedly
Which of these is part of a typical test plan?
Software licensing details
User interface sketches
Test environment, schedule, and scope
Product launch plan
A test policy is primarily focused on:
Specific technical issues
A long-term organizational testing approach
Testing individual modules
Test report generation
Which of these is NOT a principle of software testing?
Testing can prove the absence of defects
Testing is context dependent
Early testing saves time and money
Defect clustering
Validation is used to check:
If the software is coded correctly
If the right product is built
If testing is done early
If test scripts are reusable
Verification includes which of the following activities?
System testing
User acceptance testing
Reviews and walkthroughs
Load testing
Load testing focuses on:
Behavior of the system with increasing load
Crashing the system with random inputs
Making the system work across browsers
Removing unused features
Stress testing determines:
If the software runs on mobile devices
The maximum load under which the system fails
The response time under normal load
Data storage limits
Exhaustive testing is rarely performed because:
It finds too many bugs
It is time-consuming and impractical
It's done only in alpha testing
It doesn't need documentation
Cross-platform testing ensures:
Hardware compatibility
Uniform behavior of application across different OS/devices
Installation testing
Response time improvement
Backward compatibility testing checks if the software works with:
New features
Future releases
Older versions of hardware or software
Beta testers only
Which of the following is true about errors?
They always lead to system crashes
They're intentional deviations
They are human actions that produce incorrect results
They are detected only during runtime
A software failure occurs when:
An incorrect line of code is found
The software crashes or gives the wrong result
A test case fails
A bug is documented
What is the result of effective branch coverage?
Faster UI performance
Full user acceptance
Decision points tested in all outcomes
Automated scripting
Branch closure ensures:
The code is rewritten
All modules are covered during manual testing
All logical branches in the code are tested
System is shut down after testing
Which testing objective focuses on user satisfaction?
Error detection
Meeting functional requirements
Enhancing user experience
Execution time calculation
A key impact of early and efficient testing is:
Increase in production cost
Decrease in software reliability
Reduction in future maintenance costs
Delayed release
Which of the following terms refers to a result of an error that was activated?
Bug
Defect
Failure
Fault
A fault in software is typically:
A typo in user documentation
A deviation from the user's request
A flaw in the software code
The cause of user dissatisfaction
The impact of testing on SDLC is highest when testing is:
Performed at the end of the project
Only manual
Automated only
Integrated early in the lifecycle
