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
-
To reduce testing time
-
To reduce testing cost
-
All of the above
-
We have budget for automation
C
Correct answer
Explanation
Automation is primarily adopted to reduce testing time (automated tests run much faster than manual testing) and reduce cost (less manual effort required over time, especially for regression testing). Option C 'All of the above' correctly captures both these primary benefits. Option A and B individually are both valid reasons to automate. Option D is not a reason to automate - having a budget is an enabler, not a motivation. Option C is correct.
-
Load Testing
-
Stress Testing
-
Functional Testing
-
Regression Testing
B
Correct answer
Explanation
Stress testing pushes a system beyond its specified limits to find breaking points. Since the requirement states 'up to 10 MB' but we're testing with 100 MB (10x the documented limit), this is stress testing - we're intentionally exceeding normal capacity to observe failure behavior. Load testing tests expected load (within specifications). Functional testing verifies features work as specified. Regression testing checks that changes don't break existing functionality. Option B is correct.
-
Load Testing
-
Stress Testing
-
Negative Testing
-
Regression Testing
C
Correct answer
Explanation
Negative testing involves testing beyond the specified valid boundaries to verify the system properly handles invalid input. Testing with 6 characters when the requirement states maximum 5 characters is testing the failure condition - the system should reject this input. Load testing and stress testing are performance testing types, while regression testing checks for unintended changes after modifications.
-
Manual Testing
-
Functional Testing, Regression Testing
-
Manual Testing, Automation Testing
-
Automation Testing
C
Correct answer
Explanation
The two primary methods of software testing execution are manual testing (where test cases are run manually by a human) and automation testing (where scripts and tools execute the tests). Other options list specific testing types rather than general execution methods.
-
To find bug whenever time permits
-
To find bug in the assigned module
-
To find bugs as early as possible
-
To find bugs whenever automation suite is executed
C
Correct answer
Explanation
One of the fundamental principles of software testing is to identify and resolve defects as early as possible in the software development life cycle (SDLC) to reduce the cost and effort of fixing them later.
-
Find bugs
-
Provide confidence and information
-
Prevent defects
-
All of the above
D
Correct answer
Explanation
Testing serves multiple purposes: it finds bugs in the software, provides confidence and information about system quality to stakeholders, and helps prevent defects by identifying issues early. 'All of the above' correctly captures that testing is not just about finding bugs but is a comprehensive quality assurance activity.
-
Total numbers of features to be tested
-
Testing approaches to be tested
-
Testing tools to be used
-
All of the above
D
Correct answer
Explanation
A Test Plan is a comprehensive document that details the scope, objective, target market, resources, test environments, features to be tested, test methodologies, tools, and schedule for a testing project, making all options correct.
-
Load Testing
-
Stress Testing
-
Functional Testing
-
Regression Testing
A
Correct answer
Explanation
Load testing evaluates system performance under expected load conditions. Testing the printer with exactly 100 pages in 30 seconds matches the requirement specification, making this load testing - verifying the system meets its stated performance criteria under normal load. Stress testing would exceed this limit to find breaking points.
-
Equivalence Partitioning
-
Boundary Value Analysis
-
Error Guessing
-
State Transition Testing
C
Correct answer
Explanation
Error guessing is a black box testing technique where testers use their experience and intuition to make educated guesses about where defects might exist. Unlike formal methods such as equivalence partitioning or boundary value analysis, error guessing relies on the tester's judgment to identify potential error conditions based on common mistakes.
-
Curiosity
-
A critical eye
-
Good Communication
-
All of the above
D
Correct answer
Explanation
Effective software testing requires curiosity to explore the system thoroughly, a critical eye to identify potential issues and edge cases, and good communication skills to document and report findings clearly. 'All of the above' correctly identifies that successful testing demands all these qualities combined.
-
Any tester
-
Any tester who wants to do it
-
Any tester who has understanding of software coding
-
Test Lead
C
Correct answer
Explanation
Automation testing requires programming knowledge to write and maintain test scripts. Any tester with coding understanding can perform automation testing, distinguishing it from manual testing which doesn't require coding skills. Test leads may or may not do automation - it's a technical skill, not a role-specific one.
-
System Testing
-
Unit Testing
-
Integration Testing
-
Regression Testing
D
Correct answer
Explanation
Regression testing involves re-running previously executed tests to verify that recent code changes have not adversely affected existing functionality. Re-applying tests from old builds to new builds is the classic definition of regression testing - ensuring nothing that worked before has broken.
-
What to test
-
Inputs to test
-
Expected results
-
Test Conditions and Constraints
-
All of the above
E
Correct answer
Explanation
A test case is a comprehensive specification that includes what to test, the inputs to be used, expected results, and the conditions and constraints under which testing occurs. 'All of the above' correctly identifies that test cases encompass all these elements to provide complete guidance for test execution.
-
Installation testing
-
Integration testing
-
Configuration testing
-
Regression testing
-
Stress testing
E
Correct answer
Explanation
Stress testing evaluates system behavior under extreme load conditions, often beyond expected capacity. Flooding the system with transactions to test peak performance is stress testing - it pushes the system to its limits to identify breaking points and ensure it handles overload conditions gracefully.
-
Functional testing
-
Requirements Testing
-
Regression Testing
-
User Testing
A
Correct answer
Explanation
Functional testing evaluates software based on functional requirements - what the system should do from a user perspective. It verifies that each feature of the software operates as specified in the requirements document, making 'Functional testing' the correct answer.