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
-
Cause effect graph
-
Orthogonal array testing
-
State transition
-
Decision table
-
Before FPQ
-
After FPQ
-
Before HLE
-
After HLE
B
Correct answer
Explanation
Requirement defects are raised after FPQ (likely Final Product Qualification or Formal Product Qualification). Before FPQ, requirements are still being clarified and finalized; raising defects during this stage would be premature as the requirements themselves may change. After FPQ, requirements are baselined, and any deviations from agreed requirements become legitimate defects. HLE (likely Higher Level Examination or High-Level Engineering) typically occurs earlier in the lifecycle.
-
Boundary value analysis
-
Equivalence Partioning
-
State transition
-
Cause effect graph
A
Correct answer
Explanation
Boundary Value Analysis (BVA) is the technique described. BVA complements Equivalence Partitioning by focusing test cases at the edges of equivalence partitions (minimum, minimum-1, maximum, maximum+1), where defects are most likely due to off-by-one errors. Equivalence Partitioning divides inputs into classes but doesn't specifically target edges. State transition and cause-effect graphs address different testing concerns.
-
By using Run options.
-
By Check model in Tool menu.
-
By using some Functions
-
By validate model
B
Correct answer
Explanation
Cognos models are tested through the 'Check Model' option in the Tools menu. This validates the model's structure, verifies relationships between query items, checks for inconsistencies, and ensures the model is ready for report generation before it's published.
-
Acceptance testing performed by the customer at the Tester's site
-
Acceptance testing performed by the customer at the developer's site
-
Acceptance testing performed by the customer in Live environment
-
Acceptance testing performed by the customer in client environment
B
Correct answer
Explanation
Alpha testing is an internal acceptance testing phase conducted by the customer or end-users specifically at the developer's site or in a controlled environment. In contrast, beta testing is conducted by users in their own external or live environments.
A
Correct answer
Explanation
ClearCase allows writing to elements that are checked out. This is the fundamental purpose of checkout in version control - to obtain a writable copy for modification. When you check out an element, you gain the ability to make changes, and those changes are tracked until you check the element back in.
-
Performance and Functionality
-
Functionality and usability
-
Usability and Performance
-
None of the above
C
Correct answer
Explanation
In web application engineering, usability and performance (596823) are highlighted as the most critical aspects because users immediately abandon slow or confusing sites. While functionality is important for any software, usability and performance directly dictate web retention.
-
Linguistic Testing
-
Localization Testing
-
Both A and B
-
None of the above.
B
Correct answer
Explanation
Localization testing (L10n testing) verifies that software adapts correctly to different languages and regional settings. It checks translation, character encoding, date/time formats, currency, and other locale-specific elements. Linguistic testing focuses specifically on language translation quality, not the broader adaptation across languages and regions.
-
Combination of one or more testing techniques
-
Combination of top-down and bottom-up testing
-
Both A and B
-
None of the above.
B
Correct answer
Explanation
Hybrid testing specifically combines top-down and bottom-up integration testing approaches. It uses stubs for lower modules while testing upper modules, and drivers for upper modules while testing lower modules, allowing parallel testing activities. Option A is too generic - many techniques combine methods, but 'hybrid' in this context refers to the specific top-down/bottom-up combination.
-
Creating additional test cases to increase coverage
-
Finding areas of program exercised by the test cases
-
Determining a quantitative measure of code coverage, which is a direct measure of quality.
-
All of the above.
A
Correct answer
Explanation
Test coverage analysis helps identify parts of the codebase that are not yet executed by the test suite, allowing developers to create additional test cases (596837) to fill those gaps. It is not a direct measure of quality (596839), nor is it limited only to listing exercised areas.
-
Same as glass box testing
-
Same as clear box testing
-
Both A and B
-
None of the above.
C
Correct answer
Explanation
White box testing examines internal code structures, logic, and implementation. It is equivalently called glass box testing and clear box testing - all three terms refer to the same concept where the tester can 'see through' the code. The names are metaphors for transparent visibility into internal workings.
-
Similar to proof reading
-
Widely used in web testing
-
Part of usability Testing
-
All of the above
D
Correct answer
Explanation
Content testing verifies textual and media content for accuracy, grammar, spelling, and clarity - similar to proofreading. It's widely used in web testing to ensure website content quality and correctness. It's also part of usability testing since poor content affects user experience. All three characteristics apply to content testing.
-
Testing the boolean expressions which are not in control structures
-
Entire expression is considered as boolean expression irrespective of logical-and and logical-or operators
-
Coverage except switch-statement cases, exception handlers
-
All of the above.
B
Correct answer
Explanation
Decision coverage (also called branch coverage) requires that each decision point takes both true and false outcomes. It treats the entire boolean expression as a single decision - the expression as a whole must evaluate to both true and false, regardless of AND/OR operators within it. This differs from condition coverage which requires each sub-condition to be tested.
-
Require a driver to test
-
No need of instances of other classes
-
No need to test the transitions
-
All of the above.
A
Correct answer
Explanation
Class testing (unit testing for classes) requires a driver - test code that instantiates the class, calls its methods, and verifies results. Classes typically DO need instances of other classes (dependencies) to test interactions, and transitions between states should be tested. Option A correctly identifies that drivers are essential; B and C are incorrect.
-
Same as smoke test
-
Done after each build to make sure that the build doesn’t contain major errors
-
Both A and B
-
None of the above.
C
Correct answer
Explanation
Build Verification Test (BVT) and smoke test are often used interchangeably - both are quick tests run after each build to verify basic functionality and catch major errors that would make further testing pointless. BVT ensures the build is stable enough for detailed testing. Both A and B correctly describe aspects of BVT.