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

  2. Requirements

  3. Planning

  4. Builds

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

Test plans are created and accessed through the 'Planning' section of testing tools like RQM. This section provides dedicated features for designing, organizing, and managing test plans. Construction and Requirements are different sections, and Builds refers to compiled code versions.

Multiple choice technology testing
  1. Ready for review

  2. Draft

  3. Approved

  4. Retired

  5. All of the above

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

Test plans progress through a lifecycle with multiple states. 'Draft' is the initial state during creation, 'Ready for review' indicates completion pending approval, 'Approved' means authorized for execution, and 'Retired' indicates the plan is archived. All are valid states.

Multiple choice technology testing
  1. Writing test steps

  2. Organizing commonly used steps for reuse

  3. Viewing the test steps

  4. none of the above

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

The Keyword view in test scripts is designed to organize commonly-used test steps into reusable components. This promotes modularity, reduces duplication, and allows teams to create libraries of standardized test actions that can be shared across multiple test scripts.

Multiple choice technology testing
  1. Test case level

  2. test suite level

  3. Test script level

  4. All of the above

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

Work items (for defect tracking, task management, or follow-ups) can be created at any level of the testing hierarchy. This provides flexibility - you can track issues at the test case level, test suite level (affects multiple tests), or individual test script level.

Multiple choice technology testing
  1. Post conditions

  2. Test case design

  3. Pre condition

  4. TER

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

The Precondition section specifies the required state, setup, or conditions that must exist BEFORE a test case can be executed. This ensures the test starts from a valid, known state. Postconditions describe the state after execution, while Test case design covers the test logic itself.

Multiple choice technology testing
  1. Activated

  2. Completed

  3. opened

  4. Accepted

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

When a PEST (defect/enhancement) is retested and passes verification, it moves to Completed status indicating the issue is resolved and verified closed. Activated would mean it's open/in progress, Opened is the initial state, and Accepted is an intermediate approval state but not the final closed state after successful retest.

Multiple choice technology testing
  1. To link Test case with PEST

  2. To link related PEST with the retest task

  3. To link the PEST with project

  4. None of the above

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

The Related records tab in an ALM task allows linking related PEST (likely Problem/Enhancement/Software Task) items with a retest task. This maintains traceability between the original issue and its verification task. Options A, C, and D are incorrect - the tab is for linking PEST items, not test cases or projects, and 'None' is false since B is correct.

Multiple choice technology testing
  1. Directly by using standalone CQ url

  2. By clicking “Defects” icon from RQM

  3. By clicking “Add new Defect” from test execution screen

  4. All of the above

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

ClearQuest (CQ) can be launched through multiple methods: directly via standalone URL, from RQM's Defects icon, and from the test execution screen's 'Add new Defect' option. Therefore 'All of the above' is correct.

Multiple choice technology web technology
  1. Deployment Diagram

  2. Class Diagram

  3. Activity Diagram

  4. Use case diagram

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

Use case diagrams are most directly useful to testers as they define test scenarios and user flows. Activity diagrams help with test flow but are less directly used. Deployment and class diagrams are less relevant for functional testing.

Multiple choice technology testing
  1. Test design coverage

  2. Test execution coverage

  3. Invalid defects

  4. Option1 and Option2

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

Test design coverage and test execution coverage evaluate the completeness of test activities against planned targets. They require complete datasets of all planned test cases and executions, which only stabilize at the end of their respective phases, making them phase-end metrics rather than continuous in-progress metrics like invalid defects.

Multiple choice technology testing
  1. According to industry standard, one normalized test case contains 10 test steps.

  2. Test cases are normalized when test cases of different complexities are created, and it is required to arrive at a common figure.

  3. Both Option1 and Option2

  4. Only Option2

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

Option 2 states that test cases are normalized when different complexities exist to arrive at a common figure, which is correct. Option 1 about industry standards is also stated as true in this context. Since both options are presented as true, option C (both) is correct. Normalization converts different complexity levels to equivalent simple test case counts.

Multiple choice technology testing
  1. Test design coverage computes the no of test cases covered / no of total no of test cases

  2. Test design coverage computes the no of testable requirements covered / no of test cases created

  3. Test design coverage computes the no of testable requirements covered / no of testable requirements

  4. Test design coverage computes the no of testable requirements covered by test cases created/ no of testable requirements

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

Test design coverage measures how many testable requirements are covered by the test cases created. The correct formula is (requirements covered by test cases) / (total testable requirements). Option D captures this precisely. Option A incorrectly uses test cases in the numerator, while options B and C have incorrect formulas.

Multiple choice technology testing
  1. 85%

  2. 82.50%

  3. 90%

  4. None of the above

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

Defect removal efficiency (or TCS test effectiveness) is calculated as the ratio of defects found during internal phases (Component, Integration, and System testing) to the total defects found (including Acceptance testing and Customer-reported bugs). Here, TCS found 165 defects out of a total of 200 (165 + 5 + 30), yielding 82.50%.

Multiple choice technology testing
  1. >40% errors during the test

  2. CPU >90%

  3. CPU<90%

  4. Option 1 and Option 2

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

Test failures are typically qualified by error thresholds and resource utilization metrics. Option A (>40% errors) indicates a high error rate that would fail a test. Option B (CPU >90%) represents excessive resource consumption that could indicate performance issues. Therefore, Option D, which combines both conditions, correctly identifies valid test failure criteria. Option C (CPU<90%) would not qualify as a failure.