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. Defect Management

  2. Test run management

  3. Test Case Management

  4. All of the above

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

HP Quality Center (HPQC, now Application Lifecycle Management) is a comprehensive testing platform that supports Test Case Management (organizing test cases), Test Run Management (executing test suites), and Defect Management (bug tracking). Since it handles all these functions, 'All of the above' is correct.

Multiple choice technology testing
  1. using Assert

  2. comparing the log files

  3. None of the Above

  4. Both of the Above

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

A test unit can indeed be written using assertions (Assert) to validate expected outcomes, and by comparing log files to verify actual behavior against expected results. Both approaches are valid testing strategies, making 'Both of the Above' the correct choice.

Multiple choice technology testing
  1. Test Manager perspective

  2. Business from busienss processes perspective

  3. The developer from a system perspective

  4. The testers Perspective

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

Business processes perspective identifies critical functionality, and system developer perspective reveals technical complexity and risk areas. These stakeholders define focus areas. Test manager and testers perspectives manage execution rather than define priorities.

Multiple choice technology testing
  1. Test Strategy, Compent Test Plan, Master Test Plan, Unit Test Plan

  2. Test Strategy, Master Test Plan,Compent Test Plan, Unit Test Plan

  3. Master Test Plan,Test Strategy, Compent Test Plan, Unit Test Plan

  4. Compent Test Plan,Master Test Plan,Test Strategy, Unit Test Plan

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

The standard hierarchy goes from high-level, project-wide planning to low-level execution plans. The Test Strategy defines the overall approach, followed by the Master Test Plan, then the Component Test Plan, and finally the detailed Unit Test Plan.

Multiple choice technology testing
  1. Scope of testing

  2. Test delieverables and resources

  3. Validation of test environments

  4. Risk and contingencies

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

A test plan defines testing scope, resources, schedules, deliverables, risks, and contingencies. Validation of test environments is an activity executed during testing, not a component or section defined inside the test plan document itself.

Multiple choice technology testing
  1. test planning

  2. test execution

  3. both

  4. none of the above

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

Test planning and test execution are separate phases in the software testing lifecycle. Test planning happens first (strategy, resource planning), followed by test execution (running tests). Test reporting and defect management occur after execution, as part of test closure/monitoring and control, making 'none of the above' correct.

Multiple choice technology testing
  1. Test plan is a contract between the testers and the project team and user describing the role of testing in the project

  2. Test Strategy is the plan for how you are going to run the test case

  3. The test plan should give information on software being tested, test objectives and risks and specific test to be performed

  4. Test planning can be started as soon as the time requirements definition starts

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

A Test Strategy is a high-level document outlining the overall test approach, standards, and test types for a project, rather than a plan for executing an individual test case. The other definitions correctly state that a test plan acts as a contract, lists objectives/risks, and starts during requirements.

Multiple choice technology testing
  1. Certain errors are not committed in programming process.

  2. No errors were committed in test execution.

  3. No errors were observed in current release.

  4. The new release contains only the fixes for previous release bugs.

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

Error-based testing aims to prove that specific, common programming mistakes or faults (errors) were not made during code development. It focuses on validating that the programming process avoided these specific bugs, rather than checking the correctness of test execution or validating the bug fixes of a release.

Multiple choice technology mainframe
  1. Using Batch program

  2. Using IBM Tools

  3. Front-end link

  4. None of the above.

Reveal answer Fill a bubble to check yourself
A,B,C Correct answer
Explanation

Procedures can be tested through multiple approaches: batch programs that automate test cases, IBM-specific testing tools (if working in an IBM mainframe environment), or through front-end applications that exercise the procedure via user interfaces. All three represent valid testing methodologies in different contexts.

Multiple choice technology testing
  1. a) after more formal techniques have been applied

  2. b) as the first approach to deriving test cases

  3. c) by inexperienced testers

  4. d) after the system has gone live

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

Error guessing is an experience-based technique where testers use intuition to find defects. It's best applied AFTER formal techniques (equivalence partitioning, boundary value analysis, etc.) because these systematic methods provide structured coverage first. Error guessing then catches edge cases formal methods might miss - it's a supplement, not a replacement.

Multiple choice technology testing
  1. True

  2. False

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

Acceptance testing verifies that a system meets USER requirements and business needs, not just technical requirements. It's about whether the system delivers value and solves the intended problem from the stakeholder's perspective. A system can meet technical requirements yet fail acceptance testing if it doesn't address actual user needs. The statement is False because it conflates technical requirements with user acceptance.

Multiple choice technology testing
  1. a. Automate if you can.

  2. b. Combine test cases.

  3. c. Designate some tests for periodic testing.

  4. d. All the above

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

Regression testing time can be effectively reduced through three key approaches: automation eliminates manual execution overhead, combining test cases reduces redundant setup and teardown, and periodic testing allows critical tests to run on a schedule rather than in every cycle. All three methods are valid and complementary strategies used in practice.