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. 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 is the process of evaluating work products to ensure that the software is being built correctly according to specifications ('building the system right'). Validation ensures we built the correct system ('building the right system').

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 performed to ensure that changes or bug fixes have not introduced new defects in unchanged areas of the software. It does not have to be automated, and it is not restricted to user acceptance testing.

Multiple choice technology web technology
  1. We cannot run the test

  2. It may be difficult to repeat the test

  3. It may be difficult to determine if the test has passed or failed

  4. We cannot automate the user inputs

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

When a new testing tool is purchased, it should first be used on tests where expected results are clearly specified. Without expected results, it's difficult to validate that the tool correctly identifies pass/fail outcomes.

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 a departure from specified behavior - the system doesn't behave as documented in requirements. This is distinct from an error (human mistake) or defect (code issue).

Multiple choice technology testing
  1. Confidence to stakeholders.

  2. Confidence to client that it is bug-free.

  3. zero defects.

  4. Prevent problems of failure in

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

Software testing provides confidence to stakeholders that the software meets requirements and is suitable for use. It cannot guarantee zero defects or complete bug-freeness, but it reduces risk and builds trust.

Multiple choice technology testing
  1. testing that the system functions with other systems

  2. testing that the components that comprise the system function together

  3. testing the end to end functionality of the system as a whole

  4. testing the system performs functions within specified response times

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

Functional system testing tests the end-to-end functionality of the system as a whole, verifying that the complete system works correctly for user scenarios. It's not about integration (component interaction) or interoperability (system-to-system).

Multiple choice technology testing
  1. User Acceptance Testing

    1. User Acceptable Testing
  2. User Acceptance Technology

  3. Useful Acceptance Testing

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

UAT stands for User Acceptance Testing, which is the phase of software development where actual users test the software to ensure it can handle real-world tasks. The other options are incorrect variations of the acronym.

Multiple choice technology testing
  1. We cannot run the test

  2. It may be difficult to repeat the test

  3. It may be difficult to determine if the test has passed or failed

  4. We cannot automate the user inputs

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

Without a specified expected result, it's difficult to determine if a test passed or failed. The test outcome is judged against expectations, so missing expected results makes the test inconclusive.

Multiple choice technology testing
  1. Failure

  2. Success

  3. Complete

  4. Partial

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

Testing is considered a failure when a program does not work correctly because its primary purpose is to verify that software functions as intended. When tests reveal defects or incorrect behavior, the testing process has identified a failure in the software development process.

Multiple choice technology testing
  1. Alpha and Beta Testing

  2. White Box Testing

  3. Black Box Testing

  4. Trial and Error Testing

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

Alpha testing is performed by internal staff before public release, while Beta testing involves external end-users who test the software in real-world conditions. Both methods allow actual users to evaluate the software before final deployment, making Alpha and Beta testing the correct answer.

Multiple choice technology testing
  1. Developement phase

  2. Design Phase

  3. Requirement gathering phase

  4. Intergration phase

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

Testing should begin as early as the requirement gathering phase to identify issues before they become expensive to fix. Early testing allows for validation of requirements and design decisions, reducing the cost of changes compared to discovering defects in later stages like development or integration.