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
  1. test rules

  2. author rules

  3. review rules

  4. monitor rule set

  5. rule set simulation

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

Rule Scenario Manager supports testing rules (executing scenarios to verify behavior), monitoring rule sets (tracking execution metrics and performance), and rule set simulation (running what-if scenarios). Authoring and reviewing rules are activities performed in Rule Studio, not the Scenario Manager.

Multiple choice technology testing
  1. Test Implementation and execution

  2. Test Analysis and Design

  3. Evaluating the Exit Criteria and reporting

  4. Test Closure Activities

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

The Test Analysis and Design phase includes creating test cases, designing test environment set-ups, and identifying required infrastructure and tools. This comes after test planning but before actual test implementation and execution. Test Implementation involves running tests, Evaluating Exit Criteria happens after execution, and Test Closure is the final phase.

Multiple choice technology testing
  1. Test Implementation and execution

  2. Test Analysis and Design

  3. Evaluating the Exit Criteria and reporting

  4. Test Closure Activities

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

The Test Analysis and Design phase includes creating test cases, designing test environment set-ups, and identifying required infrastructure and tools. This comes after test planning but before actual test implementation and execution. Test Implementation involves running tests, Evaluating Exit Criteria happens after execution, and Test Closure is the final phase.

Multiple choice technology testing
  1. Test Implementation and execution

  2. Test Analysis and Design

  3. Evaluating the Exit Criteria and reporting

  4. Test Closure Activities

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

The Test Analysis and Design phase includes creating test cases, designing test environment set-ups, and identifying required infrastructure and tools. This comes after test planning but before actual test implementation and execution. Test Implementation involves running tests, Evaluating Exit Criteria happens after execution, and Test Closure is the final phase.

Multiple choice technology testing
  1. i,ii,iii are true and iv is false

  2. i,,iv are true and ii is false

  3. i,ii are true and iii,iv are false

  4. ii,iii,iv are true and i is false

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

According to standard testing methodologies, tasks i, ii, and iii belong to test implementation and execution. Establishing or determining exit criteria (task iv) is a planning activity. Therefore, i, ii, and iii are true and iv is false.

Multiple choice technology testing
  1. Component Integration testing

  2. Component System Testing

  3. Component Sub System Testing

  4. Maintenance testing

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

To solve this question, the user needs to be familiar with software testing and the different types of testing that are performed in software development.

The question is asking for the name of the type of testing that is also known as Link Testing. Link Testing is a type of testing that is used to verify the proper integration of different software components.

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

A. Component Integration testing: This option is correct. Component Integration testing is another name for Link Testing. This type of testing is used to verify the proper integration of different software components.

B. Component System Testing: This option is incorrect. Component System Testing is a type of testing that focuses on testing individual components of the system.

C. Component Sub System Testing: This option is incorrect. Component Sub System Testing is not a commonly used term in software testing.

D. Maintenance testing: This option is incorrect. Maintenance testing is a type of testing that is performed to verify that changes made to the software have not introduced new defects.

Therefore, the answer is: A. Component Integration testing.

Multiple choice technology testing
  1. Options i,ii,iii,iv are true

  2. i is true and ii,iii,iv are false

  3. i,ii,iii are true and iv is false

  4. ii is true and i,iii,iv are false.

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

Verification answers 'Are we building the product right?' - checking the quality of the built product against specifications. Validation answers 'Are we building the right product?' - checking user needs. Option B correctly identifies that verification focuses on quality of the built product, while the other statements describe different activities or are incorrect.

Multiple choice technology testing
  1. No, because they apply to development documentation

  2. No, because they are normally applied before testing

  3. No, because they do not apply to the test documentation

  4. Yes, because both help detect faults and improve quality

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

Reviews and inspections are static testing techniques that examine documents and code without executing them. Like dynamic testing, they aim to detect defects and improve quality. Option D correctly recognizes that both activities serve the same fundamental purpose - finding faults early.

Multiple choice technology testing
  1. Measuring response time

  2. Measuring transaction rates

  3. Recovery testing

  4. Simulating many users

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

Performance testing measures system responsiveness, throughput, and stability under load. It includes response time (A), transaction rates (B), and simulating many users (D). Recovery testing (C) checks system ability to recover from failures, which is a different non-functional testing type.

Multiple choice technology testing
  1. static testing requires the running of tests through the code

  2. static testing includes desk checking

  3. static testing includes techniques such as reviews and inspections

  4. static testing can give measurements such as cyclomatic complexity

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

The question asks which statement about static testing is FALSE. Static testing does NOT require running tests through code - that's dynamic testing. Option A correctly states this false claim. Static testing includes reviews (C), desk checking (B), and can measure metrics like cyclomatic complexity (D) without code execution.

Multiple choice technology testing
  1. 17

  2. 19

  3. 24

  4. 21

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

To solve this question, the user needs to know about Equivalence classes which are used in software testing to divide a set of test cases into groups or sets that can be run together. Each set of test cases represents a particular behavior or functionality of the system under test.

In this question, the text box on the form accepts numeric values in the range of 18 to 25. Therefore, the valid equivalence classes will be the range of values between 18 to 25, including 18 and 25. Any value outside of this range will be an invalid equivalence class.

Now, let's go through each option and identify the invalid equivalence class:

A. 17: This option is not a valid equivalence class because it falls outside of the valid range of values between 18 to 25.

B. 19: This option is a valid equivalence class because it falls within the valid range of values between 18 to 25.

C. 24: This option is a valid equivalence class because it falls within the valid range of values between 18 to 25.

D. 21: This option is a valid equivalence class because it falls within the valid range of values between 18 to 25.

Therefore, the invalid equivalence class is:

A. 17

The answer is: A.

Multiple choice technology testing
  1. Measuring response time

  2. Measuring transaction rates

  3. Recovery testing

  4. Simulating many users

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

Performance testing measures system responsiveness, throughput, and stability under load. It includes response time (A), transaction rates (B), and simulating many users (D). Recovery testing (C) checks system ability to recover from failures, which is a different non-functional testing type.

Multiple choice technology testing
  1. Options i,ii,iii,iv are true

  2. i is true and ii,iii,iv are false

  3. i,ii,iii are true and iv is false

  4. ii is true and i,iii,iv are false.

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

Verification ensures that the product conforms to its specifications, which helps check the quality of the built product (statement i). Checking if we built the right product (statement ii) is validation. Developing the product (iii) and monitoring tool wastage (iv) are not verification tasks.