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 testing
  1. Specification based technique

  2. Black box technique

  3. White box technique

  4. D. Data driven testing technique

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

White box testing examines the internal structure and implementation of the system, making it appropriate for testing undocumented legacy code. When specifications are unavailable, analyzing the code structure helps identify test scenarios and verify that the existing functionality works correctly, even without formal requirements documentation.

Multiple choice technology testing
  1. Security testing

  2. Non functional testing

  3. Exploratory testing

  4. Interoperability testing

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

Exploratory testing is an informal approach where testers design and execute tests simultaneously, using insights from previous test results to guide subsequent testing. This adaptive, learning-based approach allows testers to investigate the system dynamically and follow promising leads based on what they discover.

Multiple choice technology testing
  1. Underestimating the effort needed to maintain the test assets

  2. Losing access to important testing information when needed

  3. Relying too much on qualitative and quantitative assessments

  4. Lowering the morale of the test team because of repetition

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

Test support tools require ongoing maintenance to remain effective. Organizations often underestimate the effort needed to update test scripts, maintain tool configurations, and manage test assets as the system under test evolves. This is a recognized risk in test automation.

Multiple choice technology testing
  1. Operational

  2. Customer

  3. Contractual

  4. Regulatory

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

Operational acceptance testing is typically performed by system administrators to verify that the system meets operational requirements such as backup/recovery procedures, performance under load, and manageability. Customer acceptance is done by users, contractual by legal/business stakeholders, and regulatory by compliance auditors.

Multiple choice technology testing
  1. System testing

  2. Operational testing

  3. Structural testing

  4. Integration testing

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

Structural testing (also known as white-box testing) can be performed at all test levels - unit, integration, system, and acceptance. It examines the internal structure and implementation of the software. System and Operational testing are primarily at the system level, while Integration testing focuses on interfaces between components.

Multiple choice technology testing
  1. Project Managers

  2. Operators of the product

  3. Developers

  4. Technical Experts

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

Operational acceptance testing is performed by the end users or operators who will actually use the system in production. This is different from user acceptance testing (which may include business users) - operational testing focuses on operational readiness, maintainability, and recoverability from the operator's perspective.

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

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

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

  4. I , ii are false and iii, iv are true

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

A Test Plan document includes test items (features to test), test deliverables (reports, logs, etc.), and responsibilities (roles and tasks). Test Scripts are not part of the Test Plan outline - they are created during test design/specification, which comes later.

Multiple choice technology testing
  1. 17

  2. 19

  3. 24

  4. 21

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

For a valid range of 18-25, the equivalence classes are: valid (18-25), invalid below (less than 18), and invalid above (greater than 25). Option A (17) is invalid because it's below the minimum valid value of 18. Options B (19), C (24), and D (21) are all valid values within the accepted range.

Multiple choice technology testing
  1. static testing includes desk checking

  2. Static testing requires the running of tests through the code

  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
B Correct answer
Explanation

Static testing involves testing without executing the code - it includes reviews, inspections, walkthroughs, and static analysis tools that examine code structure. Statement B is false because static testing by definition does NOT require running code through execution - that's dynamic testing. Statements A, C, and D correctly describe aspects of static testing.

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

Link Testing, which tests the interactions between integrated components, is also known as Component Integration Testing. It focuses on verifying that components can correctly communicate and exchange data. System testing and subsystem testing are broader scopes, and maintenance testing occurs after deployment.

Multiple choice technology testing
  1. Development team

  2. Testing team

  3. Both

  4. None of the Above

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

Coverage measurement tools are primarily used by the development team during unit and integration testing to measure how much of the code is being exercised by tests. The testing team typically focuses on test design and execution rather than coverage measurement itself.

Multiple choice technology testing
  1. Consultative Approach

  2. Preventive Approach

  3. Dynamic Approach

  4. Model Based Approach

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

Exploratory technique comes under the Dynamic Approach because it involves simultaneous learning, test design, and execution - all dynamic activities. Model Based Approach uses predefined models, Consultative Approach relies on expert input, and Preventive Approach focuses on prevention.

Multiple choice technology packaged enterprise solutions
  1. pyIterationNumber

  2. pyForEach

  3. pyForEachCount

  4. pyCount

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

During loop execution over a list, Pega automatically stores the current iteration index in the standard parameter pyForEachCount. The other parameters like pyIterationNumber, pyForEach, and pyCount do not exist as standard loop counters in Pega's engine API, making them incorrect.