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 testing
  1. Load Testing

  2. Capacity Testing

  3. Endurance Testing

  4. Stress Testing

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

Load testing specifically verifies application behavior under normal and peak load conditions. It measures response times, throughput rates, and resource utilization levels. The key phrase 'normal and peak load conditions' directly matches the definition of load testing, which differs from stress (beyond peak), endurance (sustained load), or capacity (maximum load) testing.

Multiple choice technology
  1. Tester

  2. Developer

  3. Business Analyst

  4. End User

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

Based on the available options and elimination of other roles (Tester, Developer, End User), Sarah Clubley is identified as the Business Analyst. Business Analysts typically bridge the gap between business requirements and technical implementation.

Multiple choice technology mainframe
  1. DEBUG

  2. TEST

  3. CHECK

  4. XPEDITOR

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

TEST is a debugging utility/command in Natural that allows programmers to trace program execution, examine variable values, and set breakpoints. While modern development environments use SPoD (Single Point of Development) with graphical debugging, TEST remains the foundational debugging tool referenced in Natural programming curriculum and documentation.

Multiple choice technology testing
  1. Black box Testing

  2. System Testing

  3. Independent Testing

  4. Acceptance Testing

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

Acceptance testing is conducted to demonstrate that the system meets user requirements and is ready for deployment. Black box testing focuses on inputs/outputs without seeing internal code. System testing evaluates the entire system's compliance with specified requirements. Independent testing is done by a separate team, not specifically for user compliance.

Multiple choice technology testing
  1. Unit testing

  2. Integration testing

  3. Functional testing

  4. System testing

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

Integration testing specifically focuses on testing the interactions and interfaces between different units or modules after they have been individually unit-tested. Unit testing tests individual components in isolation. Functional testing verifies specific functions. System testing tests the entire integrated system.

Multiple choice technology testing
  1. Test case

  2. Test script

  3. Test condition

  4. Test log

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

A test case is a documented set of steps, inputs, and expected results used to verify specific functionality. A test script is the automated code implementing test cases. A test condition is a specific state or situation to test. A test log records test execution results, not the procedure itself.

Multiple choice technology testing
  1. Checking that we are building the right system

  2. Checking that we are building the system right

  3. Performed by an independent test team

  4. Making sure that it is what the user really wants

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

Verification means 'building the system right' - ensuring the software conforms to specifications and requirements (are we building it correctly?). Validation means 'building the right system' - ensuring it meets user needs (is this what users want?). Option A describes validation, not verification.

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 is designed to verify that unmodified portions of the codebase continue to function correctly after updates. Distractors are incorrect because regression testing does not have to be automated, it targets unchanged (rather than changed) areas, and can be run during unit, integration, and system testing phases.

Multiple choice technology testing
  1. Error guessing

  2. Walkthrough

  3. Data flow analysis

  4. Inspections

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

To answer this question the user needs to know about the static testing techniques used in software testing. Static testing techniques are used to examine the software or code without executing it. The given question is asking about the static testing technique that is not a part of static testing.

Now, let's discuss each option to determine which one is not a static testing technique:

A. Error guessing: Error guessing is a dynamic testing technique that relies on the knowledge and experience of the tester to identify potential errors in the software.

B. Walkthrough: Walkthrough is a static testing technique where the author of the document leads the meeting to gather feedback and identify issues.

C. Data flow analysis: Data flow analysis is a static testing technique used to identify and analyze the flow of data in a software application.

D. Inspections: Inspections are a formal review process that involves a group of people examining the software or code for defects and other issues. It is a static testing technique.

Therefore, the answer is A. Error guessing is not a static testing technique.

Multiple choice technology testing
  1. Operability

  2. Observability

  3. Simplicity

  4. Robustness

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

Testability characteristics include: Operability (ease of operating the system), Observability (ease of seeing results), Simplicity (ease of understanding), and Controllability. Robustness (fault tolerance and error handling) is a desirable quality attribute but not a characteristic that specifically makes a system easier to test.

Multiple choice technology testing
  1. A black box testing technique used only by developers

  2. A black box testing technique than can only be used during system testing

  3. A black box testing technique appropriate to all levels of testing

  4. A white box testing technique appropriate for component testing

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

Equivalence partitioning is a black-box testing technique that divides input data into valid and invalid equivalence classes. It can be applied at any testing level - unit, integration, system, or acceptance testing. Options A and B incorrectly restrict its usage (not developer-only, not system-testing-only). Option D is wrong because equivalence partitioning is a black-box technique, not white-box.

Multiple choice technology testing
  1. Test Matrix

  2. Checklist

  3. Test bed

  4. Traceablity Matrix

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

A traceability matrix maps requirements to test cases, ensuring all requirements are covered by at least one test case and providing tracking through the development lifecycle. Test matrices, checklists, and test beds serve different purposes.

Multiple choice technology testing
  1. Usability Testing

  2. Security Testing

  3. Unit testing

  4. Black Box Testing

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

To answer this question, the user needs to know about non-functional software testing and the different types of software testing.

Usability testing is a non-functional software testing that is performed to check if the user interface is easy to use and understand, making option A the correct answer.

Option B, Security testing, is a type of functional software testing that checks if the software system is secure from external threats and internal vulnerabilities.

Option C, Unit testing, is a type of functional software testing that checks if the individual units or components of the software system are working as intended.

Option D, Black Box testing, is a type of functional software testing that checks if the software system is working as intended by testing it without any knowledge of its internal workings.

Therefore, the correct answer is:

The Answer is: A. Usability Testing

Multiple choice technology testing
  1. Unit Testing

  2. Blackbox testing

  3. White box Testing

  4. Regression testing

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

White box testing involves examining the internal code structure, logic, and implementation. Testers have access to the source code and design test cases based on code coverage and internal paths, unlike black box testing which only considers inputs and outputs.