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

Multiple choice technology security
  1. Integration testing

  2. System testing

  3. Penetration testing

  4. Unit testing

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The ASAP Team performs penetration testing during the testing and rollout phase, which involves simulating real-world attacks to identify security weaknesses. Integration and system testing (options A and B) are typically done by the QA/testing team, while unit testing (option D) is done by developers during coding. Penetration testing is specifically focused on security.

Multiple choice technology security
  1. ASAP Team

  2. Development Team

  3. Testing Team

  4. Project Management

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The Development Team is responsible for fixing security vulnerabilities found during testing because they own the codebase and have the technical expertise to implement fixes. The ASAP Team identifies vulnerabilities, the Testing Team discovers them, and Project Management oversees the process, but none are responsible for the actual remediation work.

Multiple choice technology security
  1. Integration testing

  2. System testing

  3. Penetration testing

  4. Unit testing

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Penetration testing involves simulating real-world attacks on a system to identify security vulnerabilities before malicious actors can exploit them. The ASAP team specializes in security assessments, making penetration testing the most appropriate type of security-focused testing during the rollout phase.

Multiple choice technology security
  1. During testing

  2. During development

  3. During design

  4. During all phases of application development

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Application security must be integrated throughout every phase of development. Thinking about security only during testing is too late, and focusing only on design or development misses crucial aspects. Security considerations should begin at requirements gathering and continue through deployment and maintenance.

Multiple choice technology security
  1. White-box testing is performed by an independent programmer team

  2. Black-box testing uses the bottom-up approach

  3. Black-box testing involves the business units

  4. White-box testing examines the program internal logical structures

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

White-box testing involves examining and testing the internal logical structures, code, and design of an application. Black-box testing focuses on inputs and outputs without knowledge of internal code structure. The key difference is access to and understanding of the internal workings.

Multiple choice technology security
  1. Grey-box testing

  2. Black-box testing

  3. White-box testing

  4. None of these

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

White-box testing involves analyzing source code and internal logic. Using regular expressions and pattern databases to scan code for suspicious patterns is a static white-box technique, as it requires access to and examination of the underlying source code.

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.