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
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.
B
Correct answer
Explanation
Quality tools are not limited to just two categories. The standard 'Seven Basic Quality Tools' include Check sheets, Control charts, Histograms, Pareto charts, Scatter diagrams, Flow charts, and Cause-and-effect diagrams. Additionally, there are tools like stratification, run charts, and others. The categorization is more complex than just 'identification' and 'analysis' tools.
-
Water falls model
-
Spiral Model
-
V-model
-
Linear model
C
Correct answer
Explanation
The V-model is a software development lifecycle model where validation and verification phases map directly to corresponding development phases. Under this model, testing activities (such as designing test cases) begin concurrently with early development stages like requirements analysis, unlike sequential models like the waterfall or linear models.
-
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.
A
Correct answer
Explanation
Software testing is formally defined as the process of evaluating a software system or its components by manual or automated means to verify that it satisfies specified requirements or to identify differences between expected and actual results. This statement matches standard software engineering definitions.
-
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.
-
Detective
-
Corrective
-
Preventive
-
Protective
C
Correct answer
Explanation
Quality Assurance methods are considered preventive because they focus on process improvement and preventing defects before they occur. QA examines the development process to eliminate root causes of potential issues.
-
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.
-
helps an organization to decide how the Quality function is deployed
-
is testing of previously verified program of application
-
is another approach to implementing balance score card method
-
is a systematic method to translate customer wants or needs into product or service
D
Correct answer
Explanation
Quality Function Deployment (QFD) is a structured methodology that translates customer needs (Voice of Customer) into technical product requirements. It uses matrices like the House of Quality to prioritize features and ensure the final product aligns with customer expectations.