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 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 testing
  1. Free

  2. Release

  3. DisAssociate

  4. Nothing

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

In VBScript, object variables are references to actual objects in memory. To dissociate an object variable and release memory, you set the variable to 'Nothing' using the 'Set' keyword. This is different from other languages that use explicit 'Release' or 'Free' commands. The 'Nothing' keyword represents the absence of an object reference.

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

Multiple choice technology testing
  1. find more faults

  2. do best testing in the time available

  3. do more effective testing

  4. shorten the time required for testing

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

Test prioritization focuses on scheduling and ordering test cases so that the highest-risk or highest-priority items are executed first, ensuring that resources deliver the best possible quality assurance within the limited timeline available.

Multiple choice technology testing
  1. Everyone who have some use for the tool

  2. The vendor contractor to write the initial script

  3. The independent testing team

  4. A small team to establish best way to use the tool

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

A new testing tool should first be used by a small pilot team to establish best practices, evaluate its effectiveness, and develop usage guidelines before broader rollout. This prevents ineffective adoption across the organization.

Multiple choice technology testing
  1. Test Factors

  2. Functions/Subroutines

  3. All

  4. None

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

Test data collection should comprehensively cover test factors (what was tested), functions/subroutines (which code units), and environmental/execution details. The option All (C) implies comprehensive data collection including these categories.