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
-
A. At system and acceptance testing levels only.
-
B. At all test levels.
-
C. At all levels above integration testing.
-
D. At the acceptance testing level only.
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.
-
A. Developers.
-
B. Analysts.
-
C. Testers.
-
D. Incident Managers.
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.
-
ii, iv and v.
-
ii, iii and iv.i,
-
i, ii and iv.
-
i, iii and v.
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.
-
Scheduling test analysis and design tasks.
-
Initiating corrective actions.
-
Monitoring progress and test coverage.
-
Measuring and analyzing results.
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.
-
At system and acceptance testing levels only.
-
At all test levels.
-
At all levels above integration testing.
-
At the acceptance testing level only.
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.
-
Developers.
-
Analysts.
-
Testers.
-
Incident Managers.
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.
-
Production
-
Staging
-
App Dev
-
SEG Dev
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.
-
Single
-
Three
-
Multiple
-
Unlimted
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.
-
Checkpoint window
-
Checklist window
-
Informaton Pane
-
Test Results window
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.
-
Split Action
-
Call Action
-
Reusable Action
-
NonReusable Action
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.
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.
-
Call Action
-
Split Action
-
Reusable Action
-
None
A
Correct answer
Explanation
QTP tracks execution time for each action within a test. You can view timing information in the Test Results window or programmatically access it through Reporter.ReportEvent or internal properties.
-
Each test stage has a different purpose
-
It is easier to manage testing in stages
-
We can run different tests in different environments
-
The more stages we have, the better the testing
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.
-
Integration testing
-
Regression testing
-
System testing
-
User acceptance testing
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.