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
-
a dynamic analysis tool
-
a test execution tool
-
a debugging tool
-
a test management tool
-
a configuration management tool
D
Correct answer
Explanation
A test management tool provides support for the software testing process by managing test ware, scheduling tests, recording incidents or defects, and maintaining traceability between requirements and test cases. Dynamic analysis, debugging, and configuration management tools serve entirely different primary functions.
B
Correct answer
Explanation
IEEE 802.11 refers to Wi-Fi networking standards, not software testing. Software testing terminology standards include IEEE 829 for test documentation and IEEE 730 for software quality assurance, among others.
A
Correct answer
Explanation
Regression testing specifically focuses on verifying that recent code changes haven't negatively impacted existing functionality. It ensures that previously working features continue to operate correctly after modifications or bug fixes.
-
Validation
-
Verification
-
Quality Assurance
-
Quality Control
B
Correct answer
Explanation
Verification checks whether we are building the product right (according to specifications), while Validation checks whether we are building the right product (according to customer needs). The question describes Verification.
-
only a new interaction layer
-
only a new processing layer
-
a new interaction layer and a new processing layer
-
a new interaction layer and a facade processing layer that uses the existing order processing system
-
a new processing layer and a facade interaction layer that uses the existing order processing system
D
Correct answer
Explanation
To expose an old, legacy system while minimizing risks of incompatibility with newer technologies, the Facade design pattern is ideal. Creating a new interaction layer combined with a facade processing layer allows the system to interface with legacy order processing without modifying its core, preserving stability.
-
The run-time or test object properties of any object in an open application.
-
The test object properties and methods of any object in an open application.
-
The run-time or test object properties and methods of any object in an open application.
-
The run-time object properties and methods of any object in an open application.
C
Correct answer
Explanation
Object Spy in QTP shows both runtime properties (actual values from the application) and test object properties (expected values) plus their available methods. Option A omits methods, B misses runtime properties, and D omits test object properties, making C the complete answer.
-
Tests
-
Steps
-
Call to Actions
-
Actions
D
Correct answer
Explanation
In Keyword View, Actions are the highest level of the test hierarchy. Tests contain Actions, Actions contain Steps, and Call to Actions are references to existing Actions. This hierarchical structure organizes test modularization and reuse.
-
Ordinal Identifier
-
Index Identifier
-
Smart Identification
-
Assistive Identification
C
Correct answer
Explanation
To solve this question, the user needs to have knowledge of basic concepts of QTP.
The answer is:
C. Smart Identification
When QTP cannot find any object that matches the description or finds more than one object that matches, it uses Smart Identification mechanism to identify the object. Smart Identification is a powerful test object recognition mechanism provided by QTP, which uses properties that are not usually used by QTP to identify the object. It defines two types of properties, Base Filter Properties and Optional Filter Properties, to identify an object. If an object is not identified using the mandatory properties, it uses the optional properties to identify the object. If the object is still not identified, it uses the smart identification mechanism to identify the object.
Options A and B are incorrect as there is no such mechanism in QTP as Ordinal and Index Identifier.
Option D is incorrect as Assistive Identification is not a mechanism provided by QTP.
-
Run-Time Object
-
Test Object
-
Smart Identification Object
-
Assistive Object
B
Correct answer
Explanation
The Test Object property set is maintained by QuickTest and represents the expected object definition used during test creation and playback. Run-Time Objects are actual objects from the application, Smart Identification is a fallback mechanism, and Assistive properties are just one property type.
-
Run-Time Object
-
Test Object
-
Smart Identification Object
-
Assistive Object
A
Correct answer
Explanation
In UFT (Unified Functional Testing), the Object property is used to access the native Run-Time Object, which represents the actual application object being tested during test execution. This allows you to use methods and properties that belong to the real application object rather than UFT's test object abstraction. The Test Object is UFT's internal representation, while Run-Time Object gives you direct access to the application's native object.
-
Remote Messaging Server administration
-
Message monitoring
-
Test Automation within the same package
-
All
D
Correct answer
Explanation
eMM (enterprise messaging management) includes remote messaging server administration, message monitoring, and test automation capabilities. Option D correctly encompasses all these features as part of a comprehensive messaging management system.
-
Win Runner scripts
-
SiteScope
-
LoadRunner scenarios
-
QuickTest Professional scripts
A,C,D
Correct answer
Explanation
Quality Center (now Application Lifecycle Management/ALM) integrates with multiple HP/Micro Focus testing products. Win Runner scripts (A) can be connected to Quality Center for test management. LoadRunner scenarios (C) integrate for performance test tracking. QuickTest Professional scripts (D), later called UFT, integrate for functional test management. SiteScope (B) is primarily a monitoring tool and while it may have some integration capabilities, it's not typically listed as a core testing product that integrates with QC in the same way as the automation tools.
-
Management
-
Libraries
-
Cycles
-
Releases
D
Correct answer
Explanation
The Releases submodule in Quality Center is specifically designed to define and manage releases and cycles. It provides the interface for creating release structures and organizing test cycles within those releases. Option A (Management) is a higher-level module. Option B (Libraries) deals with asset repositories. Option C (Cycles) is not the correct submodule name - cycles are defined within the Releases submodule.
-
Libraries
-
Test resources
-
Release models
-
Releases
A,D
Correct answer
Explanation
The Management module in Quality Center addresses Libraries (A) for managing test assets and documentation repositories, and Releases (D) for defining release structures and cycles. Option B (Test resources) is typically managed within other modules or the Test Lab. Option C (Release models) is not the standard terminology used in Quality Center - the module handles releases directly, not abstract models of them.