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 testing
  1. supplements formal test design techniques.

  2. can only be used in component, integration and system testing

  3. is only performed in user acceptance testing.

  4. is not repeatable and should not be used.

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

Error guessing is an experience-based technique where testers use their intuition to guess where defects might exist. It supplements formal test design techniques (like boundary value analysis or equivalence partitioning) by adding informal, heuristic-based test cases. It can be used at any testing level and is repeatable when documented.

Multiple choice technology testing
  1. Actual results

  2. Program specification

  3. User requirements

  4. System specification

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

User Acceptance Testing (UAT) validates that the system meets user needs and business requirements. Therefore, the user requirements document is the best source for expected outcomes because it defines what users actually need from the system. System specifications focus on technical implementation, while actual results are what you observe during testing.

Multiple choice technology testing
  1. Will always be automated

  2. Will help ensure unchanged areas of the software have not been affected

  3. Will help ensure changed areas of the software have not been affected

  4. Can only be run during user acceptance testing

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

Regression testing verifies that unchanged areas of software still work correctly after modifications. Its purpose is to detect unintended side effects in parts of the system that weren't directly modified. It doesn't focus on changed areas (that's the job of other tests) and can be manual or automated at any test level.

Multiple choice technology testing
  1. post-release testing by end user representatives at the developer’s site.

  2. the first testing that is performed.

  3. pre-release testing by end user representatives at the developer’s site

  4. pre-release testing by end user representatives at their sites.

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

Alpha testing is pre-release testing conducted at the developer's site by end user representatives or independent test team. It happens before beta testing (which is at users' own sites) and before general release. Option A incorrectly states post-release, option B is wrong (unit testing comes first), and option D describes beta testing.

Multiple choice technology testing
  1. found in the software; the result of an error.

  2. departure from specified behaviour.

  3. an incorrect step, process or data definition in a computer program

  4. a human action that produces an incorrect result.

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

A failure is the departure of the system from its specified behavior - it's what the user observes when the software doesn't work as expected. An error is a human mistake that causes a defect (bug) in the code, and when that defect is executed, it causes a failure. Option C describes a defect, option D describes an error, and option A is incomplete.

Multiple choice technology testing
  1. System testing

  2. Acceptance testing

  3. Functional testing

  4. White box testing

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

Functional testing focuses on validating that the system behaves according to requirements by examining inputs and outputs without regard to internal implementation. It tests 'what' the system does rather than 'how' it does it internally. System testing is broader (tests entire system), Acceptance testing validates against user/business requirements, and White box testing specifically DOES look at internal code/logic - making it the opposite of what the question describes.

Multiple choice technology testing
  1. System testing

  2. Acceptance testing

  3. Functional testing

  4. White box testing

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

Functional testing focuses on validating that the system behaves according to requirements by examining inputs and outputs without regard to internal implementation. It tests 'what' the system does rather than 'how' it does it internally. System testing is broader (tests entire system), Acceptance testing validates against user/business requirements, and White box testing specifically DOES look at internal code/logic - making it the opposite of what the question describes. Note: This is a duplicate of question 134086.

Multiple choice technology testing
  1. Recovery testing

  2. Compatibility testing

  3. Performance testing

  4. Comparison testing

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

Performance testing is the umbrella term that encompasses stress testing and load testing. Load testing checks system behavior under expected load, stress testing pushes beyond expected limits, and performance testing evaluates overall system responsiveness, stability, and scalability under various conditions. The other options are unrelated: Recovery testing checks system recovery after failures, Compatibility testing validates interoperability, and Comparison testing compares different versions or systems.

Multiple choice technology testing
  1. Regression testing

  2. Load testing

  3. Install/Uninstall testing

  4. Sanity testing

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

Sanity testing is a quick, cursory testing performed to determine if a new software version is stable enough to warrant further major testing efforts. It's a subset of regression testing focused on core functionality. If sanity testing fails (major bugs in critical features), the build is rejected without wasting time on comprehensive testing. Regression testing is broader (checks all functionality), Load testing checks performance under load, and Install/Uninstall testing validates installation processes.

Multiple choice technology testing
  1. Usability testing

  2. Smoke testing

  3. Load testing

  4. Sanity testing

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

Smoke testing (also called build verification testing) is performed to check if the application is stable enough for further major testing and is working properly without failing in critical areas. It's a preliminary testing to determine the basic 'smoke' doesn't come out of the application when run - indicating it's stable enough for deeper testing. Sanity testing is similar but narrower (tests specific fixes), Load testing checks performance, and Usability testing evaluates user experience.