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
-
a) Web based test automation tool
-
b) Web based test management tool
-
c) Web based test case design tool
-
d) Load testing tool
B
Correct answer
Explanation
HP Quality Center is a web-based test management tool used to manage requirements, plan and schedule tests, execute test suites, and track defects throughout the software development lifecycle.
-
a) from the Test Lab module
-
b) from the Requirements module
-
c) From the defects module
-
d) From the releases module
B
Correct answer
Explanation
Tests are linked to requirements within the Requirements module using the Test Coverage tab, allowing users to map specific test cases to individual requirements.
-
a) Rejected
-
b) Fixed
-
c) Deferred
-
d) Closed
C
Correct answer
Explanation
When a defect is valid but cannot be fixed immediately due to a gap in requirements or lack of code/resources, its status is set to 'Deferred' to be addressed in a future release.
-
a) Requirements -Test coverage & Test Plan –Requirement coverage
-
b) Requirements – Linked defects & Test Plan –Requirement coverage
-
c) Test Lab – Execution Flow tab & Requirements -Test coverage
-
d) Requirements--> Link Defects & Test Lab --> Link defects
A
Correct answer
Explanation
Establishing a Traceability Matrix in Quality Center involves linking requirements to tests (Requirements-Test coverage) and analyzing how requirements cover the test plan (Test Plan-Requirement coverage) to ensure full alignment.
-
a) test plan
-
b) test lab
-
c) defects
-
d) releases
B
Correct answer
Explanation
In Quality Center (now HP ALM), test cases are executed in the Test Lab module. The Test Lab is specifically designed for test execution, where test sets are created and run. Test Plan is for design, Defects for tracking issues, and Releases for managing release cycles.
-
a) convert releases to tests
-
b) define test folders and tests manually
-
c) save automated tests in Quality Center
-
d) define test names for each test needed
B
Correct answer
Explanation
A test plan tree can be created by defining test folders and tests manually in the Test Plan module. This hierarchical organization allows grouping tests by subject area, feature, or other criteria. Converting releases or saving automated tests are different workflows.
-
a) requirement traceability
-
b) requirement coverage
-
c) test coverage
-
d) link defects
A
Correct answer
Explanation
Requirement traceability is the mechanism used in Quality Center to relate requirements to one another, establishing parent-child or peer relationships to track dependencies.
-
a) Run button
-
b) Select test Button
-
c) Run test set button
-
d) Delete button
B
Correct answer
Explanation
In the Test Lab module of Quality Center, you use the 'Select Tests' button to open the test plan tree pane, allowing you to select and add test cases from the Test Plan to your execution test sets.
-
a) Requirements
-
b) Defects
-
c) Output
-
d) None of the above
-
Heinz Kabutz
-
Cay Horstmann
-
Joshua Bloch
-
1 and 3
-
All of the above
D
Correct answer
Explanation
Heinz Kabutz (Java specialist) and Joshua Bloch (Effective Java author) are both strong advocates of unit testing. Both have written extensively about testing best practices. Cay Horstmann is also a Java educator but less associated with unit testing advocacy compared to the other two.
-
User acceptance testing
-
Usability testing
-
Scalability Testing
-
Ramp Testing
A
Correct answer
Explanation
User Acceptance Testing (UAT) is conducted by end-users or customers to verify the software meets business requirements and is satisfactory for actual use. Usability testing focuses on user-friendliness, Scalability testing on performance under load, and Ramp testing on stress limits. UAT is the final validation before production deployment.
-
Ramp Testing
-
Recovery Testing
-
Sanity Testing
-
Scalability Testing
A
Correct answer
Explanation
Ramp Testing involves continuously increasing an input signal (load, data volume, concurrent users) until the system breaks, establishing the breaking point. Recovery Testing checks system recovery after crashes, Sanity Testing verifies basic functionality after changes, and Scalability Testing measures performance at increasing loads without necessarily breaking the system.
-
Negative Testing
-
Path Testing
-
Monkey Testing
-
Performance Testing
C
Correct answer
Explanation
Monkey Testing is ad-hoc, random testing without formal test plans - testers 'monkey around' with the system running random tests to check for crashes. Negative Testing uses invalid inputs, Path Testing covers all execution paths, and Performance Testing measures system responsiveness. Monkey testing is informal and exploratory by nature.
-
Installation Testing
-
Gorilla Testing
-
Exhaustive Testing
-
End-to-End testing
B
Correct answer
Explanation
Gorilla testing focuses on testing one particular module or functionality heavily and repeatedly. It is different from installation testing which checks the installation process, exhaustive testing which tests all possible combinations, or end-to-end testing which validates the entire system flow.
-
Compatibility Testing
-
Ad Hoc Testing
-
Accessibility Testing
-
Beta Testing
D
Correct answer
Explanation
Beta testing involves testing the software at the client's site after installation, allowing real users to provide feedback before final release. Compatibility testing checks if the software works across different platforms, ad hoc testing is informal without planning, and accessibility testing ensures usability for disabled users.