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. Determine whether system meets specifications

  2. Determine whether system meets needs

  3. Provide insight into SDP

  4. None of the above

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

This question asks which is NOT an objective of testing. All the listed options (A: determining if system meets specifications, B: determining if system meets needs, C: providing insight into SDP) are actually valid objectives of testing. Therefore, D (None of the above) is correct because all A, B, and C ARE testing objectives, so none of them is 'not an objective'.

Multiple choice technology testing
  1. Test case

  2. Test script

  3. Test condition

  4. Testing tool

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

A test case is the documented step-by-step procedure for executing a test, including the actions to perform and the expected results for verification. A test script is the automation code. A test condition is what needs to be tested. A testing tool is software used to execute tests. Therefore, 'Test case' is the correct answer for a step-by-step procedure.

Multiple choice technology testing
  1. Vision

  2. Standard

  3. Policy

  4. None of the above

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

The statement 'Testing will exercise 90% of the code' is neither a vision, a standard, nor a policy. It's a specific quantitative target or goal for a particular project. A vision is a broad aspirational statement. A standard is an established norm or requirement. A policy is a governing rule. This statement is a specific measurable target, so 'None of the above' (D) is correct.

Multiple choice technology testing
  1. Code walkthrough

  2. Inspection

  3. Review

  4. None of the above

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

The correct answer is C. Review.

A review is an activity that includes confirming understanding, brainstorming, and testing ideas. It is a formal process of evaluating a product, service, or process to ensure that it meets the requirements of the stakeholders. Reviews can be conducted at any stage of the development process, from the initial concept to the final product.

Brainstorming is a technique used to generate creative ideas. It involves bringing together a group of people to share their ideas in a free and open environment. Brainstorming is often used in reviews to generate new ideas for improving a product or service.

Testing is the process of evaluating a product or service to ensure that it meets the requirements of the users. Testing can be conducted manually or automatically. In reviews, testing is often used to verify that the product or service meets the requirements of the stakeholders.

Code walkthrough is a technique used to review code. It involves walking through the code line by line with a group of people to ensure that the code is clear, concise, and easy to understand. Code walkthroughs are often used in reviews to ensure that the code is of high quality.

Inspection is a technique used to review documents. It involves reviewing the documents line by line with a group of people to ensure that the documents are accurate, complete, and up-to-date. Inspections are often used in reviews to ensure that the documents are of high quality.

Therefore, the only option that includes confirming understanding, brainstorming, and testing ideas is C. Review.

Multiple choice technology
  1. WO

  2. Triage

  3. SIE

  4. It is every one’s responsibility

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

The Triage team is accountable for initiating crisis management processes for high-severity incidents. They assess severity and trigger appropriate escalation. WO (A) and SIE (C) have different roles, and while everyone should be aware of crisis management (D), Triage has specific accountability for initiation.

Multiple choice technology testing
  1. Expected result

  2. Post conditions

  3. Actual result

  4. Result

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

The Expected Result section defines what the test should produce when it executes correctly, which serves as the acceptance criterion for determining if the test case passes or fails. Post-conditions define system state after execution, Actual Result is what occurs during execution, and Result is just a general term.

Multiple choice technology testing
  1. By clicking on Defects

  2. By selecting Add new defect from test execution screen

  3. Both a and b

  4. None of the above

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

CQ (ClearQuest for defect tracking) integrates with RQM (Rational Quality Manager) allowing bidirectional launching. Users can initiate CQ directly from the Defects section, or from the test execution screen when adding a new defect triggered by test failure. This integration streamlines the defect lifecycle from test execution to defect creation.

Multiple choice technology testing
  1. To assign Test case

  2. Allows team members to assign tasks and defects to each other and to view everyone's status

  3. To assign defects

  4. None of the above

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

A work item tracking system allows team members to assign, monitor, and update tasks, requirements, bugs, and other activities, facilitating status tracking. Assigning a test case or defect alone is too narrow to describe a work item's general purpose.

Multiple choice technology testing
  1. True

  2. False

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

Test cases are not required to be linked to test plans. While linking provides traceability and organization, test cases can exist independently in repositories, be reused across multiple test plans, or be created ad-hoc for exploratory testing. The linkage is a best practice for structured testing, not a mandatory requirement.

Multiple choice technology testing
  1. Test plan

  2. Requirements

  3. Construction

  4. All of the above

  5. Only a and b

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

Test management tools provide multiple access paths to test cases for flexibility and traceability. From Test Plans (organized by scope), Requirements (for requirement-test coverage), and Construction (test development/build phase). This multidimensional access supports different workflows: planning, verification, and execution.

Multiple choice technology testing
  1. Passed

  2. Failed

  3. blocked

  4. deferred

  5. all of the above

  6. only a and b

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

Test cases can have multiple valid statuses throughout the testing lifecycle. 'Passed' indicates successful execution, 'Failed' indicates defect discovery, 'Blocked' means execution cannot proceed due to dependencies, and 'Deferred' means postponement to a future iteration. All are legitimate states.

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.