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. 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. True

  2. False

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

Quality tools are not limited to just two categories. The standard 'Seven Basic Quality Tools' include Check sheets, Control charts, Histograms, Pareto charts, Scatter diagrams, Flow charts, and Cause-and-effect diagrams. Additionally, there are tools like stratification, run charts, and others. The categorization is more complex than just 'identification' and 'analysis' tools.

Multiple choice technology testing
  1. Water falls model

  2. Spiral Model

  3. V-model

  4. Linear model

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

The V-model is a software development lifecycle model where validation and verification phases map directly to corresponding development phases. Under this model, testing activities (such as designing test cases) begin concurrently with early development stages like requirements analysis, unlike sequential models like the waterfall or linear models.

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. True

  2. False

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

Software testing is formally defined as the process of evaluating a software system or its components by manual or automated means to verify that it satisfies specified requirements or to identify differences between expected and actual results. This statement matches standard software engineering definitions.

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. Detective

  2. Corrective

  3. Preventive

  4. Protective

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

Quality Assurance methods are considered preventive because they focus on process improvement and preventing defects before they occur. QA examines the development process to eliminate root causes of potential issues.

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.

Multiple choice technology testing
  1. helps an organization to decide how the Quality function is deployed

  2. is testing of previously verified program of application

  3. is another approach to implementing balance score card method

  4. is a systematic method to translate customer wants or needs into product or service

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

Quality Function Deployment (QFD) is a structured methodology that translates customer needs (Voice of Customer) into technical product requirements. It uses matrices like the House of Quality to prioritize features and ensure the final product aligns with customer expectations.