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
-
Gorilla Testing
-
Monkey Testing
-
Automation Testing
-
User Testing
B
Correct answer
Explanation
Monkey Testing is a software testing technique where tests are performed randomly with the goal of breaking the system. It simulates a monkey randomly using the application without specific test cases, helping discover unexpected bugs and crashes that structured testing might miss. Automation tools are often used to generate these random inputs.
-
Stress Testing
-
Random testing
-
Ad Hoc testing
-
Functional Testing
C
Correct answer
Explanation
Ad Hoc testing is an informal testing approach where the tester tries to break the system by randomly exploring its functionality without formal test plans or documentation. Unlike structured testing methods, it relies on the tester's intuition and experience to find defects through spontaneous exploration.
-
Unit Testing
-
Endurance Testing
-
Monkey Testing
-
Gorilla Testing
D
Correct answer
Explanation
Gorilla Testing is a testing technique where one particular module or component is tested heavily and repeatedly to ensure it works correctly under all conditions. Like a gorilla pounding on one spot, this approach focuses intensive testing effort on a single area rather than broad coverage, often used for critical or complex modules.
-
Endurance testing
-
Functional Testing
-
Exhaustive testing
-
Ad Hoc Testing
A
Correct answer
Explanation
Endurance testing specifically targets problems that emerge during extended runtime, such as memory leaks, resource exhaustion, or performance degradation that compound over time. Functional testing validates behavior against requirements, exhaustive testing tries all possible inputs (impractical), and ad hoc testing is informal exploration.
-
Random Testing
-
Exhaustive testing
-
Endurance testing
-
Mutation testing
B
Correct answer
Explanation
Exhaustive testing is a testing approach that attempts to cover all possible combinations of input values and preconditions for a software element. It theoretically tests every possible path and scenario, though this is often impractical for complex systems due to combinatorial explosion. Random testing selects inputs arbitrarily, while endurance testing checks for issues during prolonged execution, and mutation testing modifies code to verify test suite effectiveness.
-
Ad Hoc testing
-
Gorilla testing
-
Monkey testing
-
Mutation testing
C
Correct answer
Explanation
Monkey testing is a testing technique where automated tools randomly execute system functionality without specific test cases. It's named after the concept of a monkey randomly interacting with a system. This differs from Ad Hoc testing (unstructured but manual), Gorilla testing (focused repetitive testing of critical features), and Mutation testing (modifying code to test test suite effectiveness).
-
Endurance Testing
-
Exhaustive Testing
-
Mutation Testing
-
Ad Hoc tesing
D
Correct answer
Explanation
Ad Hoc testing is an informal, unstructured testing approach where testers randomly execute system functionality to find defects. Unlike other testing types, it relies on tester intuition and lacks formal planning. Endurance testing checks for issues over prolonged execution, Exhaustive testing covers all input combinations, and Mutation testing modifies code to verify test effectiveness.
-
Gorilla Testing
-
Monkey Testing
-
Load Testing
-
Stress Testing
A
Correct answer
Explanation
Gorilla Testing involves testing a single module, node, or function repeatedly and heavily to verify its robustness under extreme conditions. In contrast, Monkey Testing refers to random testing without a test plan, whereas Load and Stress testing assess performance and limits of the entire system under workload.
-
Long Testing
-
Stress Testing
-
Endurance testing
-
Exhaustive testing
C
Correct answer
Explanation
Endurance testing (also called longevity or soak testing) checks for problems that occur during prolonged system execution. It specifically targets memory leaks, resource exhaustion, and performance degradation that may only appear after extended operation. This differs from stress testing (overloading the system) and exhaustive testing (covering all inputs).
-
Ad Hoc Testing
-
Exhaustive testing
-
Mutation Testing
-
Random testing
B
Correct answer
Explanation
Exhaustive testing is a systematic approach that attempts to cover all possible combinations of input values and preconditions for a software element. It theoretically tests every path, state, and input combination, though this is often impractical for complex systems due to the exponential growth of test cases. This differs from random testing (arbitrary input selection) and mutation testing (code modification).
B
Correct answer
Explanation
In a pest/defect tracking system (PEST likely refers to Project Error/Issue Tracking System), the testing type is a MANDATORY field. Every defect must be categorized by testing type (functional, performance, security, etc.) for proper triage, assignment, and metric analysis. This metadata is essential for defect lifecycle management.
-
Within the Project
-
Outside the Project
-
QAG
-
All the above
B
Correct answer
Explanation
External Quality Assurance is designed to provide an objective, unbiased review of project quality, which requires it to be conducted by personnel outside the project team. Internal QA is done within the project, while QAG (Quality Assurance Group) could be internal or external depending on the structure.
-
QA Prime
-
Test Lead
-
Tester
-
QA Analyst
D
Correct answer
Explanation
In the QA team hierarchy, the QA Analyst is responsible for day-to-day test execution and issue identification. When they encounter blocking issues or dependencies that prevent progress, they escalate these to the TCS QA Manager. Test Leads and QA Primes focus on planning and coordination, while Testers may report to QA Analysts rather than directly to QA Manager.
B
Correct answer
Explanation
Functional testing and Regression testing are sequential, not simultaneous. Functional testing validates new features first. Once features pass functional tests, THEN regression testing ensures existing functionality remains intact. Running them simultaneously would waste resources - if functional tests fail, there's no point running regression until fixes are made.
-
DDD
-
High Level Scenarios
-
Low Level Scenarios
-
SSD
B
Correct answer
Explanation
During the test design phase, test cases are developed based on high-level scenarios. High-level scenarios outline the overall flow and functionality to be tested, which are then refined into detailed test cases. Documents like DDD (Detailed Design Document) or SSD are design specifications, not test scenarios.