Computer Knowledge
Software Testing and Quality Control
2,598 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
-
Enable all necessary monitoring systems to track the test.
-
Obtain all necessary permission to perform the test
-
Identify system weaknesses
-
Create a test plan
B
Correct answer
Explanation
Before conducting any penetration test, obtaining explicit written permission from system owners is not just a best practice - it's a legal and ethical requirement. Unauthorized penetration testing, even for benevolent purposes, is illegal. Monitoring systems (A), creating test plans (D), and identifying weaknesses (C) all come AFTER securing proper authorization. Permission protects both the tester and the organization.
-
Requirements
-
Defect density
-
Failure Modes
-
Availability
-
Specifications
D
Correct answer
Explanation
Nonfunctional criteria (or nonfunctional requirements) describe quality attributes and constraints rather than specific behaviors or features. Availability is a classic nonfunctional requirement - it specifies how available the system must be (e.g., 99.9% uptime). Requirements, defect density, failure modes, and specifications are either functional requirements or quality metrics, not nonfunctional criteria themselves.
-
OpenSTA
-
IBM Rational Performance Tester
-
JMeter
-
LoadRunner
-
WinRunner
E
Correct answer
Explanation
WinRunner is a functional GUI testing tool, not a performance testing tool. OpenSTA, IBM Rational Performance Tester, JMeter, and LoadRunner are all specifically designed for load and performance testing of systems under stress.
-
Load Test
-
Stress Test
-
Performance Test
-
Endurance Test
-
Volume Test
A
Correct answer
Explanation
Load testing specifically evaluates system response times and behavior under expected production-level user load. It validates that the system meets performance requirements for normal operations. Stress testing uses beyond-normal loads, while endurance testing focuses on sustained load duration.
-
Load Test
-
Stress Test
-
Performance Test
-
Endurance Test
-
Volume Test
C
Correct answer
Explanation
Performance testing measures response times, throughput, and other performance characteristics at a specific load level, often starting with low loads to establish baselines. Unlike load testing (which targets production loads) or stress testing (which exceeds normal capacity), performance testing can occur at any load level to understand system behavior.
-
Load Test
-
Stress Test
-
Performance Test
-
Endurance Test
-
Volume Test
B
Correct answer
Explanation
Stress testing evaluates system behavior under loads beyond normal operational capacity, often reaching breaking points. It identifies failure modes, bottlenecks, and recovery characteristics. Unlike load testing which uses expected production loads, stress testing intentionally pushes beyond to test system limits and failure handling.
-
Load Test
-
Stress Test
-
Performance Test
-
Endurance Test
-
Volume Test
D
Correct answer
Explanation
Endurance testing, also called stability or soak testing, validates that the system can sustain expected loads continuously over extended periods without performance degradation or resource exhaustion. It identifies memory leaks, connection pool issues, and other problems that only manifest under prolonged operation.
-
the waiting process during test execution for multiple virtual users to arrive at a certain point
-
playback the script in multi-user mode
-
the events that occur during each testing session
-
recording a script
C
Correct answer
Explanation
A test scenario describes the sequence of events, conditions, and user flows that occur during a testing session. It documents what happens from start to finish, including user actions, system responses, and validation points. Options A, B, and D describe specific technical mechanisms (rendezvous points, playback, recording) rather than the overall scenario.
-
Multiple web servers with a load balancer
-
Data caching on client side
-
Parameterize input parameters
-
Placing a rendezvous point
B
Correct answer
Explanation
Client-side data caching artificially improves performance test results because cached responses avoid server requests entirely. This masks true server capacity and response times. Unlike production where users have diverse cache states, performance tests should reflect worst-case uncached scenarios to accurately measure server capabilities.
-
Out of the box implementations usually doesn't meet performance requirements
-
Project manager was given an agressive schedule as it is an Out of the box implementation
-
Out of the box implementation may have undocumented performance problems
-
Less experianced deveopers were involved as it is an out of the box implemenation
C
Correct answer
Explanation
Out-of-the-box (OOTB) software is not automatically performance-tested for your specific workload and environment. Vendor performance claims are often based on idealized conditions that may not match your production reality. Even well-regarded OOTB solutions can have undocumented bottlenecks, memory leaks, or scaling issues that only surface under your specific usage patterns. Performance testing validates that the OOTB solution meets your actual requirements rather than assuming it will.
-
No need to do a performance test as test and production servers are not similar
-
Recommend the customer to upgrade the test server equivalent to production server proir to the performance test
-
Carry out the performance test with 50% anticipated production load
-
Carry out the performance test with 100% anticipated production load
B
Correct answer
Explanation
Performance test results from a 50% resource environment cannot be reliably extrapolated to production because bottlenecks may manifest differently at scale. Testing with reduced load (option C) assumes linear scaling which is often false, while testing with full load on undersized hardware (option D) would likely crash. For meaningful performance validation, the test environment should closely mirror production capacity, or you must establish a proven scaling model first.
-
Concurrent users defination unclear
-
Test data not suffeciently populated
-
Test & prod environments differ significantly
-
Network bandwidth not simulated
-
All of the above
E
Correct answer
Explanation
Performance testing failures commonly stem from misalignment between test conditions and production reality across multiple dimensions. Unclear concurrent user definitions (A) lead to underestimating or overestimating actual load. Insufficient test data (B) misses query optimization issues that only appear with realistic data volumes. Environment differences (C) hide infrastructure bottlenecks. And network bandwidth (D) is frequently overlooked but critical for real-world performance. All four are valid failure modes.
-
Phase containment
-
Defect detection efficiency
-
Test case execution cycle time
-
Test case defect density
D
Correct answer
Explanation
Phase containment, defect detection efficiency, and test case execution cycle time all measure aspects of test process capability. Test case defect density (D) is a product quality metric, not a process capability metric - it measures test thoroughness, not execution process performance.
-
0, 10, and 30 characters in length.
-
4, 5, 25 and 26 characters in length.
-
5, 6, 24 and 25 characters in length.
-
from 5 to 25 characters inclusively.
B
Correct answer
Explanation
Boundary testing requires testing at the exact boundaries (4, 5, 25, 26) to verify correct handling of minimum, maximum, and just-outside-bounds values. Option C only tests within valid range (5, 6, 24, 25) and misses the critical boundary failure cases, while Option A includes arbitrary values.
C
Correct answer
Explanation
RFT supports multiple log types including Text log (default) and HTML log for formatted output. Java is not a log type in RFT - it is the scripting language used to write tests, not a logging format.