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

Multiple choice technology security
  1. Enable all necessary monitoring systems to track the test.

  2. Obtain all necessary permission to perform the test

  3. Identify system weaknesses

  4. Create a test plan

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology architecture
  1. Requirements

  2. Defect density

  3. Failure Modes

  4. Availability

  5. Specifications

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology architecture
  1. OpenSTA

  2. IBM Rational Performance Tester

  3. JMeter

  4. LoadRunner

  5. WinRunner

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology architecture
  1. Load Test

  2. Stress Test

  3. Performance Test

  4. Endurance Test

  5. Volume Test

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology architecture
  1. Load Test

  2. Stress Test

  3. Performance Test

  4. Endurance Test

  5. Volume Test

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology architecture
  1. Load Test

  2. Stress Test

  3. Performance Test

  4. Endurance Test

  5. Volume Test

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology architecture
  1. Load Test

  2. Stress Test

  3. Performance Test

  4. Endurance Test

  5. Volume Test

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology architecture
  1. the waiting process during test execution for multiple virtual users to arrive at a certain point

  2. playback the script in multi-user mode

  3. the events that occur during each testing session

  4. recording a script

Reveal answer Fill a bubble to check yourself
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 choice technology architecture
  1. Multiple web servers with a load balancer

  2. Data caching on client side

  3. Parameterize input parameters

  4. Placing a rendezvous point

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology architecture
  1. Out of the box implementations usually doesn't meet performance requirements

  2. Project manager was given an agressive schedule as it is an Out of the box implementation

  3. Out of the box implementation may have undocumented performance problems

  4. Less experianced deveopers were involved as it is an out of the box implemenation

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology architecture
  1. No need to do a performance test as test and production servers are not similar

  2. Recommend the customer to upgrade the test server equivalent to production server proir to the performance test

  3. Carry out the performance test with 50% anticipated production load

  4. Carry out the performance test with 100% anticipated production load

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology architecture
  1. Concurrent users defination unclear

  2. Test data not suffeciently populated

  3. Test & prod environments differ significantly

  4. Network bandwidth not simulated

  5. All of the above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Phase containment

  2. Defect detection efficiency

  3. Test case execution cycle time

  4. Test case defect density

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. 0, 10, and 30 characters in length.

  2. 4, 5, 25 and 26 characters in length.

  3. 5, 6, 24 and 25 characters in length.

  4. from 5 to 25 characters inclusively.

Reveal answer Fill a bubble to check yourself
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.