01 Testing Chatgpt
01 Testing Chatgpt
A. Unit testing
B. Integration testing
C. Module testing
D. User documentation testing
4. Which testing technique ensures that all possible paths in a program are
tested at least once?
A. Path testing
B. Alpha testing
C. Unit testing
D. Boundary value analysis
Answer: B. Ensure that new code does not break existing functionality
A. Unit testing
B. Integration testing
C. Black-box testing
D. White-box testing
A. A single module
B. Individual units of code
C. The complete integrated system
D. User interface only
Answer: C. The complete integrated system
10. What type of testing is used to ensure that the software functions under
expected load conditions?
A. Load testing
B. Usability testing
C. Acceptance testing
D. Unit testing
Answer: D. Ensure that the software meets the business needs of the client
A. JIRA
B. Selenium
C. GitHub
D. Confluence
Answer: B. Selenium
A. Usability testing
B. Functional testing
C. Performance testing
D. Regression testing
A. Load testing
B. Stress testing
C. Usability testing
D. Unit testing
Answer: D. Unit testing
A. Unit testing
B. Integration testing
C. Regression testing
D. System testing
Answer: B. Validate that the entire application works as expected, from start to finish
23. What is exploratory testing?
25. Which testing strategy involves testing after the product is delivered to the
customer?
A. Smoke testing
B. Acceptance testing
C. Beta testing
D. Unit testing
A. Compatibility testing
B. Unit testing
C. Performance testing
D. Usability testing
A. Performance testing
B. Security testing
C. Functional testing
D. Compatibility testing
Answer: A. Changing parts of the code to check if the tests can detect the errors
A. Load testing
B. Non-functional testing
C. Functional testing
D. Unit testing
A. Debugging
B. Regression testing
C. Unit testing
D. Acceptance testing
Answer: A. Debugging
41. Which of the following tests the system’s behavior with invalid input?
A. Alpha testing
B. Boundary testing
C. Negative testing
D. Beta testing
A. Unit testing
B. Beta testing
C. Alpha testing
D. Integration testing
44. What is the key difference between load testing and stress testing?
A. Load testing checks performance under peak load; stress testing checks performance under
extreme conditions
B. Load testing is for functional testing; stress testing is for non-functional testing
C. Load testing only focuses on database performance, while stress testing focuses on CPU
performance
D. Load testing is manual; stress testing is automated
Answer: A. Load testing checks performance under peak load; stress testing checks
performance under extreme conditions
45. Alpha testing is typically conducted:
Answer: C
Answer: A. Divides input data into different classes to reduce test cases
49. Which type of testing validates whether software can be installed and run
in its intended environment?
A. Usability testing
B. Security testing
C. Installation testing
D. Integration testing
A. Unit testing
B. Regression testing
C. Performance testing
D. Beta testing
A. A document describing the scope, approach, resources, and schedule of intended testing
activities
B. A list of all test cases and scripts to be executed
C. A plan for performing beta testing with real users
D. A report summarizing test results and defect rates
Answer: A. A document describing the scope, approach, resources, and schedule of intended
testing activities
52. In black-box testing, which of the following is typically not known to the
tester?
A. Code review
B. Walkthrough
C. Executing test cases
D. Requirement analysis
A. Regression testing
B. Build verification testing
C. System testing
D. Security testing
A. Test planning
B. Requirement analysis
C. Test execution
D. Test closure
60. Which testing type is used to check if the system recovers gracefully from
failures?
A. Stress testing
B. Load testing
C. Recovery testing
D. Integration testing
65. Which of the following software testing levels comes first in the software
testing life cycle (STLC)?
A. Unit testing
B. System testing
C. Integration testing
D. Acceptance testing
Answer: B. Checking how well the system performs under different conditions
68. Which of the following testing methods is suitable for checking memory
leaks and resource consumption?
A. Usability testing
B. Load testing
C. Performance testing
D. Regression testing
Answer: C. Verify that previously developed and tested software still works after changes
73. Which of the following is NOT a typical part of the V-model in software
development?
A. Verification phase
B. Validation phase
C. Coding phase
D. Continuous integration phase
78. Which of the following techniques is used to minimize the number of test
cases while maintaining coverage?
A. Usability testing
B. Compatibility testing
C. Regression testing
D. Unit testing
Answer: B. Verify that the major functionalities of the software work after a build
A. Usability testing
B. Integration testing
C. Performance testing
D. Unit testing
Answer: B. Ensuring that the software can recover from failures gracefully
Answer: B. By a select group of external users before the product’s final release
A. Regression testing
B. Functional testing
C. Initial testing to verify basic functionality
D. Performance testing
Answer: C. Introduce small changes to the code to see if the test cases can detect errors
Answer: C. Ensuring that previously developed and tested software continues to work after
changes
Answer: B. The system’s ability to handle expected user traffic and data loads
97. Which type of testing is used to verify that a system meets legal and
regulatory requirements?
A. Usability testing
B. Compliance testing
C. Integration testing
D. Unit testing
99. Which of the following is NOT a part of the software testing life cycle
(STLC)?
Answer: B. Identify the breaking point of the system under extreme conditions
Answer: B. Ensuring the software meets the user's needs and requirements
Answer: C. Running the tests and comparing actual results with expected outcomes
Answer: B. Check how the system performs under a specified load of users
A. Testing how the system performs under a sustained load for an extended period
B. Testing the software’s ability to handle a peak load for a short time
C. Testing the software’s ease of use
D. Testing the software’s performance during a hardware failure
Answer: A. Testing how the system performs under a sustained load for an extended period
Answer: C. How easy and intuitive the software is for end users
A. Black-box testing
B. White-box testing
C. Stress testing
D. Regression testing
Answer: B. Repeatedly testing the same parts of the software to ensure no new defects are
introduced
Answer: B. Testing the entire workflow from start to finish, including all integrated systems
Answer: B. How the system behaves when scaled up in terms of users or transactions
Answer: B. Divide inputs into groups where the system is expected to behave similarly
Answer: B. Manual or automated code reviews and inspections without executing the code
A. Developers
B. End users or clients
C. Quality assurance engineers
D. System architects
Answer: A. Evaluate how the system performs under expected user load
A. Test the system’s performance under peak load for short periods
B. Test the system’s stability over an extended period under normal load
C. Test how the system recovers from failures
D. Test the system’s compatibility across different environments
Answer: B. Test the system’s stability over an extended period under normal load
A. Introducing small changes to the code to check if the test cases can detect them
B. Testing the system’s recovery from failure
C. Ensuring all lines of code are executed at least once
D. Testing the system’s behavior under stress
Answer: A. Introducing small changes to the code to check if the test cases can detect them
A. Load testing
B. Regression testing
C. Initial testing to check if the software is stable enough for further testing
D. Security testing
Answer: C. Initial testing to check if the software is stable enough for further testing
Answer: B. Testing with limited knowledge of the internal structure and code
Answer: B. The hardware and software setup on which tests are conducted
A. Performance testing
B. Functional testing where test data is stored externally and used to run multiple test cases
C. Security testing
D. Testing the graphical user interface (GUI)
Answer: B. Functional testing where test data is stored externally and used to run multiple
test cases
Answer: B. Evaluating the system’s responsiveness, throughput, and stability under different
conditions
Answer: B. Testing modules as they are added to the system, one by one
Answer: B. It ensures the system meets the end user’s needs and business requirements
A. Testing how the system performs after adding new features or making changes
B. Testing the system’s initial functionality
C. Testing the system’s usability
D. Testing the system’s security
Answer: A. Testing how the system performs after adding new features or making changes
179. Load testing focuses on:
A. Checking how the system performs under a specific load of users or transactions
B. Testing the system's boundary conditions
C. Identifying defects in the user interface
D. Testing individual code modules
Answer: A. Checking how the system performs under a specific load of users or transactions
Answer: B. Documenting, managing, and tracking defects or issues during software testing
Answer: A. Finding how the system behaves under extreme load conditions
Answer: B. Testing the entire system to ensure it meets the specified requirements
Answer: B. Finding defects that may not cause immediate failures but could trigger issues
under rare conditions
(Latent defects are often undetected for long periods, surfacing only under specific
conditions.)
A. There are multiple implementations of the same software, and inconsistencies between
them need to be identified
B. The goal is to optimize test cases by removing duplicates
C. Testing how well the system scales under load
D. Testing performance under different environmental conditions
Answer: A. There are multiple implementations of the same software, and inconsistencies
between them need to be identified
(Differential testing compares outputs of different implementations of the same system to find
discrepancies.)
A. Compare the results of two versions of a system under the same test conditions
B. Test modules one after the other in sequence
C. Test the system’s performance under stress
D. Randomly select different parts of the system for testing
Answer: A. Compare the results of two versions of a system under the same test conditions
(Back-to-back testing ensures that the results of different versions or implementations are
consistent.)
204. Grey-box testing differs from white-box and black-box testing because:
Answer: C. It combines limited knowledge of internal logic with testing from a user
perspective
(Grey-box testing blends internal logic awareness with user-based testing.)
Answer: B. The tester’s intuition and experience to guess areas likely to contain defects
(Error guessing relies on the tester's expertise and intuition to identify defect-prone areas.)
207. In random testing, test cases are:
A. The challenge of determining the correct output for a given set of inputs
B. Ensuring that all test cases are automated
C. Defining the boundary conditions of the system
D. Testing security vulnerabilities in software
Answer: A. The challenge of determining the correct output for a given set of inputs
(The test oracle problem arises when it is difficult to know what the expected outcome of a
test should be.)