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
-
TAC, TIN
-
TAC, FLEX, DEV
-
TAC, TIN1, TIN2
-
TAC, TIN1, TIN2 & FLEX
-
1 & 3
D
Correct answer
Explanation
TAC, TIN1, TIN2, and FLEX are standard legacy testing regions and staging environments used in specific enterprise system deployments for integration and QA. The other choices are incorrect because they either omit some of these standard regions or include invalid environments in their lists.
-
Checking test logs against the exit criteria specified in test planning
-
Logging the outcome of test execution
-
Assessing if more tests are needed
-
Writing a test summary report for stakeholders
B
Correct answer
Explanation
Logging test execution outcomes is NOT a major task of Exit Criteria - it's an ongoing task during test execution. Exit criteria focus on evaluation tasks: checking test logs against criteria, assessing if more tests are needed, and writing summary reports for stakeholders. Logging happens continuously and is not part of the exit decision process.
-
Debugging a program
-
A mutation error
-
Performance testing
-
Introducing mutations
D
Correct answer
Explanation
Mutation testing involves introducing small changes (mutations) to a program to test whether existing test cases can detect these faults. If tests fail to detect the introduced mutations, it indicates the test suite may be inadequate. This helps evaluate test quality and coverage.
-
Structural Testing
-
Design Based Testing
-
Error Guessing Technique
-
Experience Based Technique
A
Correct answer
Explanation
White Box Testing techniques are also called Structural Testing because they examine the internal structure, design, and code implementation of the software. This contrasts with Black Box testing (which examines functionality without looking at internal code) and experience-based techniques.
-
User
-
Quality control
-
Quality assurance
-
Senior management
A
Correct answer
Explanation
Acceptance testing is the final testing phase conducted by end-users or customers to validate that the system meets business requirements and is ready for deployment. It is NOT done by QC or QA teams, who perform earlier testing phases. Senior management may review results but don't conduct the testing.
-
Unit testing
-
Systems testing
-
Stress testing
-
User Acceptance Testing
A
Correct answer
Explanation
The testing sequence is: Unit → Integration → System → Acceptance. Integration testing combines multiple units, so unit testing MUST be completed first. System testing, stress testing, and UAT come AFTER integration testing, not before.
-
System
-
Unit
-
Integration
-
Acceptance
-
All of the above
E
Correct answer
Explanation
The four main types of testing are Unit, Integration, System, and Acceptance testing. These form the standard V-model testing hierarchy. Since all four types listed are correct, 'All of the above' is the right answer.
-
Identifying defects.
-
fixing defects
-
Both 1 and 2
-
None
A
Correct answer
Explanation
Reviews (static testing), static analysis (code analysis), and dynamic testing (running tests) all share the primary objective of identifying defects in software. None of these activities directly fix defects - fixing is a separate remediation activity after detection.
-
Test manager
-
Test engineer
-
Both A & B
-
Project Manager
A
Correct answer
Explanation
Test Readiness Review (TRR) is conducted by the Test Manager to ensure test artifacts are complete, requirements are traceable, and the test environment is ready before testing commences. Test engineers participate but the Test Manager is responsible for conducting it.
-
) Integration Level Test Cases
-
User Acceptance Test Cases
-
Unit Level Test Cases
-
Program specifications
B
Correct answer
Explanation
Requirements specifications serve as input for User Acceptance Test (UAT) cases. UAT validates that the system meets user requirements as specified. Unit tests use code/design specs, integration tests use design specs, and UAT focuses on requirement validation.
-
Component testing
-
Non-functional system testing
-
User acceptance testing
-
Maintenance testing
D
Correct answer
Explanation
Impact Analysis is primarily used in Maintenance Testing to assess the potential effects of changes on existing system components. When modifications are made during maintenance, impact analysis helps identify which parts of the system might be affected, ensuring comprehensive test coverage. While other testing types may use impact analysis, maintenance testing relies on it most heavily because changes to existing systems carry the highest risk of unintended side effects.
-
Test Cases
-
Specifications
-
Test Data
-
Test Design
B
Correct answer
Explanation
Test Conditions are derived from Specifications, which include requirements documents, design specifications, and other stakeholder needs. Specifications provide the basis for identifying what needs to be tested. Test conditions are the specific items or attributes that will be tested, and they must be traceable back to the original requirements. Test cases are created FROM test conditions, not the other way around.
-
Component testing
-
Functional testing
-
System testing
-
Acceptance testing
B
Correct answer
Explanation
According to the ISTQB software testing standard, 'Functional testing' is classified as a test type (testing what the system does). The other options—Component, System, and Acceptance testing—are categorized as test levels, not test types.
-
Unit testing
-
Independent testing
-
Destructive testing
-
System testing
B
Correct answer
Explanation
Independent testing encourages objectivity by having testers who are not involved in developing the system evaluate it. Since the testers have no stake in the code being 'correct', they can assess the software more impartially without developer bias. Unit testing is typically done by developers themselves, destructive testing is a technique not a testing level, and system testing while valuable is often done by the same team or with developers involved - only independent testing explicitly separates tester from developer to ensure objective evaluation.
-
Inaccurate calculators were used to calculate the expected results.
-
Insufficient training was given to the developers concerning compound interest calculation rules
-
Insufficient calculations of compound interest were included.
-
Insufficient funds were available to pay the interest rate calculated.
B
Correct answer
Explanation
The correct answer is B because insufficient developer training on compound interest calculation rules is a fundamental root cause that would lead to incorrect interest rate calculations in financial software. Developers who don't understand the domain rules cannot correctly implement the logic. Option A is incorrect because calculators are tools for verification, not the implementation itself. Option C is vague and doesn't identify a root cause. Option D is irrelevant to the calculation logic itself.