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. Is the same as equivalence partitioning tests

  2. Test boundary conditions on, below and above the edges of input and output equivalence classes

  3. Tests combinations of input circumstances

  4. Is used in white box testing strategy

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

Boundary value analysis is a black-box testing technique that focuses on testing at the boundaries, just below, and just above the edges of input and output equivalence classes. It's distinct from equivalence partitioning (A), doesn't test combinations (C), and is not specific to white-box testing (D).

Multiple choice technology testing
  1. System testing

  2. Usability testing

  3. Performance testing

  4. Both b & c

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

Non-functional testing evaluates system attributes beyond functional behavior. Usability testing assesses user experience and interface design, while Performance testing measures system responsiveness, scalability, and speed under load. Both test quality characteristics rather than specific features.

Multiple choice technology testing
  1. Data tester

  2. Boundary tester

  3. Capture/Playback

  4. Output comparator

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

Capture/Playback tools record manual test interactions and replay them automatically, making them ideal for regression test automation. They capture user actions and test inputs during manual execution, then reproduce them precisely to validate that recent changes haven't broken existing functionality.

Multiple choice technology testing
  1. Done by the Developer

  2. Done by the Test Engineers

  3. Done By Management

  4. Done by an Entity Outside the Project’s sphere of influence

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

Independent Verification & Validation means testing performed by an organization completely separate from the development project. This independence ensures objectivity - the evaluating entity has no stake in the project's outcome and no influence from the development team, providing unbiased quality assessment.

Multiple choice technology testing
  1. updating tests when the software has changed

  2. testing a released system that has been changed

  3. testing by users to ensure that the system meets a business need

  4. testing to maintain business advantage

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

Maintenance testing involves testing a system that has already been released and is operational, after changes or modifications have been made. It ensures that updates, patches, or enhancements haven't introduced defects and that the system continues to function correctly in its production environment.

Multiple choice technology testing
  1. performed by customers at their own site

  2. performed by customers at the software developer's site

  3. performed by an Independent Test Team

  4. performed as early as possible in the lifecycle

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

Beta testing is performed by actual end users at their own locations using their own hardware and data. This distinguishes it from alpha testing, which is conducted at the developer's site by internal teams. Beta testing provides real-world validation before general release.

Multiple choice technology testing
  1. re-testing ensures the original fault has been removed; regression testing looks for unexpected side-effects

  2. re-testing looks for unexpected side-effects; regression testing ensures the original fault has been removed

  3. re-testing is done after faults are fixed; regression testing is done earlier

  4. re-testing is done by developers; regression testing is done by independent testers

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

Re-testing (confirmation testing) is performed to verify that a specific bug has been successfully resolved. Regression testing checks whether recent code modifications have accidentally introduced new faults or broken existing functionality in unmodified areas of the system. Their purposes and scopes are distinct.

Multiple choice technology testing
  1. It includes the verification of designs.

  2. It states that modules are tested against user requirements.

  3. It specifies the test techniques to be used.

  4. It only models the testing phase.

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

The V-model is a software development model that links each development phase with a corresponding testing phase. Its key principle is that modules are validated against user requirements through verification and validation activities. Option B correctly captures this fundamental testing principle.

Multiple choice technology testing
  1. When the specified number of faults are found.

  2. When the test completion criteria are met.

  3. When all high and medium priority tests are complete.

  4. When all statements have been executed.

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

Testing stops when predetermined completion criteria are met, not when arbitrary fault counts are reached or specific test categories finish. Good test planning defines exit criteria based on risk, coverage, and quality thresholds. Statement coverage alone is insufficient as a stopping criterion.

Multiple choice technology testing
  1. Features to be tested

  2. Incident reports

  3. Risks

  4. Schedule

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

A test plan typically includes features to be tested, risks, schedule, and scope. Incident reports are outputs of test execution, not inputs to planning. They belong in test summary reports, not the plan itself. The plan documents what will be tested and how, not results from testing.

Multiple choice technology testing
  1. Statement testing

  2. Path testing

  3. Data flow testing

  4. State transition testing

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

To answer this question, the user needs to know about white box testing techniques.

White box testing techniques are also known as structural testing techniques. These techniques are used to test the internal structure of the software system. In white box testing, the tester has knowledge of the internal workings of the system being tested.

Now, let's go through each option to determine which one is NOT a white box technique:

A. Statement testing: This is a white box testing technique where each statement in the source code is executed at least once. The purpose of this testing is to ensure that every statement in the code has been executed and tested.

B. Path testing: This is a white box testing technique where all possible paths through the software are tested. The purpose of this testing is to ensure that all logical paths through the software have been executed and tested.

C. Data flow testing: This is a white box testing technique where the flow of data through the software is tested. The purpose of this testing is to ensure that data is correctly input, processed, and output by the software.

D. State transition testing: This is a black box testing technique that tests the response of the system to different input conditions. The purpose of this testing is to ensure that the system responds correctly to different input conditions.

Therefore, option D is NOT a white box technique. It is a black box technique.

The Answer is: D

Multiple choice technology testing
  1. find as many faults as possible.

  2. test high risk areas.

  3. obtain good test coverage.

  4. test whatever is easiest to test.

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

When prioritizing testing, the most important objective is to test high-risk areas first. This maximizes value by focusing on where failures would cause the most damage. Finding many faults in low-risk areas is less valuable than finding critical faults in high-risk functionality.

Multiple choice technology testing
  1. encapsulation

  2. inheritance

  3. polymorphism

  4. both b and c

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

Testing object-oriented class operations is complicated by inheritance and polymorphism. Inheritance creates complex relationships where a test for a parent class may need to cover child classes. Polymorphism means the same operation can behave differently depending on object type, requiring more comprehensive test coverage.

Multiple choice technology testing
  1. behavioral testing

  2. black-box testing

  3. grey-box testing

  4. white-box testing

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

White-box testing (also called glass-box or structural testing) examines the internal structure, code, and logic of a software module. Unlike black-box testing which focuses on inputs and outputs, white-box testing requires knowledge of the internal implementation to design test cases that cover paths, branches, and statements. Behavioral testing is a broader concept unrelated to internal logic examination.