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

Multiple choice technology testing
  1. A. At system and acceptance testing levels only.

  2. B. At all test levels.

  3. C. At all levels above integration testing.

  4. D. At the acceptance testing level only.

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

Functional testing verifies what the system does and can be performed at every test level. Unit tests check individual functions, integration tests verify functional interactions between components, system tests validate end-to-end functionality, and acceptance testing confirms business requirements are met - all are functional in nature.

Multiple choice technology testing
  1. A. Developers.

  2. B. Analysts.

  3. C. Testers.

  4. D. Incident Managers.

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

Debugging is the process of identifying, locating, and correcting bugs within the source code, which is traditionally and primarily performed by developers who write the code. Testers typically find and report defects, but they do not debug the source code to resolve them.

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

  2. ii, iii and iv.i,

  3. i, ii and iv.

  4. i, iii and v.

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

In software testing, configuration management ensures that all versions of the software under test (i) and the associated testware (test scripts, plans, data) are identified (i), version-controlled (ii), and tracked for changes (iv). Developing (iii) or analyzing the need for new testware (v) are development/analysis activities, not configuration management.

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

  2. Initiating corrective actions.

  3. Monitoring progress and test coverage.

  4. Measuring and analyzing results.

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

Test planning involves defining the overall test approach and scheduling activities. Scheduling test analysis and design tasks (what to test, how to test) happens during planning. Options B, C, and D (corrective actions, monitoring, measuring) are part of test control/execution, not planning.

Multiple choice technology testing
  1. At system and acceptance testing levels only.

  2. At all test levels.

  3. At all levels above integration testing.

  4. At the acceptance testing level only.

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

Functional testing (testing based on functional requirements) can be performed at ANY test level. At unit level, you test individual functions. At integration level, you test interfaces between modules. At system and acceptance levels, you test end-to-end functionality. Options A, C, and D incorrectly limit where functional testing applies.

Multiple choice technology testing
  1. Developers.

  2. Analysts.

  3. Testers.

  4. Incident Managers.

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

Debugging is the process of locating and fixing defects, which requires access to source code and development tools. Developers write the code and are responsible for fixing it. Testers find and report incidents, but don't typically debug. Analysts define requirements, and incident managers track issues.

Multiple choice technology web technology
  1. Production

  2. Staging

  3. App Dev

  4. SEG Dev

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

The SEG team tests scripts in the SEG Dev environment before they are deployed to higher environments. This dedicated development environment allows the team to validate scripts in isolation, catching issues early before they reach staging or production. Testing directly in production would be unsafe, and testing in App Dev wouldn't reflect the SEG team's operational context.