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
-
Operability
-
Observability
-
Simplicity
-
Robustness
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.
-
White box
-
Black box
-
Green box
-
Yellow box
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.
-
Testing and loading the test scripts
-
Identify the defects and rectifying it
-
Training
-
System Configuration
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.
C
Correct answer
Explanation
User Acceptance Testing (UAT) is performed in the EAQ (Quality Assurance) system. EAD typically refers to Development, EAP to Prototype/Pre-production, and EAR to Recovery or another environment. UAT is the final testing phase before production deployment.
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.
-
VuGen
-
Controller
-
Analyser
-
a & b
-
None of the Options
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.
-
Volume testing
-
Functional Testing
-
Endurance Testing
-
a&c
-
All of the options
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.
-
Plan > Create script >Define Scenario > Run Scenario >Analyse Result
-
Plan > Run Scenario>Create script >Define Scenario >Analyse Result
-
Analyse Result > Create script >Run Scenario>Define Scenario >Plan
-
Plan > Create script >Run Scenario >Define Scenario > Analyse Result
-
None of the options
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.
-
Integration testing
-
Functional testing
-
Regression testing
-
Load testing
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.
A
Correct answer
Explanation
A test oracle is a mechanism or principle by which a tester determines whether a software has passed or failed a test. It requires the tester to know or identify the expected correct outcome to compare against the actual result.
-
Scope
-
Resource
-
Schedule
-
Quality
-
f) Unit testing cases
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.
-
Unit Testing
-
Integration Testing
-
System testing
-
User acceptance testing`
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).
-
Quality Control
-
Quality Assurance
-
Unit testing
-
Agile testing
B
Correct answer
Explanation
Quality Assurance focuses on process improvement and preventing defects by evaluating and improving the development and testing processes themselves. Quality Control focuses on finding defects in the actual product. QA is proactive and process-oriented.
-
Integration testing
-
User acceptance testing
-
Dynamic testing
-
static testing
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.
-
Grey box testing
-
White box testing
-
Agile testing
-
Black box testing
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.