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. Within the Project

  2. Outside the Project

  3. QAG

  4. All the above

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

External Quality Assurance is designed to provide an objective, unbiased review of project quality, which requires it to be conducted by personnel outside the project team. Internal QA is done within the project, while QAG (Quality Assurance Group) could be internal or external depending on the structure.

Multiple choice technology testing
  1. QA Prime

  2. Test Lead

  3. Tester

  4. QA Analyst

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

In the QA team hierarchy, the QA Analyst is responsible for day-to-day test execution and issue identification. When they encounter blocking issues or dependencies that prevent progress, they escalate these to the TCS QA Manager. Test Leads and QA Primes focus on planning and coordination, while Testers may report to QA Analysts rather than directly to QA Manager.

Multiple choice technology testing
  1. True

  2. False

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

Functional testing and Regression testing are sequential, not simultaneous. Functional testing validates new features first. Once features pass functional tests, THEN regression testing ensures existing functionality remains intact. Running them simultaneously would waste resources - if functional tests fail, there's no point running regression until fixes are made.

Multiple choice technology testing
  1. DDD

  2. High Level Scenarios

  3. Low Level Scenarios

  4. SSD

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

During the test design phase, test cases are developed based on high-level scenarios. High-level scenarios outline the overall flow and functionality to be tested, which are then refined into detailed test cases. Documents like DDD (Detailed Design Document) or SSD are design specifications, not test scenarios.

Multiple choice technology testing
  1. System Testing

  2. User Acceptance Testing

  3. Operational Testing

  4. Readiness Testing

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

The standard testing sequence is: Unit Testing → Integration Testing → System Testing → Performance Testing → User Acceptance Testing (UAT). Performance testing validates system responsiveness, load handling, and stability. Once performance is validated, the system moves to UAT where actual users validate business functionality in a production-like environment before go-live.

Multiple choice technology testing
  1. QA Testing

  2. Maintenance

  3. Implementation

  4. User Acceptance Testing

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

Post-product validation occurs after the implementation phase but before formal QA testing. It serves as an initial verification that the implemented product meets basic functional requirements before entering more rigorous testing cycles.

Multiple choice technology testing
  1. Specify Requirements-->Specify Release-->Test Execution-->Test Plan-->Manage Defects

  2. Specify Release--> Specify Requirements--> Manage defects--> PrepareTest Plan--> Test Execution

  3. Specify Release--> Specify Requirements-->Prepare TestPlan-->Test Execution--> Manage Defects

  4. Prepare TestPlan--> Specify Requirement--> Manage defects--> Test Execution--> Specify Release

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

The correct QC testing process begins with specifying the release (defining scope), then specifying requirements (detailing what to test), preparing the test plan (designing tests), executing tests, and finally managing defects. Options A and B have incorrect ordering.

Multiple choice technology testing
  1. Requirement

  2. Release

  3. Defect

  4. Testcase

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

A requirement defines what needs to be tested in an application. Requirements specify the functionality, features, and behaviors that must be verified during testing. They form the basis for creating test cases and determining test scope.

Multiple choice technology testing
  1. Link defect Tab

  2. Live anakysis tab

  3. Execution flow tab

  4. Execution Grid Tab

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

The Execution Grid Tab is the standard interface in test management tools for declaring test sets, executing test runs, and reviewing execution results. This tab provides the comprehensive grid view needed for managing test lifecycles. The Link defect Tab is for linking defects, Live analysis is for real-time analytics, and Execution flow is for workflow visualization.

Multiple choice technology testing
  1. New-->Fixed-->Open-->Rejected-->Closed

  2. New-->Open-->Fixed-->Rejected-->Closed

  3. New-->Reopen-->Closed-->Rejected

  4. New-->Fixed-->Open-->Closed

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

The standard defect life cycle follows: New→Open→Fixed→Rejected→Closed. A defect starts as New, moves to Open when assigned, to Fixed when resolved, to Rejected if the fix is rejected, and finally to Closed. Option A is incorrect because Fixed comes before Open. Option C is missing the Open state. Option D is missing the Rejected state.

Multiple choice technology programming languages
  1. Abstract Factory

  2. Factory Method

  3. Builder

  4. Composite

  5. Recursive Builder

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

Composite composes objects into tree structures, treating individual and group objects uniformly. Recursive access to nested structures built from other objects is the signature use case. Builder constructs objects stepwise, while Composite accesses them hierarchically.

Multiple choice technology programming languages
  1. 10,13

  2. 10,14

  3. 14,14

  4. Syntax error

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

The ABAP code contains multiple syntax errors. First, 'statics' should be 'STATICS'. Second, there's a name mismatch: the PERFORM statement calls 'add' (lowercase) but the FORM definition is named 'ADD' (uppercase). ABAP is case-sensitive for FORM/PERFORM names. Additionally, the STATICS declaration syntax is incorrect. These errors would prevent compilation.

Multiple choice technology testing
  1. Performance

  2. Regression

  3. Functional

  4. Unit

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

LoadRunner is primarily a performance testing tool used to simulate user load and measure system behavior under stress. While it can be part of a broader testing strategy, its core purpose is performance and load testing, not functional, regression, or unit testing.