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

  2. Test Lead

  3. Test Manager

  4. Developer

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

Test cases are typically designed by testers as part of test design and planning activities. While test leads and managers review and may contribute to test strategy, the detailed design of individual test cases is primarily a tester responsibility. Developers write unit tests, not system-level test cases.

Multiple choice technology testing
  1. True

  2. False

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

Verification and Validation are distinct concepts in software quality. Verification asks 'Are we building the product right?' (checking against specifications). Validation asks 'Are we building the right product?' (checking against user needs). They represent different quality activities with different objectives.

Multiple choice technology testing
  1. Cost Avoidance Report

  2. Test Approach/Strategy

  3. Test Plan

  4. Test Model

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

The Test Approach/Strategy defines the overall guidelines, standards, and generic entry and exit criteria for testing. While the detailed Test Plan implements and specifies these criteria for a specific project, the strategy is the root document establishing them.

Multiple choice technology testing
  1. Software Quality Assurance

  2. Software Testing

  3. A good Tester

  4. All of the above

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

All three elements contribute to quality software. SQA provides the framework, testing finds defects, and skilled testers execute both. The question uses 'must' loosely - these are supporting practices, not strictly mandatory.

Multiple choice technology testing
  1. Static Testing

  2. Dynamic Testing

  3. White Box Testing

  4. Reliability Testing

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

Static testing involves reviews and inspections without executing code. Dynamic testing requires running the software. White-box refers to internal structure visibility, not execution status.

Multiple choice technology architecture
  1. Rule Execution Server.

  2. Rule Solutions for Office.

  3. Decision Validation Services.

  4. Rule team Server.

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

Decision Validation Services (DVS) is a module specifically designed for testing and simulating business rules. It enables developers, business users, and policy managers to verify rule correctness, test scenarios, and simulate rule outcomes before deployment to production.

Multiple choice technology
  1. Beta Testing

  2. Dependencies

  3. Coupling

  4. Architecture Testing

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

Complexity of architecture is measured using dependencies - the relationships and couplings between components. High dependency complexity makes systems harder to maintain, test, and evolve. Coupling is related but refers specifically to how closely connected components are. Beta testing and architecture testing are quality activities, not complexity measures.

Multiple choice technology testing
  1. checking that we are building the system right

  2. performed by an independent test team

  3. checking that we are building the right system

  4. make sure that that it is what the user wants

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

Software verification confirms we are building the system right - that is, the implementation matches the specifications. Validation checks if we are building the right system (what users want). Verification is about conformance to specifications.

Multiple choice technology testing
  1. it may be difficult to repeat the test

  2. it will be difficult to decide whether the test have passed/failed

  3. we cannot automate the user input

  4. we cannot run the test

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

Acceptance criteria and expected results define the benchmark for a successful test execution. Without them, there is no standard to compare the actual test output against, making it difficult or impossible to determine whether the test passed or failed. Other options are incorrect as tests can still be executed or automated without defined criteria.

Multiple choice technology testing
  1. Simple loops

  2. Nested loops

  3. Concatenated loops

  4. All of the above

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

Loop testing methodology applies to all loop structures: simple loops (test 0, 1, 2 iterations, typical, max-1, max), nested loops (start with innermost at simple, then work outward), and concatenated loops (test each independently, then combined).

Multiple choice technology testing
  1. when the budget is consumed

  2. use test appropriate metrics

  3. when the time is out

  4. let the management decide

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

Testing completion should be determined by appropriate metrics (coverage, defect rates, etc.), not arbitrary constraints like budget or time. Management decision alone isn't technical - metrics provide objective evidence of test adequacy.

Multiple choice technology testing
  1. After coding

  2. After freezing the requirement

  3. After internal design

  4. After external design

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

Testing should begin after requirements are frozen but before coding - this allows test planning and design based on stable requirements. Starting after freezing requirements enables test-driven thinking and early defect prevention.

Multiple choice technology testing
  1. a,b,c,d are valid ; e invalid

  2. b is valid, a,c,d,e are not

  3. a,b,c valid ; e,f not

  4. All

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

All listed items are valid reasons for test/system failure: testing fault (test procedure wrong), software fault (code bug), design fault (logic/design error), documentation fault (incorrect specs/docs), and environment fault (external factors).