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. Operability

  2. Observability

  3. Simplicity

  4. Robustness

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

Testability characteristics include Operability (ease of operating the system), Observability (ease of seeing results), Simplicity (ease of understanding), and also Controllability and Understandability. Robustness is a separate quality attribute that describes a system's ability to handle errors and unexpected inputs, not a characteristic of testability itself. A robust system might actually be harder to test because it handles errors gracefully.

Multiple choice technology testing
  1. White box

  2. Black box

  3. Green box

  4. Yellow box

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

Cyclomatic complexity is a white-box testing method used to measure the number of linearly independent paths through a program's source code. It requires examining the internal structure of the code (control flow graph), which is the defining characteristic of white-box testing. Black-box testing (B) focuses on inputs and outputs without examining internal structure, while green-box (C) and yellow-box (D) are not standard testing methodology classifications.

Multiple choice technology packaged enterprise solutions
  1. Testing and loading the test scripts

  2. Identify the defects and rectifying it

  3. Training

  4. System Configuration

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

HP QC (now ALM) or MQC (Mercury Quality Center) is an industry-standard testing tool specifically designed for writing, organizing, loading, and executing test scripts during system implementations. While it tracks defects, its primary overarching purpose is managing the overall testing cycle and loading scripts.

Multiple choice technology packaged enterprise solutions
  1. True

  2. False

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

Inspection for SFG/FG is NOT involved in QM Level 2, E0 at Kraft. This indicates a specific quality management setup where intermediate and finished product inspection follows a different workflow than Level 2. QM levels determine inspection severity based on vendor performance or material criticality.

Multiple choice technology testing
  1. VuGen

  2. Controller

  3. Analyser

  4. a & b

  5. None of the Options

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

The Controller component in Load Runner is responsible for executing and managing load test scenarios. It coordinates multiple Vuser groups generated by VuGen and monitors the test during execution. VuGen (Option A) creates scripts, and Analyzer (Option C) analyzes results after the test completes. Options D and E are incorrect.

Multiple choice technology testing
  1. Volume testing

  2. Functional Testing

  3. Endurance Testing

  4. a&c

  5. All of the options

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

Load Runner is primarily used for performance testing types including volume testing (testing with large data volumes) and endurance testing (testing system stability over extended periods). It is not designed for functional testing, which validates software functionality rather than performance. Option A alone is incomplete, Option C alone is incomplete, and Option E incorrectly includes functional testing.

Multiple choice technology testing
  1. Plan > Create script >Define Scenario > Run Scenario >Analyse Result

  2. Plan > Run Scenario>Create script >Define Scenario >Analyse Result

  3. Analyse Result > Create script >Run Scenario>Define Scenario >Plan

  4. Plan > Create script >Run Scenario >Define Scenario > Analyse Result

  5. None of the options

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

The load testing process follows a logical sequence: Plan the test, Create scripts using VuGen, Define the scenario (load patterns, Vusers), Run the scenario using Controller, and Analyze results using Analyzer. Option A presents this correct sequence. Options B and D disrupt the logical flow by running scenarios before script creation or scenario definition, and Option C reverses the entire process.

Multiple choice technology testing
  1. Integration testing

  2. Functional testing

  3. Regression testing

  4. Load testing

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

QTP (QuickTest Professional, now Unified Functional Testing) is primarily used for functional testing to verify applications work as specified, and regression testing to ensure code changes don't break existing functionality. It is NOT used for load testing (that requires tools like LoadRunner) nor primarily for integration testing.

Multiple choice technology
  1. Scope

  2. Resource

  3. Schedule

  4. Quality

  5. f) Unit testing cases

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

A test plan is a comprehensive document outlining Scope (what will be tested), Resources (personnel, tools, equipment needed), Schedule (timeline, milestones, test cycles), and Quality (acceptance criteria, success metrics). Unit testing cases are part of test execution, not the planning document.

Multiple choice technology
  1. Unit Testing

  2. Integration Testing

  3. System testing

  4. User acceptance testing`

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

Software testing follows four hierarchical levels: Unit Testing (individual code components/modules), Integration Testing (combined modules working together), System Testing (complete integrated system), and User Acceptance Testing (end-user validation before deployment).

Multiple choice technology
  1. Integration testing

  2. User acceptance testing

  3. Dynamic testing

  4. static testing

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

Static testing involves verifying software without executing it. Techniques like inspection, review, and walkthrough examine documents and code manually to find defects early in the development lifecycle. This is different from dynamic testing which requires running the software.

Multiple choice technology
  1. Grey box testing

  2. White box testing

  3. Agile testing

  4. Black box testing

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

Black box testing focuses solely on inputs and outputs without knowledge of internal code structure. Testers validate software functionality based on requirements and specifications, treating the software as an opaque system.