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
-
Within the Project
-
Outside the Project
-
QAG
-
All the above
B
Correct answer
Explanation
External Quality Assurance is designed to provide an objective, unbiased review of project quality, which requires it to be conducted by personnel outside the project team. Internal QA is done within the project, while QAG (Quality Assurance Group) could be internal or external depending on the structure.
-
QA Prime
-
Test Lead
-
Tester
-
QA Analyst
D
Correct answer
Explanation
In the QA team hierarchy, the QA Analyst is responsible for day-to-day test execution and issue identification. When they encounter blocking issues or dependencies that prevent progress, they escalate these to the TCS QA Manager. Test Leads and QA Primes focus on planning and coordination, while Testers may report to QA Analysts rather than directly to QA Manager.
B
Correct answer
Explanation
Functional testing and Regression testing are sequential, not simultaneous. Functional testing validates new features first. Once features pass functional tests, THEN regression testing ensures existing functionality remains intact. Running them simultaneously would waste resources - if functional tests fail, there's no point running regression until fixes are made.
-
DDD
-
High Level Scenarios
-
Low Level Scenarios
-
SSD
B
Correct answer
Explanation
During the test design phase, test cases are developed based on high-level scenarios. High-level scenarios outline the overall flow and functionality to be tested, which are then refined into detailed test cases. Documents like DDD (Detailed Design Document) or SSD are design specifications, not test scenarios.
-
System Testing
-
User Acceptance Testing
-
Operational Testing
-
Readiness Testing
B
Correct answer
Explanation
The standard testing sequence is: Unit Testing → Integration Testing → System Testing → Performance Testing → User Acceptance Testing (UAT). Performance testing validates system responsiveness, load handling, and stability. Once performance is validated, the system moves to UAT where actual users validate business functionality in a production-like environment before go-live.
-
QA Testing
-
Maintenance
-
Implementation
-
User Acceptance Testing
C
Correct answer
Explanation
Post-product validation occurs after the implementation phase but before formal QA testing. It serves as an initial verification that the implemented product meets basic functional requirements before entering more rigorous testing cycles.
-
QA Prime
-
Project Manager
-
Tester
-
All the above
A
Correct answer
Explanation
Execution Set is created by QA Prime in the project workflow. Project Manager and Tester have different roles in project execution and do not create the Execution Set.
-
Specify Requirements-->Specify Release-->Test Execution-->Test Plan-->Manage Defects
-
Specify Release--> Specify Requirements--> Manage defects--> PrepareTest Plan--> Test Execution
-
Specify Release--> Specify Requirements-->Prepare TestPlan-->Test Execution--> Manage Defects
-
Prepare TestPlan--> Specify Requirement--> Manage defects--> Test Execution--> Specify Release
C
Correct answer
Explanation
The correct QC testing process begins with specifying the release (defining scope), then specifying requirements (detailing what to test), preparing the test plan (designing tests), executing tests, and finally managing defects. Options A and B have incorrect ordering.
-
Requirement
-
Release
-
Defect
-
Testcase
A
Correct answer
Explanation
A requirement defines what needs to be tested in an application. Requirements specify the functionality, features, and behaviors that must be verified during testing. They form the basis for creating test cases and determining test scope.
-
Link defect Tab
-
Live anakysis tab
-
Execution flow tab
-
Execution Grid Tab
D
Correct answer
Explanation
The Execution Grid Tab is the standard interface in test management tools for declaring test sets, executing test runs, and reviewing execution results. This tab provides the comprehensive grid view needed for managing test lifecycles. The Link defect Tab is for linking defects, Live analysis is for real-time analytics, and Execution flow is for workflow visualization.
-
New-->Fixed-->Open-->Rejected-->Closed
-
New-->Open-->Fixed-->Rejected-->Closed
-
New-->Reopen-->Closed-->Rejected
-
New-->Fixed-->Open-->Closed
B
Correct answer
Explanation
The standard defect life cycle follows: New→Open→Fixed→Rejected→Closed. A defect starts as New, moves to Open when assigned, to Fixed when resolved, to Rejected if the fix is rejected, and finally to Closed. Option A is incorrect because Fixed comes before Open. Option C is missing the Open state. Option D is missing the Rejected state.
-
Abstract Factory
-
Factory Method
-
Builder
-
Composite
-
Recursive Builder
D
Correct answer
Explanation
Composite composes objects into tree structures, treating individual and group objects uniformly. Recursive access to nested structures built from other objects is the signature use case. Builder constructs objects stepwise, while Composite accesses them hierarchically.
-
10
-
Syntax error
-
Short dump
-
No Value
C
Correct answer
Explanation
The ABAP code attempts to assign a value to a field symbol `before it has been assigned/pointed to any actual data object using theASSIGN` statement. This unassigned reference causes a runtime error, resulting in a short dump.
-
10,13
-
10,14
-
14,14
-
Syntax error
D
Correct answer
Explanation
The ABAP code contains multiple syntax errors. First, 'statics' should be 'STATICS'. Second, there's a name mismatch: the PERFORM statement calls 'add' (lowercase) but the FORM definition is named 'ADD' (uppercase). ABAP is case-sensitive for FORM/PERFORM names. Additionally, the STATICS declaration syntax is incorrect. These errors would prevent compilation.
-
Performance
-
Regression
-
Functional
-
Unit
A
Correct answer
Explanation
LoadRunner is primarily a performance testing tool used to simulate user load and measure system behavior under stress. While it can be part of a broader testing strategy, its core purpose is performance and load testing, not functional, regression, or unit testing.