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 platforms and products
  1. Domain Service and Licensing Service

  2. Gateway Service and Log Service

  3. Authentication Service and Admin Service

  4. Integration Service and Repository Service

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

Gateway Service and Log Service are core services that can be configured by administrators. Domain Service, Licensing Service, Authentication Service, Admin Service, Integration Service, and Repository Service are either not user-configurable or are system-managed core services.

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. Multiple items as filter

  2. Two items as a filter

  3. Five items as filter

  4. Single item as a filter

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

Quality Center allows you to define multiple filter criteria simultaneously to narrow down your data view. You're not limited to a single filter - you can combine several conditions to create complex queries. Options B and C incorrectly suggest arbitrary limits, while D is too restrictive.

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 web technology
  1. RequiredFieldValidator

  2. RegularExpressionValidator

  3. CompareValidator

  4. The equals() method of the field.

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

The CompareValidator control is specifically designed to validate that two fields (like password and confirm password) are equal. RequiredFieldValidator checks for non-empty values, RegularExpressionValidator validates patterns, and there is no equals() method on fields - this is a concept from programming, not ASP.NET validation controls.

Multiple choice technology testing
  1. A. ByVal

  2. B. ByRef

  3. C. ByArg

  4. D. ByRes

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

Quick Test Professional (QTP) passes arguments to procedures by reference (ByRef) by default, meaning the procedure receives a reference to the original variable. This allows the procedure to modify the original variable's value, which is efficient for memory usage but requires awareness of potential side effects.

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. It records exact keyboard operations on an object.

  2. B. It records exact coordinates of all mouse movements.

  3. C. It uses the object repository to determine what methods can be used.

  4. D. It records and display exact keyboard operations on an object.

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

Low-level recording in test automation tools like QTP/UFT records the exact coordinates and keyboard operations on an object when the tool cannot recognize the object using standard identification methods.

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.