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
-
Beta Testing
-
Greybox testing
-
Test Automation
-
White box testing
A
Correct answer
Explanation
Acceptance testing determines if software meets business requirements and is ready for delivery. Beta testing is a type of acceptance testing conducted by end users in their environment, making them closely related concepts in software testing.
-
Regression Testing
-
Unit Regression
-
Regional Regression
-
Retesting
A
Correct answer
Explanation
Regression testing is performed to verify that recent code changes or updates have not adversely affected existing functionalities of the software application. Retesting specifically verifies a fixed bug, unit regression applies to single units, regional regression is not a standard testing term, and retesting the entire app constitutes regression testing.
-
Unit Testing
-
Black box testing
-
Performance Testing
-
Regression testing
C
Correct answer
Explanation
Performance Testing is a non-functional testing type because it tests system attributes like speed, response time, stability, and scalability under various workload conditions, rather than specific functional behaviors. Unit testing, black box testing, and regression testing primarily focus on functional requirements.
B
Correct answer
Explanation
Manual testing should typically come before automation. Initial exploratory testing and test case design are done manually to understand the application. Automation is then applied to stable, repetitive test cases after manual testing has validated them. Starting with automation without understanding the system through manual testing is inefficient.
-
Test Bed
-
Checkpoint
-
Code Walk through
-
Checklist
A
Correct answer
Explanation
A test bed is a dedicated execution environment configured with specific hardware, operating systems, database management systems, network configurations, and software tools necessary to test an application under realistic conditions. Other options, like checklists or code walkthroughs, refer to documentation or review processes rather than an environment.
-
Testers
-
End Users
-
Customer
-
Developers
D
Correct answer
Explanation
Unit testing involves verifying the behavior of individual units of source code, such as functions or classes, in isolation. Because it requires access to the codebase and programming knowledge to write test cases and debug code, it is performed by developers rather than testers, customers, or end users.
-
Big Bang Testing
-
Bottom Up Testing
-
Top Down Testing
-
All the above
D
Correct answer
Explanation
Integration testing has multiple approaches: Big Bang (integrate all components at once), Bottom Up (start with low-level modules and integrate upward), and Top Down (start with high-level modules and integrate downward).
-
The test is automated and it is not programmed to compare the specific misbehavior to an expected result.
-
The test is manual (run by a human) but the human is paying attention to other aspects of the program's behavior and doesn't notice the misbehavior.
-
The tester knows how to run the test but doesn't know what to look for as a result.
-
option1 and 2
-
All of the above
E
Correct answer
Explanation
A program misbehavior can go unnoticed (appearing to pass) due to automated tests lacking specific assertions (option 1), manual testers focusing on other UI elements (option 2), or lack of oracle knowledge (option 3). Therefore, all of these options are valid reasons.
-
Identifying tests that pose too much risk to be run, except under carefully controlled circumstances.
-
Designing tests that are optimized to expose serious problems.
-
Thorough documentation of high-risk attributes of the program under test.
-
Evaluation of a product's risks in the field.
B
Correct answer
Explanation
Risk-based testing uses identified risks to prioritize, design, and guide tests, ensuring resources are optimized to expose serious problems early. The other options describe risk documentation, execution constraints, or field evaluation rather than the design of risk-based tests.
-
defects
-
routine checks
-
zero defects
-
faults
-
monitoring
-
flaws
A,D,F
Correct answer
Explanation
From an end-user perspective, testing seeks to address problems like defects, faults, and flaws, which represent incorrect or undesirable behaviors. Routine checks and monitoring are testing activities, and zero defects is an objective, not a user-facing problem.
-
inspection
-
warranty
-
zero defects
-
routine checks
-
monitoring
-
customer satisfaction
A,C,D,E
Correct answer
Explanation
Quality Control in testing focuses on inspection of deliverables, aiming for zero defects through routine checks, and continuous monitoring of the testing process. Warranty and customer satisfaction, while important, are outcomes of Quality Assurance rather than direct testing QC activities.
-
Statement coverage
-
Point to point coverage
-
Branch coverage
-
Basic path coverage
B
Correct answer
Explanation
Standard test coverage metrics include statement coverage (executing each statement), branch coverage (testing each branch decision), and basic path coverage (covering independent paths). Point to point coverage is not a recognized or standard coverage metric in software testing.
-
Compliance Testing – Business rules
-
Black Box Testing – Path Coverage
-
Regression Testing – End users
-
File Integrity – Control Totals
-
None of the above
D
Correct answer
Explanation
Control totals are a batch control technique used to verify file integrity by summing numeric fields before and after processing. Compliance testing checks business rules compliance but uses different methods. Black box testing examines inputs/outputs without internal path coverage. Regression testing is performed by testers, not end users.