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. Beta Testing

  2. Greybox testing

  3. Test Automation

  4. White box testing

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

Acceptance testing determines if software meets business requirements and is ready for delivery. Beta testing is a type of acceptance testing conducted by end users in their environment, making them closely related concepts in software testing.

Multiple choice technology testing
  1. Regression Testing

  2. Unit Regression

  3. Regional Regression

  4. Retesting

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

Regression testing is performed to verify that recent code changes or updates have not adversely affected existing functionalities of the software application. Retesting specifically verifies a fixed bug, unit regression applies to single units, regional regression is not a standard testing term, and retesting the entire app constitutes regression testing.

Multiple choice technology testing
  1. Unit Testing

  2. Black box testing

  3. Performance Testing

  4. Regression testing

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

Performance Testing is a non-functional testing type because it tests system attributes like speed, response time, stability, and scalability under various workload conditions, rather than specific functional behaviors. Unit testing, black box testing, and regression testing primarily focus on functional requirements.

Multiple choice technology testing
  1. True

  2. False

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

Manual testing should typically come before automation. Initial exploratory testing and test case design are done manually to understand the application. Automation is then applied to stable, repetitive test cases after manual testing has validated them. Starting with automation without understanding the system through manual testing is inefficient.

Multiple choice technology testing
  1. Test Bed

  2. Checkpoint

  3. Code Walk through

  4. Checklist

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

A test bed is a dedicated execution environment configured with specific hardware, operating systems, database management systems, network configurations, and software tools necessary to test an application under realistic conditions. Other options, like checklists or code walkthroughs, refer to documentation or review processes rather than an environment.

Multiple choice technology testing
  1. Testers

  2. End Users

  3. Customer

  4. Developers

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

Unit testing involves verifying the behavior of individual units of source code, such as functions or classes, in isolation. Because it requires access to the codebase and programming knowledge to write test cases and debug code, it is performed by developers rather than testers, customers, or end users.

Multiple choice technology testing
  1. Big Bang Testing

  2. Bottom Up Testing

  3. Top Down Testing

  4. All the above

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

Integration testing has multiple approaches: Big Bang (integrate all components at once), Bottom Up (start with low-level modules and integrate upward), and Top Down (start with high-level modules and integrate downward).

Multiple choice technology testing
  1. The test is automated and it is not programmed to compare the specific misbehavior to an expected result.

  2. The test is manual (run by a human) but the human is paying attention to other aspects of the program's behavior and doesn't notice the misbehavior.

  3. The tester knows how to run the test but doesn't know what to look for as a result.

  4. option1 and 2

  5. All of the above

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

A program misbehavior can go unnoticed (appearing to pass) due to automated tests lacking specific assertions (option 1), manual testers focusing on other UI elements (option 2), or lack of oracle knowledge (option 3). Therefore, all of these options are valid reasons.

Multiple choice technology testing
  1. Identifying tests that pose too much risk to be run, except under carefully controlled circumstances.

  2. Designing tests that are optimized to expose serious problems.

  3. Thorough documentation of high-risk attributes of the program under test.

  4. Evaluation of a product's risks in the field.

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

Risk-based testing uses identified risks to prioritize, design, and guide tests, ensuring resources are optimized to expose serious problems early. The other options describe risk documentation, execution constraints, or field evaluation rather than the design of risk-based tests.

Multiple choice technology testing
  1. defects

  2. routine checks

  3. zero defects

  4. faults

  5. monitoring

  6. flaws

Reveal answer Fill a bubble to check yourself
A,D,F Correct answer
Explanation

From an end-user perspective, testing seeks to address problems like defects, faults, and flaws, which represent incorrect or undesirable behaviors. Routine checks and monitoring are testing activities, and zero defects is an objective, not a user-facing problem.

Multiple choice technology testing
  1. inspection

  2. warranty

  3. zero defects

  4. routine checks

  5. monitoring

  6. customer satisfaction

Reveal answer Fill a bubble to check yourself
A,C,D,E Correct answer
Explanation

Quality Control in testing focuses on inspection of deliverables, aiming for zero defects through routine checks, and continuous monitoring of the testing process. Warranty and customer satisfaction, while important, are outcomes of Quality Assurance rather than direct testing QC activities.

Multiple choice technology testing
  1. Statement coverage

  2. Point to point coverage

  3. Branch coverage

  4. Basic path coverage

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

Standard test coverage metrics include statement coverage (executing each statement), branch coverage (testing each branch decision), and basic path coverage (covering independent paths). Point to point coverage is not a recognized or standard coverage metric in software testing.

Multiple choice technology testing
  1. Compliance Testing – Business rules

  2. Black Box Testing – Path Coverage

  3. Regression Testing – End users

  4. File Integrity – Control Totals

  5. None of the above

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

Control totals are a batch control technique used to verify file integrity by summing numeric fields before and after processing. Compliance testing checks business rules compliance but uses different methods. Black box testing examines inputs/outputs without internal path coverage. Regression testing is performed by testers, not end users.