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
-
Domain Service and Licensing Service
-
Gateway Service and Log Service
-
Authentication Service and Admin Service
-
Integration Service and Repository Service
B
Correct answer
Explanation
Gateway Service and Log Service are core services that can be configured by administrators. Domain Service, Licensing Service, Authentication Service, Admin Service, Integration Service, and Repository Service are either not user-configurable or are system-managed core services.
-
test cases
-
repository
-
load test
-
defects
B
Correct answer
Explanation
Quality Center (now HP Application Lifecycle Management/ALM) is fundamentally a central repository that stores and manages all testing artifacts - test cases, requirements, defects, and test results. The repository function is its core purpose - providing version control, traceability, and centralized access to the entire testing ecosystem.
-
HP OpenView
-
HP WinRunner
-
HP LoadRunner
-
HP QuickTest Professional
B,D
Correct answer
Explanation
HP WinRunner (legacy functional testing tool) and HP QuickTest Professional (QTP, now UFT) are both functional testing tools that integrate directly with Quality Center for test storage, execution, and defect reporting. LoadRunner is for performance testing, not functional testing. HP OpenView is network management software, unrelated to Quality Center.
-
from the Test Lab module
-
from the Requirements module
-
on the test details page (Test Plan)
-
on the attachments page (Test Plan)
B
Correct answer
Explanation
In Quality Center's test management workflow, tests are linked to requirements from within the Requirements module. This module specifically provides the interface to associate test cases with requirement definitions, establishing traceability. The Test Lab module is for execution, not requirements linking. Test Plan is for authoring tests, not linking them.
-
Multiple items as filter
-
Two items as a filter
-
Five items as filter
-
Single item as a filter
A
Correct answer
Explanation
Quality Center allows you to define multiple filter criteria simultaneously to narrow down your data view. You're not limited to a single filter - you can combine several conditions to create complex queries. Options B and C incorrectly suggest arbitrary limits, while D is too restrictive.
-
Linked Errors
-
Linked Defects
-
Linked Data
-
Linked Tests
B
Correct answer
Explanation
In Quality Center, the feature is specifically called 'Linked Defects' - this is the terminology used throughout the tool for connecting test instances to defects. You create these links either in the Test Plan module or during manual test execution. The other options use incorrect terminology that doesn't match QC's feature set.
B
Correct answer
Explanation
In HP Quality Center / ALM, pressing the F9 shortcut key allows users to access the Requirements menu bar directly from the Requirements module, facilitating quick keyboard navigation.
-
Full, Partial, Basic, and Low
-
Full, Half, Basic, and None
-
Full, Partial, Basic, and None
-
Full, Partial, Critical, and None
C
Correct answer
Explanation
Quality Center's testing levels are Full, Partial, Basic, and None - representing the extent of testing coverage from complete down to no testing. Option A incorrectly uses 'Low' instead of 'None', B incorrectly uses 'Half', and D incorrectly substitutes 'Critical' for 'Basic'. These are the standard QC testing level definitions.
B
Correct answer
Explanation
F9 is the correct keyboard shortcut to access the Test Plan menu bar in Quality Center. This is a specific QC keyboard function. The other function keys (F7, F11, F12) are used for different purposes in the application or are not assigned to this function.
-
RequiredFieldValidator
-
RegularExpressionValidator
-
CompareValidator
-
The equals() method of the field.
C
Correct answer
Explanation
The CompareValidator control is specifically designed to validate that two fields (like password and confirm password) are equal. RequiredFieldValidator checks for non-empty values, RegularExpressionValidator validates patterns, and there is no equals() method on fields - this is a concept from programming, not ASP.NET validation controls.
-
A. ByVal
-
B. ByRef
-
C. ByArg
-
D. ByRes
B
Correct answer
Explanation
Quick Test Professional (QTP) passes arguments to procedures by reference (ByRef) by default, meaning the procedure receives a reference to the original variable. This allows the procedure to modify the original variable's value, which is efficient for memory usage but requires awareness of potential side effects.
-
A. Syntax errors
-
B. The test name and author
-
C. The QTP license information.
-
D. The machine ID and operating system.
A
Correct answer
Explanation
The information pane in QTP primarily displays syntax errors in your test script, helping you identify and fix structural issues before running tests. It serves as a real-time validation tool, similar to compiler error checking in programming languages.
-
A. Stops test execution at the specified step, after executing that step
-
B. Stops test execution at the specified step, before executing that step.
-
C. Pauses test execution at the specified step, after executing that step
-
D. Pauses test execution at the specified step, before executing that step.
D
Correct answer
Explanation
A breakpoint pauses test execution immediately before the specified step runs, allowing you to inspect variable values, call stacks, and application state at that exact moment. This is distinct from stopping execution - pausing allows you to resume debugging from that point.
-
A. It records exact keyboard operations on an object.
-
B. It records exact coordinates of all mouse movements.
-
C. It uses the object repository to determine what methods can be used.
-
D. It records and display exact keyboard operations on an object.
A
Correct answer
Explanation
Low-level recording in test automation tools like QTP/UFT records the exact coordinates and keyboard operations on an object when the tool cannot recognize the object using standard identification methods.
-
A. A Do Loop
-
B. Recovery Scenario
-
C. IF then Statement
-
D. Select case statement.
B
Correct answer
Explanation
Recovery Scenarios in testing tools like QTP/UFT are specifically designed to handle unexpected events and errors that occur during test execution. They can be triggered by specific error conditions and contain recovery steps to get the test back on track, making them the correct choice for unpredictable testing exceptions. Do loops and IF-then statements are programmatic constructs, not error-handling mechanisms.