Computer Knowledge
Software Testing and Quality Control
2,292 Questions
Software testing and quality control questions cover testing methodologies, unit testing, and defect management. These concepts are crucial for the computer knowledge sections of competitive exams. Practice these questions to understand verification and validation processes thoroughly.
Quality control typesUnit testing purposeSoftware vulnerability testingTest planning tasksLoop testing criteriaTest harness functions
Software Testing and Quality Control Questions
-
Load Testing
-
Stress Testing
-
Volume Testing
-
System Testing
A
Correct answer
Explanation
The scenario requires determining current capacity to decide between horizontal (adding servers) or vertical (upgrading servers) scaling. Load testing simulates expected user loads to measure current system capacity and identify scaling points. Stress testing (Option B) finds breaking points. Volume testing (Option C) tests with large data volumes. System testing (Option D) is functional, not performance-focused.
B
Correct answer
Explanation
Performance testing requires tools to accurately measure response times, throughput, and resource utilization under load. Manual testing cannot generate consistent load, capture precise timing metrics, or simulate concurrent users. Automated tools like JMeter, LoadRunner, or VSTS are essential for credible performance testing. Therefore, the answer is False - you cannot properly conduct performance testing without tools.
-
1, 2, 3, 4
-
4, 2, 1, 3
-
3, 4, 1, 2
-
4, 3, 2, 1
A
Correct answer
Explanation
Object Identification is the most critical feature because scripts cannot run without locating UI elements. Asset reusability lowers maintenance overhead, and error recovery ensures unattended test execution. Graphical verification is the least critical due to its susceptibility to minor UI changes.
-
In parallel with application development
-
After at least one cycle of manual testing is done
-
After the AUT is moved to production
-
As soon as the manual testers are free
B
Correct answer
Explanation
Starting automation after at least one manual testing cycle ensures the application is stable enough and critical functional flows are understood. Manual testing first helps identify obvious defects and validates that workflows work as expected, preventing automation scripts from breaking constantly. Automating too early leads to high maintenance costs when the UI changes frequently, while waiting until production misses opportunities for early defect detection.
-
Build Verification Test cases (BVT)
-
Regression Test cases
-
Usability Test cases
-
BVT and Regression
-
Regression and Usability
D
Correct answer
Explanation
BVT (Build Verification Tests) and Regression test cases are ideal for automation because they are run frequently and involve stable, repeatable scenarios. BVTs verify core functionality after each build, while regression tests ensure existing features still work after code changes. Both types have predictable outcomes and high execution frequency, maximizing automation ROI. Usability testing involves subjective human judgment about user experience that cannot be automated effectively.
-
Visual Studio Coded UI Test
-
QTP
-
Rational Functional Tester
-
Selenium
D
Correct answer
Explanation
Selenium is a free, open-source automated testing framework specifically designed for web application UI automation. The other options listed (Visual Studio Coded UI Test, QTP/QuickTest Professional, and Rational Functional Tester) are all commercial tools requiring expensive licenses. Selenium's open-source nature makes it widely accessible for teams without budget constraints on testing tools.
-
The X,Y position of the control on the UI
-
An algorithm that is not exposed to the user
-
The identification properties from the GUI map
-
The relative position of the control with respect to the parent window
C
Correct answer
Explanation
Test automation tools identify controls using identification properties stored in a GUI map or object repository, which maps logical names to physical control properties like name, ID, class, or XPath. This abstraction layer separates test scripts from UI property changes, improving maintainability. X-Y coordinates are unreliable because UI elements can move, hidden algorithms would not be useful to testers, and relative positioning is less robust than property-based identification.
-
MAUI
-
Coded UI Test
-
QTP
-
Both MAUI and QTP
A
Correct answer
Explanation
MAUI (Microsoft Automation UI) is Microsoft's internal automation tool used within the company for testing purposes. Coded UI Test is a publicly available Microsoft Visual Studio feature, not internal. QTP (QuickTest Professional, now UFT) is a Micro Focus/HP product, not Microsoft. Therefore, only MAUI qualifies as a Microsoft internal tool among the options.
B
Correct answer
Explanation
A test automation framework itself is generally not considered intellectual property because it is typically a methodology or structure for organizing tests rather than a unique invention. Frameworks often use common design patterns (Page Object Model, Data-Driven, Keyword-Driven) that are widely shared across the industry. However, specific proprietary code implementations within a framework could be protected, but the framework concept as a testing organizational structure is not inherently IP.
-
WTT
-
Visual Studio Test List Editor
-
Maddog
-
All the above
-
Organizing batch execution of Automation scripts
-
Organizing the test results
-
Ordering of Automation scripts for execution
-
All the above
D
Correct answer
Explanation
A Test Harness serves multiple purposes: it organizes batch execution of automation scripts, organizes test results, and manages the ordering of script execution. All these functions are core to what a test harness does.
-
Functional Testing – Web Service Application
-
Functional Testing – Web Service API
-
Usability Testing
-
User Interface Testing
A
Correct answer
Explanation
When web services are integrated into a larger system, testing them as part of the complete application is called Functional Testing - Web Service Application. This tests the service's behavior within the system context. Testing just the API endpoints would be 'Web Service API' testing. Usability and UI testing focus on user interaction, not the service layer functionality.
-
Black-Box Testing
-
Glass-Box Testing
-
Grey-Box Testing
-
White-Box Testing
A
Correct answer
Explanation
Black-box testing validates software functionality by examining inputs and outputs without knowledge of internal code structure. Test cases are designed based on requirements and specifications to ensure each program function operates correctly from a user perspective.
-
Behavioral Errors
-
Logic Errors
-
Performance Errors
-
Typographical Errors
-
Both B and D
E
Correct answer
Explanation
Black-box testing examines software behavior from the outside without viewing internal code, so it cannot detect logic errors in code flow or typographical mistakes within the implementation. White-box testing, which inspects the internal structure, can uncover these hidden defects that don't manifest as behavioral failures.
-
Behavioral Testing
-
Black-Box Testing
-
Grey-Box Testing
-
White-Box Testing
D
Correct answer
Explanation
White-box testing involves examining and testing the internal logic, code structure, and implementation details of a software module. Test cases are designed to cover specific code paths, branches, and conditions within the source code itself.