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

Multiple choice technology testing
  1. Contains some data inputs stored in test script’s datasheet, but not true data-driven.

  2. Test case steps are part of each Action script: high maintenance, low reusability.

  3. Scripting developed in reactionary mode to test a single issue or fix.

  4. None of the above.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. This framework will yield a higher degree of modularization and add to the overall maintainability of the test scripts.

  2. This can be achieved by creating small, independent scripts that represent modules.

  3. It is heavily depended on Datasheets for each execution.

  4. Strategy is to build an abstraction layer in front of a component to hide the component from the rest of the application.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. A framework where test input and output values are read from data files.

  2. Test case is contained in the data file and not in the script.

  3. Kewords are most important aspect of this framework.

  4. Only test data is contained in the data files.

Reveal answer Fill a bubble to check yourself
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).

Multiple choice technology testing
  1. A hybrid framework using Keyword and Data Driven framework.

  2. Data Driven Framework.

  3. Table-Driven Framework.

  4. None of the above.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Maintainability: multiple data-files are required for each Test Case.

  2. Accessibility: Finding a perticular datasheet in a specific folder location is always pain.

  3. Extensibility: scripts are not as extensible as in other frameworks.

  4. Usablity: difficult to trace back error in unattended execution. Specially if recovery scenario is triggered during execution.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Keyword-driven tests look very similar to manual test cases.

  2. Requires more extensive training in the test tool for people who will create tests.

  3. The Detail Test Plan can be written in Spreadsheet format containing all input and verification data.

  4. The tester need only learn the "Key Words" required, and the specific format to use within the Test Plan.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Less used framework because of it's limitations.

  2. A Framework which is a combination of two or more frameworks.

  3. Has essential components of this framework are Core Data Driven Engine, the Component Functions, and the Support Libraries.

  4. Has App Map to bridges the automation framework with the application being tested.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Keyword Driven

  2. Data Driven

  3. Record & Play

  4. All of the above.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Convert Requirements to Tests & Generate a Test from Requirements

  2. Convert Requirements to Tests & Convert a Test from Requirements

  3. Convert Requirements to Tests & Generate a Requirement from Tests

  4. Convert a Test from Requirements & Generate Requirements to Tests

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Test Object A

  2. Test Object B

  3. Test Object C

  4. None

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. When exit criteria is meet.

  2. When Project Managers say to stop.

  3. Till Project Fund allow.

  4. When no more defects are found.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology platforms and products
  1. Domain Service and Licensing Service

  2. Gateway Service and Log Service

  3. Authentication Service and Admin Service

  4. Integration Service and Repository Service

Reveal answer Fill a bubble to check yourself
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.