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. all the tests in the Test Plan

  2. all the cycles or releases the test is linked to

  3. all the requirements linked to the specified test

  4. all the tests in a specified folder in the Test Plan

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

Live Analysis graphs provide a visual overview of all tests contained within a selected folder in the Test Plan tree, showing execution status and other metrics at a glance for that test group.

Multiple choice technology testing
  1. all the tests in the Test Plan

  2. all the cycles or releases the test is linked to

  3. all the requirements linked to the specified test

  4. all the tests in a specified folder in the Test Plan

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

In HP ALM/Quality Center, a live analysis graph in the Test Plan module typically provides a visual overview of the status and distribution of tests within a specific selected folder.

Multiple choice technology testing
  1. Rejected

  2. Fixed

  3. Deferred

  4. Closed

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

When a defect cannot be fixed due to missing requirements or insufficient code (a gap), it cannot be immediately resolved. 'Deferred' is the appropriate state because the defect is acknowledged but requires future work when requirements are clarified. 'Rejected' would imply the defect is invalid, while 'Fixed' and 'Closed' suggest completion.

Multiple choice technology testing
  1. True

  2. False

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

Error guessing is an experienced-based testing technique where testers use their intuition to guess potential error conditions. Structuring this technique by enumerating possible errors (null inputs, boundary conditions, invalid formats, etc.) makes it more systematic and thorough than relying solely on intuition.

Multiple choice technology testing
  1. Text Checkpoint timeout

  2. Check Method timeout

  3. Standard Checkpoint timeout

  4. Checkpoint timeout

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

The Checkpoint timeout property in QTP specifies the time interval (in seconds) during which QuickTest attempts to perform a checkpoint successfully. If the checkpoint cannot be verified within this time, the step fails.

Multiple choice technology testing
  1. Text Checkpoint timeout

  2. Check Method timeout

  3. Standard Checkpoint timeout

  4. Checkpoint timeout

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

The Checkpoint timeout setting in QTP specifies the maximum time duration (in seconds) that QTP will attempt to successfully verify a checkpoint. During this period, QTP retries the checkpoint verification at regular intervals. If the checkpoint cannot be verified within the timeout, the step fails. This applies to all checkpoint types.

Multiple choice technology testing
  1. OSS_cfg

  2. Inter_TestCase_DataTransition

  3. OSS_TestExecution Sheet

  4. None of the above

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

The OSS_TestExecution Sheet is the central spreadsheet where all components for a specific proposition are listed. This sheet contains an Execute flag (Yes/No) for each component, which determines which component scripts should be executed during the test run. OSS_cfg contains configuration settings, and Inter_TestCase_DataTransition handles data passing between test cases.

Multiple choice technology testing
  1. Inter_TestCase_DataTransition

  2. Detailed HTML Report

  3. Summary HTML Report

  4. Log files under the “logs” Folder

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

Log files in the logs folder contain detailed initialization information including whether required files like OSS_TestExecution Sheet and OSS_cfg were loaded successfully. The logs capture any loading errors, file path issues, or initialization failures that might occur when the framework starts up. HTML reports show test results, not initialization status.

Multiple choice technology testing
  1. Allow QC to run tests remotely

  2. Enable QC Integration

  3. Allow other Products to control QTP

  4. Allow other Products to run tests remotely

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

To enable Quality Center to execute QTP tests remotely, you must configure QTP to allow remote test execution by setting the 'Allow QC to run tests remotely' option. This permission must be enabled in QTP before Quality Center can control test execution.

Multiple choice technology testing
  1. HP Load runner

  2. HP Performance tester

  3. Segue Silk Performer

  4. OpenSTA

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

HP LoadRunner, Segue Silk Performer, and OpenSTA are all established performance testing tools. HP Performance Tester is not a standard product name (HP's performance tool is LoadRunner). The question correctly identifies A, C, and D as valid performance testing tools.

Multiple choice technology testing
  1. Run duration too long

  2. Run duration too small

  3. Data is insufficiently populated

  4. Data is Adequately added

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

Performance testing mistakes include running tests for too short a duration (insufficient to reveal steady-state behavior or memory leaks) and using insufficiently populated test data (fails to represent real-world volume and variety). Tests that are too long or have adequate data are not mistakes - they're good practices.

Multiple choice technology testing
  1. Time between receiving response and submitting next request

  2. Time between submitting a request and receiving the response

  3. Thinking time of the tester

  4. Time to collate the results

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

Think time is the pause between receiving a response and submitting the next request, representing the time a user spends reading/processing the response before taking action. This is distinct from server response time (request to response) or other testing activities. Think time is critical for realistic load testing.

Multiple choice technology testing
  1. Stress test

  2. Sustainability test

  3. Reliability test

  4. Functionality test

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

Stress testing evaluates system stability under extreme load (beyond expected capacity). Sustainability (endurance) testing checks performance over extended periods. Reliability testing ensures consistent behavior over time. Functionality testing verifies features work correctly, not performance - it's a functional test type.