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

  2. Functional Testing

  3. Regression Testing

  4. Smoke Testing

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

Smoke testing is a preliminary testing cycle designed to ensure that the basic and most critical capabilities of a software application function correctly before proceeding to deeper test suites. Distractors like regression, functional, or component testing refer to more structured, targeted, or comprehensive testing methods.

Multiple choice technology testing
  1. Soak testing

  2. Smoke testing

  3. Agile Testing

  4. Functional Testing

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

Soak testing involves running a system under high load for an extended period to identify issues like memory leaks, performance degradation, or resource exhaustion that only appear over time. It helps ensure system stability during prolonged operation.

Multiple choice technology testing
  1. Component Testing

  2. Stress Testing

  3. Dynamic Testing

  4. Recovery Testing

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

Stress Testing pushes a system beyond its specified limits to determine breaking points and observe failure modes. It helps identify the maximum load capacity and how the system degrades or fails under extreme conditions, unlike normal load testing which stays within specifications.

Multiple choice technology testing
  1. Black Box Testing

  2. Acceptance Testing

  3. User Acceptance testing

  4. Boundary Testing

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

User Acceptance Testing (UAT) is the final testing phase where actual users validate the software against real-world requirements before purchase or deployment. While Acceptance Testing is a broader category that may include internal QA, UAT specifically involves end users performing formal evaluation as a condition of purchase.

Multiple choice technology testing
  1. Scalability Testing

  2. Benchmark Testing

  3. Mutation Testing

  4. Black Box Testing

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

Benchmark testing uses standardized, representative workloads to measure and compare system performance across different hardware or software configurations. It establishes baseline performance metrics by running typical programs and data sets through the system being evaluated.

Multiple choice technology testing
  1. Mutation Testing

  2. Component Testing

  3. Agile Testing

  4. Ad Hoc Testing

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

Mutation testing intentionally injects small code changes (mutations) to create faulty versions of the application, then runs existing tests against them. If tests fail to catch the injected bugs, it indicates the test suite needs improvement. Mutation testing evaluates test suite quality rather than application correctness.

Multiple choice technology testing
  1. Boundary Testing

  2. Smoke Testing

  3. Scalability Testing

  4. Functional Testing

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

Scalability testing measures system performance under increasing workload to determine when or if the system degrades. Unlike basic performance testing, scalability testing specifically focuses on graceful handling of growth and helps identify capacity limits before production failure.

Multiple choice technology testing
  1. test items

  2. test deliverables

  3. test tasks

  4. test environment

  5. test specification

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

IEEE 829 standard for software test documentation includes sections for test items, test deliverables, test tasks, and test environment. Test specification is not one of the standard document names - the actual documents are Test Design Specification, Test Case Specification, and Test Procedure Specification as separate entities.

Multiple choice technology testing
  1. testing to see where the system does not function properly

  2. testing quality attributes of the system including performance and usability

  3. testing a system feature using only the software required for that action

  4. testing a system feature using only the software required for that function

  5. testing for functions that should not exist

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

Non-functional testing focuses on verifying quality attributes of the system such as performance, usability, reliability, scalability, and security. It does not test functional behavior or individual features. Options A, C, D, and E describe functional testing scenarios (where functions work or don't work), which is incorrect.

Multiple choice technology testing
  1. A small team to establish the best way to use the tool

  2. Everyone who may eventually have some use for the tool

  3. The independent testing team

  4. The managers to see what projects it should be used in

  5. The vendor contractor to write the initial scripts

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

Introducing a testing tool through a small pilot team allows for learning best practices, identifying potential issues, and creating effective usage guidelines before broader organizational deployment. This phased approach maximizes tool adoption and minimizes disruption.

Multiple choice technology testing
  1. Equivalence partitioning

  2. State transition testing

  3. LCSAJ

  4. Syntax testing

  5. Boundary value analysis

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

Black-box testing techniques focus on inputs and outputs without knowledge of internal code structure. LCSAJ requires analyzing code paths and statements, making it fundamentally a white-box technique that examines internal logic and execution flow.

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

  2. Performed by customers at their software developer’s site

  3. Performed by an independent test team

  4. Useful to test bespoke software

  5. Performed as early as possible in the lifecycle

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

To answer this question, the user needs to know the definition and purpose of beta testing.

Beta testing is a type of software testing that involves allowing real users to test a product before it is released.

Now, let's go through each option and explain why it is right or wrong:

A. Performed by customers at their own site: This option is correct. Beta testing is often performed by customers at their own site, as they are the ones who will be using the software in the real world and can provide valuable feedback to the developers.

B. Performed by customers at their software developer’s site: This option is incorrect. While customers may be invited to the software developer's site for testing, beta testing is generally performed at the customer's own site.

C. Performed by an independent test team: This option is incorrect. Beta testing is usually performed by real users, not an independent test team.

D. Useful to test bespoke software: This option is correct. Beta testing can be useful for testing bespoke software, as it allows the developers to get feedback from real users before releasing the product.

E. Performed as early as possible in the lifecycle: This option is incorrect. Beta testing is usually performed after the software has gone through alpha testing and is close to release.

Therefore, the correct answer is: A. Performed by customers at their own site.

Multiple choice technology testing
  1. finding faults in the system

  2. ensuring that the system is acceptable to all users

  3. testing the system with other systems

  4. testing for a business perspective

  5. testing by an independent test team

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

To solve the question, the user needs to understand the concept of acceptance testing, which is a type of testing that evaluates whether or not a system meets its business requirements and is acceptable for delivery to the end-users.

Now, let's go through each option and explain why it is right or wrong:

A. finding faults in the system: This option is incorrect because the main focus of acceptance testing is not to find faults in the system. Although, acceptance testing may uncover faults, but the primary objective is to ensure that the system meets the business requirements and is acceptable for delivery.

B. ensuring that the system is acceptable to all users: This option is partially correct because the main focus of acceptance testing is to ensure that the system is acceptable to the end-users, but not necessarily to all users. Acceptance testing is done to ensure that the system meets the business requirements and is acceptable to the stakeholders who will be using it.

C. testing the system with other systems: This option is incorrect because acceptance testing is not focused on testing the system with other systems. Acceptance testing is done to ensure that the system meets the business requirements and is acceptable for delivery to the end-users.

D. testing for a business perspective: This option is correct. Acceptance testing is performed to verify that the system meets the business requirements and is acceptable to the stakeholders who will be using it. The testing team evaluates the system from a business perspective to ensure that it meets all the necessary criteria.

E. testing by an independent test team: This option is incorrect because although acceptance testing may be performed by an independent test team, this is not the main focus of acceptance testing.

The Answer is: D

Multiple choice technology testing
  1. report on deviations from the project plan

  2. sign the system off for release

  3. re-allocate resource to meet original plans

  4. raise incidents on faults that they have found

  5. provide information for risk analysis and quality improvement

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

Effective test management requires adapting to changing circumstances rather than rigidly adhering to original plans. Reallocating resources solely to meet original plans when conditions have changed can compromise test quality and effectiveness.

Multiple choice technology testing
  1. code reviews

  2. code inspections

  3. a coverage tool

  4. a test management tool

  5. a static analysis tool

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

Static analysis tools examine code structure without executing it, analyzing control flow and data paths to identify code that can never be reached under any input conditions. While reviews and coverage tools can help, static analysis systematically detects unreachable code most efficiently.