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. Test Object A

  2. Test Object B

  3. Test Object C

  4. None

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

Comparing the defect counts: Test Object A has X defects, B has 145% of X (1.45X), and C has 120% of X (1.20X). Since Test Object B has the highest number of defects (1.45X > 1.20X > X), it potentially has more undiscovered issues and should be given more testing attention.

Multiple choice technology testing
  1. When exit criteria is meet.

  2. When Project Managers say to stop.

  3. Till Project Fund allow.

  4. When no more defects are found.

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

Testing should be stopped when the predefined exit criteria are met, which typically include coverage metrics, defect density, and schedule constraints. Stopping based solely on project manager decisions, budget depletion, or finding no more defects is subjective and does not guarantee quality.

Multiple choice technology testing
  1. test cases

  2. repository

  3. load test

  4. defects

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

Quality Center (now HP Application Lifecycle Management/ALM) is fundamentally a central repository that stores and manages all testing artifacts - test cases, requirements, defects, and test results. The repository function is its core purpose - providing version control, traceability, and centralized access to the entire testing ecosystem.

Multiple choice technology testing
  1. HP OpenView

  2. HP WinRunner

  3. HP LoadRunner

  4. HP QuickTest Professional

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

HP WinRunner (legacy functional testing tool) and HP QuickTest Professional (QTP, now UFT) are both functional testing tools that integrate directly with Quality Center for test storage, execution, and defect reporting. LoadRunner is for performance testing, not functional testing. HP OpenView is network management software, unrelated to Quality Center.

Multiple choice technology testing
  1. from the Test Lab module

  2. from the Requirements module

  3. on the test details page (Test Plan)

  4. on the attachments page (Test Plan)

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

In Quality Center's test management workflow, tests are linked to requirements from within the Requirements module. This module specifically provides the interface to associate test cases with requirement definitions, establishing traceability. The Test Lab module is for execution, not requirements linking. Test Plan is for authoring tests, not linking them.

Multiple choice technology testing
  1. Linked Errors

  2. Linked Defects

  3. Linked Data

  4. Linked Tests

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

In Quality Center, the feature is specifically called 'Linked Defects' - this is the terminology used throughout the tool for connecting test instances to defects. You create these links either in the Test Plan module or during manual test execution. The other options use incorrect terminology that doesn't match QC's feature set.

Multiple choice technology testing
  1. Full, Partial, Basic, and Low

  2. Full, Half, Basic, and None

  3. Full, Partial, Basic, and None

  4. Full, Partial, Critical, and None

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

Quality Center's testing levels are Full, Partial, Basic, and None - representing the extent of testing coverage from complete down to no testing. Option A incorrectly uses 'Low' instead of 'None', B incorrectly uses 'Half', and D incorrectly substitutes 'Critical' for 'Basic'. These are the standard QC testing level definitions.

Multiple choice technology testing
  1. A. Syntax errors

  2. B. The test name and author

  3. C. The QTP license information.

  4. D. The machine ID and operating system.

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

The information pane in QTP primarily displays syntax errors in your test script, helping you identify and fix structural issues before running tests. It serves as a real-time validation tool, similar to compiler error checking in programming languages.

Multiple choice technology testing
  1. A. Stops test execution at the specified step, after executing that step

  2. B. Stops test execution at the specified step, before executing that step.

  3. C. Pauses test execution at the specified step, after executing that step

  4. D. Pauses test execution at the specified step, before executing that step.

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

A breakpoint pauses test execution immediately before the specified step runs, allowing you to inspect variable values, call stacks, and application state at that exact moment. This is distinct from stopping execution - pausing allows you to resume debugging from that point.

Multiple choice technology testing
  1. A. A Do Loop

  2. B. Recovery Scenario

  3. C. IF then Statement

  4. D. Select case statement.

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

Recovery Scenarios in testing tools like QTP/UFT are specifically designed to handle unexpected events and errors that occur during test execution. They can be triggered by specific error conditions and contain recovery steps to get the test back on track, making them the correct choice for unpredictable testing exceptions. Do loops and IF-then statements are programmatic constructs, not error-handling mechanisms.

Multiple choice technology security
  1. Black Box Testing

  2. Smoke Testing

  3. Sanity check

  4. White Box Testing

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

White box testing examines the internal structures, design, and code of the software, requiring access to the source code. Black box testing focuses on inputs and outputs without seeing internal code. Smoke testing and sanity checks are preliminary testing types that don't specifically require source code access.

Multiple choice technology testing
  1. Ad Hoc Testing

  2. Ramp Testing

  3. Unit Testing

  4. White Box Testing

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

Ad Hoc Testing is an unstructured testing method where testers randomly explore the system to find defects without following formal test plans or documentation. The goal is to simulate real-world usage patterns and discover unexpected bugs that structured testing might miss.

Multiple choice technology testing
  1. Monkey Testing

  2. Unit testing

  3. Ramp testing

  4. Gorilla Testing

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

Ramp testing involves continuously increasing an input signal or load until the system breaks down, helping determine the breaking point and system limits. It's different from Monkey Testing (random inputs), Unit Testing (individual components), or Gorilla Testing (repeated testing of one module).

Multiple choice technology testing
  1. Ad Hoc Testing

  2. White Box testing

  3. Unit Testing

  4. Ramp Testing

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

Unit Testing is the testing of individual software components or units of code in isolation. It verifies that each unit functions as expected before integration. Ad Hoc Testing is unstructured, White Box Testing examines internal code structure, and Ramp Testing increases load until failure.

Multiple choice technology testing
  1. Ramp Testing

  2. Smoke Testing

  3. Regression Testing

  4. Sanity testing

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

Sanity testing is a quick, breadth-first check to verify whether requirements are met and the software is stable enough for further testing. Regression testing ensures new changes haven't broken existing features, Smoke Testing checks basic functionality, and Ramp Testing stresses the system until failure. Sanity testing specifically focuses on verifying requirements breadth-first.