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 programming languages
  1. Run the test scripts related to change

  2. Check the existing functionality

  3. do some negative/boundary condition

  4. all of them

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

Comprehensive testing requires running test scripts for the specific change (A), verifying existing functionality still works (B), and testing negative/boundary conditions (C). All three aspects together ensure quality. Only doing one or two types leaves gaps in test coverage and can miss regressions or edge cases.

Multiple choice technology testing
  1. Specify Releases, Specify Requirements, Plan Tests, Execute Tests, Run Tests

  2. Specify Releases, Specify Requirements, Plan Tests, Execute Tests, Track Defects

  3. Specify Releases, Specify Requirements, Plan Tests, Execute Tests, Analyze Tests.

  4. Specify Releases, Specify Requirements, Plan Tests, Analyze Tests, Track Defects

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

Quality Center test management follows five phases: Specify Releases, Specify Requirements, Plan Tests, Execute Tests, and Track Defects. Option B correctly lists this sequence. Tracking defects is the final phase, not analyzing or running tests.

Multiple choice technology testing
  1. Track Defects

  2. Open Defects

  3. Defects

  4. Log Defects

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

The Defects module in Quality Center is accessed by clicking the 'Defects' button in the sidebar navigation. This is the standard entry point for defect tracking functionality. 'Track Defects', 'Open Defects', and 'Log Defects' are not the correct button names for accessing this module.

Multiple choice technology testing
  1. Test instance dialog box

  2. Test properties Dialog box

  3. Test instance Properties Dialog box

  4. None

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

Test results in Quality Center can be viewed directly from the Test Instance dialog box, which shows the execution status and results for a specific test instance. This dialog provides detailed information about test runs including pass/fail status and execution details. The 'Test properties' and 'Test instance Properties' dialog boxes are for configuration, not viewing results.

Multiple choice technology testing
  1. Defects -->Defect

  2. Defects -->Move to Defect

  3. Defects -->Set Defect

  4. Defects -->Go to defect

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

To solve this question, the user needs to be familiar with navigating through defect management systems. The user needs to know how to find a specific defect using its ID.

Now, let's go through each option and explain why it is right or wrong:

A. Defects -->Defect: This option is incorrect because it is not specific enough to find a specific defect by its ID. This option will likely take the user to a general list of defects, but it does not provide a way to search for a specific defect by its ID.

B. Defects -->Move to Defect: This option is incorrect because it is not a valid menu option in most defect management systems. The "Move to Defect" option does not provide any useful functionality for finding a specific defect by its ID.

C. Defects -->Set Defect: This option is incorrect because it is not a valid menu option in most defect management systems. The "Set Defect" option does not provide any useful functionality for finding a specific defect by its ID.

D. Defects -->Go to defect: This option is correct. This menu option is typically available in defect management systems and allows the user to search for a specific defect by its ID. The user can enter the defect ID in a search field and navigate directly to that defect.

The Answer is: D

Multiple choice technology testing
  1. Test instance dialog box

  2. Test properties Dialog box

  3. Test instance Properties Dialog box

  4. None

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

Test results in Quality Center can be viewed directly from the Test Instance dialog box, which shows the execution status and results for a specific test instance. This dialog provides detailed information about test runs including pass/fail status and execution details. The 'Test properties' and 'Test instance Properties' dialog boxes are for configuration, not viewing results.

Multiple choice technology testing
  1. Defects -->Defect

  2. Defects -->Move to Defect

  3. Defects -->Set Defect

  4. Defects -->Go to defect

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

To quickly navigate to a specific defect by its ID in the defects grid, you use the 'Defects --> Go to defect' menu option. This opens a dialog or search that lets you jump directly to a defect record using its unique identifier. The other options ('Defect', 'Move to Defect', 'Set Defect') are not valid menu paths for this purpose.

Multiple choice technology testing
  1. Specify Releases, Specify Requirements, Plan Tests, Execute Tests, Run Tests

  2. Specify Releases, Specify Requirements, Plan Tests, Execute Tests, Track Defects

  3. Specify Releases, Specify Requirements, Plan Tests, Execute Tests, Analyze Tests.

  4. Specify Releases, Specify Requirements, Plan Tests, Analyze Tests, Track Defects

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

Quality Center (now HP ALM) follows a sequential test management process. First you define releases and requirements, then plan test cases based on those requirements. After planning comes test execution, and finally defect tracking to log issues found during testing. Options A and C are incorrect because they list 'Run Tests' (redundant with Execute Tests) or 'Analyze Tests' (not a standard phase) instead of 'Track Defects'. Option D incorrectly places Track Defects after Analyze Tests and omits Execute Tests.

Multiple choice technology testing
  1. Track Defects

  2. Open Defects

  3. Defects

  4. Log Defects

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

The Quality Center sidebar contains a 'Defects' button that opens the Defects module for tracking and managing bugs. This is the primary entry point for defect-related activities. Options A, B, and D describe actions but are not the actual button name in the sidebar.

Multiple choice technology platforms and products
  1. Validation of all negative scenarios like handling of incorrect data type

  2. Testing the boundaries of each field to find any limitations

  3. Job not to be aborted at any cause - all abort scenarios must be handled in the code

  4. Cleansing of obvious data for any anomalies (even if its not specified in requirements)

  5. None of the above

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

Coding and unit testing for ETL jobs must include validating negative scenarios (A) and testing field boundaries (B). Option C is incorrect because jobs SHOULD abort on unrecoverable errors - not all abort scenarios can or should be handled. Option D is out of scope - unit testing should not include unspecified data cleansing.

Multiple choice technology testing
  1. Test Design Suite

  2. Defect Tracking Tool

  3. Test Management Suite

  4. Release Management Suite

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

HP QC (Quality Center) is a comprehensive Test Management Suite that covers test planning, execution, defect tracking, and reporting. It is not merely a defect tracking tool (B), test design suite (A), or release management suite (D).