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

  2. continuity testing

  3. Pre-release testing

  4. Regression Testing

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

Beta testing is a form of pre-release testing where external users validate near-complete software before general availability. Release testing is broader, continuity testing ensures ongoing operation, and regression testing checks for new bugs in existing features.

Multiple choice technology testing
  1. integration testing

  2. regression testing

  3. static testing

  4. dynamic testing

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

Reviews, walkthroughs, and inspections are static testing techniques because they examine software artifacts (code, documents, design) without executing the system. They involve human reviewers checking for defects, compliance, and quality issues through manual examination rather than running the code. Integration and regression testing are dynamic testing methods that require code execution, while static testing relies on analysis and review processes.

Multiple choice technology testing
  1. ALLOW_REQ_COVERAGE_BY_TEST_INSTANCE

  2. ALLOW_TEST_COVERAGE_BY_REQ_INSTANCE

  3. ALLOW_R_COVERAGE_BY_T_INSTANCE

  4. None of above

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

The ALLOW_REQ_COVERAGE_BY_TEST_INSTANCE parameter enables traceability between test instances and requirements in Quality Center. This feature allows teams to link specific test executions to requirement coverage for better tracking. The parameter name clearly indicates it allows requirement coverage by test instance.

Multiple choice technology testing
  1. test modules

  2. test flows

  3. test beds

  4. test sets

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

Test sets are the primary mechanism in Quality Center for organizing and grouping test executions. A test set contains multiple test instances that can be executed together as a unit. This structure allows for better organization and management of test execution cycles.

Multiple choice technology testing
  1. Found in the software; the result of an error.

  2. departure from specified behaviour

  3. An incorrect step, process or data definition in a computer program

  4. A human action that produces an incorrect result

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

In software testing terminology, a failure is the observable incorrect behavior of a system - when it deviates from what's specified. An error/mistake (human action) can lead to a fault (defect in code), which when executed may cause a failure. Option A describes what would be found in software (a fault/defect), not the failure itself. Option C describes a fault/defect, and option D describes an error/mistake.

Multiple choice technology testing
  1. Makes test preparation easier

  2. Means inspections are not required

  3. Can prevent fault multiplication.

  4. will find all faults

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

Early test design prevents fault multiplication by identifying defects when they're cheaper to fix and before they propagate through the system. Option A is a benefit but not the 'most important' thing. Option B is false because inspections (reviews) complement testing. Option D is impossible - no testing approach can find all faults.

Multiple choice technology testing
  1. Test recording

  2. Test planning

  3. Test configuration

  4. Test specification

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

Test cases are designed during test specification, which is part of the test design phase where detailed test inputs and expected results are documented. Test planning happens earlier and focuses on strategy, scope, and resources. Test recording is about logging results, and test configuration involves setting up the test environment.

Multiple choice technology testing
  1. Actual Results

  2. Program specification

  3. User requirements

  4. System specification

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

User requirements are the best source for expected outcomes in User Acceptance Testing because UAT validates whether the system meets actual user needs and business requirements. Actual results come from running tests. Program and system specifications are technical documents that may not reflect user perspectives.

Multiple choice technology testing
  1. An error

  2. A fault

  3. A failure

  4. A defect

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

A failure is the deviation from specified behavior that is visible to end-users - it's what users observe when the system doesn't work as expected. An error is a human mistake. A fault (or defect) is the flaw in the code that may cause a failure when executed. Defect is often used synonymously with fault.

Multiple choice technology testing
  1. v & w are true, x, y & z are false

  2. w, x & y are true, v & z are false

  3. W & y are true, v, x & z are false

  4. w is true, v, x, y & z are false

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

Regression testing is needed after software changes (w) and when the environment changes (y) to ensure existing functionality still works. It's not required every week (v) or arbitrarily 'as often as possible' (x). It should be based on need, not the project manager's say (z). Therefore only w and y are true.

Multiple choice technology testing
  1. Requirements

  2. Documentation

  3. Test cases

  4. Improvements suggested by users

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

Incidents or defects are raised against deliverables like requirements, documentation, or test cases when they contain errors. User-suggested improvements are enhancements or feature requests rather than defects, so incidents are not raised against them.

Multiple choice technology testing
  1. Requirement

  2. Test case

  3. Test Condition

  4. Test Result

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

A test case is a set of inputs, preconditions, expected results, and postconditions developed for a particular objective - like exercising a specific path or verifying compliance. A requirement is what needs to be achieved. A test condition is something to test. A test result is the actual outcome. Option B matches the definition.