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

Multiple choice technology testing
  1. A. At system and acceptance testing levels only.

  2. B. At all test levels.

  3. C. At all levels above integration testing.

  4. D. At the acceptance testing level only.

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Functional testing verifies what the system does and can be performed at every test level. Unit tests check individual functions, integration tests verify functional interactions between components, system tests validate end-to-end functionality, and acceptance testing confirms business requirements are met - all are functional in nature.

Multiple choice technology testing
  1. A. Developers.

  2. B. Analysts.

  3. C. Testers.

  4. D. Incident Managers.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Debugging is the process of identifying, locating, and correcting bugs within the source code, which is traditionally and primarily performed by developers who write the code. Testers typically find and report defects, but they do not debug the source code to resolve them.

Multiple choice technology testing
  1. ii, iv and v.

  2. ii, iii and iv.i,

  3. i, ii and iv.

  4. i, iii and v.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In software testing, configuration management ensures that all versions of the software under test (i) and the associated testware (test scripts, plans, data) are identified (i), version-controlled (ii), and tracked for changes (iv). Developing (iii) or analyzing the need for new testware (v) are development/analysis activities, not configuration management.

Multiple choice technology testing
  1. Scheduling test analysis and design tasks.

  2. Initiating corrective actions.

  3. Monitoring progress and test coverage.

  4. Measuring and analyzing results.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Test planning involves defining the overall test approach and scheduling activities. Scheduling test analysis and design tasks (what to test, how to test) happens during planning. Options B, C, and D (corrective actions, monitoring, measuring) are part of test control/execution, not planning.

Multiple choice technology testing
  1. At system and acceptance testing levels only.

  2. At all test levels.

  3. At all levels above integration testing.

  4. At the acceptance testing level only.

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Functional testing (testing based on functional requirements) can be performed at ANY test level. At unit level, you test individual functions. At integration level, you test interfaces between modules. At system and acceptance levels, you test end-to-end functionality. Options A, C, and D incorrectly limit where functional testing applies.

Multiple choice technology testing
  1. Developers.

  2. Analysts.

  3. Testers.

  4. Incident Managers.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Debugging is the process of locating and fixing defects, which requires access to source code and development tools. Developers write the code and are responsible for fixing it. Testers find and report incidents, but don't typically debug. Analysts define requirements, and incident managers track issues.

Multiple choice technology web technology
  1. Production

  2. Staging

  3. App Dev

  4. SEG Dev

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The SEG team tests scripts in the SEG Dev environment before they are deployed to higher environments. This dedicated development environment allows the team to validate scripts in isolation, catching issues early before they reach staging or production. Testing directly in production would be unsafe, and testing in App Dev wouldn't reflect the SEG team's operational context.

Multiple choice technology testing
  1. Single

  2. Three

  3. Multiple

  4. Unlimted

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

When you create a new test in QTP, it automatically includes a single action by default. You can add more actions later, but the initial test has one. Tests with multiple actions are created by explicitly adding them, not by default.

Multiple choice technology testing
  1. Checkpoint window

  2. Checklist window

  3. Informaton Pane

  4. Test Results window

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Checkpoint results are viewed in the Test Results window after a test run completes. This window shows all checkpoint outcomes, screenshots, and pass/fail status. The Checkpoint window is for creating checkpoints, not viewing results.

Multiple choice technology testing
  1. Split Action

  2. Call Action

  3. Reusable Action

  4. NonReusable Action

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Reusable actions can be called by other tests or actions, enabling modularity and code reuse. You call them using the 'Call to Copy' or 'Call to Existing' options. Split actions divide an action, Non-reusable actions cannot be called externally.

Multiple choice technology testing
  1. F3

  2. F5

  3. F1

  4. F2

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

F1 is the universal keyboard shortcut for accessing help documentation in most Windows applications, including QuickTest Professional. It launches the context-sensitive help system. F5 is typically for Run/Refresh, F2 for editing, and F3 varies by application but is not standard for help.

Multiple choice technology testing
  1. Each test stage has a different purpose

  2. It is easier to manage testing in stages

  3. We can run different tests in different environments

  4. The more stages we have, the better the testing

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Different test stages have distinct objectives: unit testing verifies individual components, integration testing checks interfaces, system testing validates the complete system, and acceptance testing confirms business requirements. Each stage serves a unique purpose.

Multiple choice technology testing
  1. Integration testing

  2. Regression testing

  3. System testing

  4. User acceptance testing

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Regression testing benefits most from capture/replay tools because it involves repeatedly executing the same tests after changes. Capture/replay allows quick re-execution of existing test suites without manual recreation, making it ideal for regression cycles.