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
-
Contains some data inputs stored in test script’s datasheet, but not true data-driven.
-
Test case steps are part of each Action script: high maintenance, low reusability.
-
Scripting developed in reactionary mode to test a single issue or fix.
-
None of the above.
A,B,C
Correct answer
Explanation
Ad-hoc frameworks have three key characteristics: (A) Some data in datasheet but not truly data-driven, (B) Test steps embedded in Action scripts (high maintenance, low reuse), and (C) Reactive scripting for single issues. These describe poorly structured automation. Option D (None) is incorrect because A, B, and C all accurately describe ad-hoc framework traits.
-
This framework will yield a higher degree of modularization and add to the overall maintainability of the test scripts.
-
This can be achieved by creating small, independent scripts that represent modules.
-
It is heavily depended on Datasheets for each execution.
-
Strategy is to build an abstraction layer in front of a component to hide the component from the rest of the application.
A,B,D
Correct answer
Explanation
Test Script Modularity framework emphasizes creating small, independent, reusable script modules (B) which improves maintainability (A) and uses abstraction layers to hide components (D). It does NOT heavily depend on datasheets for each execution - that describes a data-driven framework.
-
A framework where test input and output values are read from data files.
-
Test case is contained in the data file and not in the script.
-
Kewords are most important aspect of this framework.
-
Only test data is contained in the data files.
A,D
Correct answer
Explanation
Data-Driven Framework separates test data from test logic - input/output values come from data files (A), and only test data resides in those files (D). Test logic remains in scripts, making B false. Keywords are central to keyword-driven frameworks, not data-driven (C false).
-
A hybrid framework using Keyword and Data Driven framework.
-
Data Driven Framework.
-
Table-Driven Framework.
-
None of the above.
A
Correct answer
Explanation
A hybrid framework combining Keyword and Data Driven approaches allows test cases (keywords/steps) and test data to be stored together in external data files, separating test logic from the execution engine.
-
Maintainability: multiple data-files are required for each Test Case.
-
Accessibility: Finding a perticular datasheet in a specific folder location is always pain.
-
Extensibility: scripts are not as extensible as in other frameworks.
-
Usablity: difficult to trace back error in unattended execution. Specially if recovery scenario is triggered during execution.
A,B,D
Correct answer
Explanation
Data-driven testing has maintainability challenges (A) because each test case needs separate data files. Finding specific data files (B) is difficult as test suites grow. Error tracing (D) is harder during unattended runs, especially when recovery scenarios activate. Extensibility (C) isn't inherently worse - scripts can be as extensible as other frameworks.
-
Keyword-driven tests look very similar to manual test cases.
-
Requires more extensive training in the test tool for people who will create tests.
-
The Detail Test Plan can be written in Spreadsheet format containing all input and verification data.
-
The tester need only learn the "Key Words" required, and the specific format to use within the Test Plan.
A,C,D
Correct answer
Explanation
Keyword Driven Frameworks make tests readable like manual test cases (A true). They don't require extensive tool training because testers only need to learn keywords, not the underlying tool (B false). The test plan can indeed be structured in spreadsheets with input and verification data (C true). Testers primarily learn keywords and the test plan format (D true). Options A, C, and D are correct.
-
Less used framework because of it's limitations.
-
A Framework which is a combination of two or more frameworks.
-
Has essential components of this framework are Core Data Driven Engine, the Component Functions, and the Support Libraries.
-
Has App Map to bridges the automation framework with the application being tested.
B,C,D
Correct answer
Explanation
A Hybrid Framework combines multiple framework types (B true). It includes core components like Data Driven Engine, Component Functions, and Support Libraries (C true). The App Map bridges the automation framework with the application being tested (D true). Option A is incorrect because hybrid frameworks are widely used, not limited.
-
Keyword Driven
-
Data Driven
-
Record & Play
-
All of the above.
C
Correct answer
Explanation
Mercury (HP) QTP was built on the fundamental Record & Playback capability. While Mercury later promoted Keyword Driven Framework as the best practice, the question asks what framework they 'modeled' - referring to the core automation approach built into the tool itself. The most basic framework type is Record & Play, which captures user interactions exactly as performed.
B
Correct answer
Explanation
Test Automation Frameworks are designed to be tool-independent in their architectural principles. A framework provides structure, methodology, and organization patterns that can work across different automation tools. While implementation may use specific tools, the framework concept itself is about methodology and best practices, not tool dependency.
-
Convert Requirements to Tests & Generate a Test from Requirements
-
Convert Requirements to Tests & Convert a Test from Requirements
-
Convert Requirements to Tests & Generate a Requirement from Tests
-
Convert a Test from Requirements & Generate Requirements to Tests
A
Correct answer
Explanation
The two methods are 'Convert Requirements to Tests' (batch conversion) and 'Generate a Test from Requirements' (individual test creation). Options B and D use 'Convert a Test' which is backward - you don't convert tests from requirements. Option C reverses the direction.
-
Requirements
-
Test Cases
-
Tests
-
Defects
A
Correct answer
Explanation
Within the Requirements module, traceability links are created between requirements (parent-child relationships). Test Cases, Tests, and Defects belong to other modules and are linked differently through cross-module traceability.
D
Correct answer
Explanation
Quality Center assigns .jpg extension to screenshots and images uploaded to the system. While .jpeg is technically the same format, QC specifically uses the .jpg extension in its naming convention.
-
Test Object A
-
Test Object B
-
Test Object C
-
None
B
Correct answer
Explanation
Comparing the defect counts: Test Object A has X defects, B has 145% of X (1.45X), and C has 120% of X (1.20X). Since Test Object B has the highest number of defects (1.45X > 1.20X > X), it potentially has more undiscovered issues and should be given more testing attention.
-
When exit criteria is meet.
-
When Project Managers say to stop.
-
Till Project Fund allow.
-
When no more defects are found.
A
Correct answer
Explanation
Testing should be stopped when the predefined exit criteria are met, which typically include coverage metrics, defect density, and schedule constraints. Stopping based solely on project manager decisions, budget depletion, or finding no more defects is subjective and does not guarantee quality.
-
Domain Service and Licensing Service
-
Gateway Service and Log Service
-
Authentication Service and Admin Service
-
Integration Service and Repository Service
B
Correct answer
Explanation
In Informatica PowerCenter, Gateway Service and Log Service are classified as Core Services that run on every node in the domain to manage basic node operations and logging.