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. system, integration, unit, validation

  2. Unit, integration, validation, system

  3. integration, validation, Unit,system

  4. Unit, integration, system, validation

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

Software testing traditionally progresses from small units to larger integrated structures, then to the complete system, and finally to validation against requirements. The sequence Unit, Integration, System, and Validation represents this standard bottom-up flow, unlike the other options which disrupt this chronological order.

Multiple choice technology testing
  1. Project Status Report

  2. Risk Analysis Doc

  3. Tractability Matrix

  4. Bug Report

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

A Traceability Matrix (also called Requirements Traceability Matrix) maps test cases to requirements and shows coverage. When all requirements are traced to tests and all tests executed, you've achieved full test coverage per the matrix. Bug reports, risk analysis, and status reports don't demonstrate completeness.

Multiple choice technology testing
  1. Alpha testing

  2. Volume testing

  3. Beta testing

  4. Boundary value analysis

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

Beta testing is a form of external acceptance testing where the software is deployed to a large number of actual user sites for real-world usage. Alpha testing is performed in-house by developers/testers, and volume testing or boundary value analysis do not involve site deployment.

Multiple choice technology testing
  1. Functional Testing

  2. Performance Testing

  3. System Testing

  4. UAT Testing

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

Automation tools excel at Performance Testing (load, stress, scalability) because they simulate thousands of concurrent users and collect metrics accurately. Functional, System, and UAT testing are better done manually or with semi-automation due to their exploratory nature and judgment requirements.

Multiple choice technology testing
  1. Each test stage has a different purpose.

  2. It is easier to manage testing in stages

  3. We can run different tests in different environments

  4. The more stages we have, the better the testing.

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

Different testing stages target distinct quality aspects - unit tests verify individual components, integration tests check interfaces, system tests validate complete functionality, and acceptance tests ensure user requirements are met. Each stage serves a specific verification purpose that cannot be fully achieved by another.

Multiple choice technology testing
  1. Schedules and deliverables

  2. Hardware and software

  3. Entry and exit criteria

  4. Types of test cases

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

Test planning establishes high-level elements like schedules, resources, hardware/software needs, and entry/exit criteria. The specific types and structures of test cases are detailed during the test design phase, making this the correct exception.

Multiple choice technology testing
  1. deviations from standards,

  2. requirement defects,

  3. design defects,

  4. insufficient maintainability and incorrect interface specifications.

  5. all of the above

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

Static testing (reviews) is highly effective for identifying defects that do not require code execution, such as standards deviations, requirements errors, design flaws, poor maintainability, and interface specification issues. All these defects are typically easier to find in reviews than in dynamic testing.

Multiple choice technology testing
  1. reduces the time spent by the testers

  2. reduces the resources spent (hardware)

  3. mostly used in web testing

  4. all of the above

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

Load testing tools automate performance testing, reducing manual effort and allowing simulation of thousands of users from minimal hardware. While commonly applied to web applications, they can test any system, making all three statements valid.

Multiple choice technology testing
  1. identifying defects.

  2. fixing defects.

  3. 1 and 2

  4. None

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

To solve this question, the user needs to know about the objectives of reviews, static analysis, and dynamic testing.

Reviews, static analysis, and dynamic testing have the same objective of identifying defects.

Option A is the correct answer.

Option B is incorrect because fixing defects is not the objective of reviews, static analysis, and dynamic testing. Their objective is to identify defects so that they can be reported for fixing.

Option C is incorrect because the statement "1 and 2" is not clear. It is not clear what "2" is referring to, and it is unclear how it is related to the objective of identifying defects.

Option D is incorrect because, as mentioned earlier, the objective of reviews, static analysis, and dynamic testing is to identify defects. Therefore, the statement "None" is incorrect.

The Answer is: A

Multiple choice technology testing
  1. The failure occurs only if you reach a statement taking the TRUE branch of an IF statement, and you got to the statement with a test that passed through the FALSE branch.

  2. The failure depends on the program's inability to handle specific data values, rather than on the program's flow of control.

  3. Both A and B

  4. We are not required to test code that customers are unlikely to execute.

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

Statement coverage only guarantees that every line of code executes at least once, but this has critical limitations. Option A describes control-flow dependencies: a bug might only appear when taking one branch of a conditional, but your test might only exercise another branch. Option B describes data-flow problems: certain bugs depend on specific input values that trigger edge cases, regardless of code path. Both scenarios mean 100% statement coverage can still miss serious defects.

Multiple choice technology testing
  1. Test manager

  2. Test engineer

  3. both A & B

  4. Project Manager

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

The test manager bears primary responsibility for test readiness review because this is a management-level gatekeeping function, not a technical execution task. The review evaluates whether testing artifacts are complete, requirements are traceable, entry criteria are met, and the test team is prepared to begin formal testing. While test engineers contribute materials and participate, the test manager conducts and signs off on this review.

Multiple choice technology testing
  1. Use risk based analysis to find out which areas need to be tested

  2. Use automation tool for testing

  3. a and b

  4. None of the above

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

When project scale limits testing resources, risk-based analysis becomes the critical prioritization tool (Option A). This approach identifies high-risk areas requiring thorough testing while accepting lower coverage in safer, lower-impact components. Option B (automation tools) addresses execution efficiency but not scope prioritization. Risk analysis provides the strategic framework for allocating limited testing effort where it matters most.

Multiple choice technology testing
  1. A. ii, iv and v.

  2. B. ii, iii and iv.i,

  3. C. i, ii and iv.

  4. D. i, iii and v.

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

Configuration Management in testing focuses on identification (knowing which software version you're testing - i), version control (managing testware versions - ii), and change tracking (knowing what changed and when - iv). Developing new testware (iii) and analyzing needs (v) are test design and analysis activities, not configuration management functions.

Multiple choice technology testing
  1. A. Scheduling test analysis and design tasks.

  2. B. Initiating corrective actions.

  3. C. Monitoring progress and test coverage.

  4. D. Measuring and analyzing results.

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

To answer this question, the user needs to know the basic tasks and objectives of test planning.

The correct answer is:

A. Scheduling test analysis and design tasks.

Explanation:

Test planning is a critical phase of the software testing life cycle. It involves defining the approach, objectives, and scope of testing, as well as identifying the necessary resources, tools, and techniques to achieve the desired results.

A major task of test planning is scheduling test analysis and design tasks. This involves determining the testing activities that need to be performed, allocating the necessary resources and time for each activity, and creating a timeline or schedule for completing the tasks. This ensures that the testing process is systematic, organized, and efficient.

Initiating corrective actions, monitoring progress and test coverage, and measuring and analyzing results are important tasks in software testing, but they are not the major tasks of test planning. These tasks are typically performed during the testing execution and evaluation phases.

Therefore, option A is the correct answer.