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. Load the appropriate add-in

  2. Have all required applications running on the desktop

  3. Set initial and end conditions as part of the test

  4. None of the above

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

Setting initial and end conditions establishes a clear starting state and expected completion state for the test. This allows the same test to be executed multiple times with predictable behavior. Without defined conditions, tests may produce inconsistent results across iterations.

Multiple choice technology testing
  1. File -> Settings -> Run

  2. Tools -> Options -> Run

  3. Automation -> Results

  4. Both b and C

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

In QuickTest Professional, the option to display Test Results after each run is configured under Tools -> Options -> Run. This menu path controls test execution settings. The other options listed are not valid menu paths in QTP.

Multiple choice technology testing
  1. Check “Save still image captures to results” and select the option “Always”

  2. Check “Save still image captures to results” and select the option “For errors”

  3. Check “Save still image captures to results” and select the option “On errors and warnings”

  4. All the above

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

QuickTest Professional offers three modes for saving screenshots: 'Always' saves every capture, 'For errors' saves only when errors occur, and 'On errors and warnings' includes both error and warning states. All three are valid configuration options depending on your testing needs and storage considerations.

Multiple choice technology testing
  1. A Test Specification

  2. A Test Plan

  3. A Test Report

  4. A Testers CV

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

A Test Specification is a document that contains a set of test cases, including their objectives, inputs, and expected results. A Test Plan outlines the strategy and scope, while a Test Report summarizes execution results.

Multiple choice technology testing
  1. A Test Specification

  2. A Test Plan

  3. A Test Report

  4. A Test Case

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

Test Reports document the actual results of executed testing - what tests ran, what passed/failed, defects found, and overall quality assessment. Test Specifications define what to test, Test Plans schedule testing, and Test Cases specify individual test conditions - but only Test Reports store the execution results.

Multiple choice technology testing
  1. Exit Criteria

  2. Test Deletion Criteria

  3. The Test Plan

  4. The Test Specification

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

To determine whether sufficient testing has been performed, the user needs to know about the different types of testing and the processes involved in software testing.

Option A: Exit criteria are a set of conditions that must be met before a project or phase can be considered complete. This includes completing all the specified tests. Exit criteria can be used as a measure of whether sufficient testing has been performed. This option is correct.

Option B: Test Deletion Criteria refers to the conditions that determine when to remove tests from a test suite. It is not used to check whether sufficient testing has been performed. Therefore, this option is wrong.

Option C: A Test Plan outlines the testing approach, objectives, scope, and schedule for a testing project. It is not used to check whether sufficient testing has been performed. Therefore, this option is incorrect.

Option D: The Test Specification is a document that specifies the test requirements, test cases and test data for a software testing project. It is not used to check whether sufficient testing has been performed. Therefore, this option is wrong.

Therefore, the correct answer is:

The Answer is: A. Exit Criteria

Multiple choice technology testing
  1. A successful test is one that finds no bugs

  2. A successful test is one that finds a fault

  3. A successful test is one that creates no results

  4. A successful test is one that finds a failure

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

A successful test is one that reveals a fault in the software (B). This is a fundamental testing principle - tests that find defects are more valuable than tests that pass without finding issues. Option A (finds no bugs) describes a failed testing effort from a quality assurance perspective. Option D (finds a failure) is a consequence, not the test's success measure.

Multiple choice technology testing
  1. Seen as an unnecessary part of the product development

  2. Seen as constructive to the product development

  3. Seen as destructive to the product development

  4. Seen as a creative part of the product development

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

Developers often view testers as destructive to product development (C) because testers find and report defects in the developers' work, which can feel like criticism. While testing is actually constructive for quality assurance, the stereotype is that testers 'break' what developers build. This perception reflects the natural tension between creation and verification roles.

Multiple choice technology web technology
  1. Meeting requirements

  2. Doing it the right way

  3. Doing it right the first time

  4. Fit for use

  5. Doing it on time

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

The tester's perspective on quality focuses on fitness for use - whether the software meets user needs and can be used effectively for its intended purpose. This view emphasizes actual usability and value delivery over formal process compliance. Options A, C, and E represent process/efficiency views, while B focuses on methodology rather than outcome.

Multiple choice technology testing
  1. Management support

  2. Tester competency

  3. Test work processes

  4. Testing techniques and tools

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

Management support is the most critical component of a test environment because without organizational backing, testing efforts lack necessary resources, time allocation, and strategic priority. Without management commitment, even skilled testers, robust processes, and excellent tools cannot function effectively. Test environment sustainability depends on management's understanding of testing value and their willingness to invest in it.

Multiple choice technology testing
  1. good way to cut down time and cost

  2. suffer from a lack of generic applicability and scalability

  3. Flaws in software can be exploited by intruders to open security holes

  4. None of the above

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

Test automation significantly reduces manual effort, execution time, and overall testing costs. Option B describes limitations of some tools, C describes security vulnerabilities, and D is incorrect because A is a valid advantage.

Multiple choice technology testing
  1. exposes defects in the interfaces and interaction between integrated components (modules)

  2. tests a completely integrated system to verify that it meets its requirements.

  3. verifies that a system is integrated to any external or third party systems defined in the system requirements

  4. tests the minimal software component, or module

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

System testing evaluates the complete, integrated system against requirements to ensure it works as a whole. Option A describes integration testing (interfaces between modules), C describes system integration testing (external systems), and D describes unit testing (individual components).

Multiple choice technology testing
  1. client ask to test the s/w in testing

  2. performs befor imlementaion of S/W at

  3. Done at the developer's site by the real customer, where the developer "looks over the shoulder" and notes the errors.

  4. Done by one or more end-users of the software at customer's place

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

Beta testing is conducted by end-users at the customer's site or environment, providing real-world validation. Option C describes alpha testing (developer's site), while A and B are unclear descriptions.