SQT - 1
SQT - 1
Unit-1
Process to ensure quality in Process to verify the quality Activity to execute software
Definition the whole SDLC of the product and find defects
After development is
Timing Throughout the SDLC complete During/after development
Improve process for long- Ensure final product meets Verify functionality and
Goal term quality requirements correctness
2. Product Revision:-
This category addresses the software's ability to be changed or modified. These factors are most
important to developers and maintenance staff.
• Maintainability: The effort required to locate and fix a defect in the software.
• Flexibility: The effort required to modify or adapt the software to new requirements.
• Testability: The ease with which the software can be tested to ensure it meets its requirements.
3. Product Transition
This category deals with the software's ability to adapt to new environments. These factors are
important for those who manage the deployment and integration of the software.
• Portability: The effort required to transfer the software from one platform or environment to
another.
• Reusability: The extent to which parts of the software can be used in other applications.
• Interoperability: The effort required to couple the software with another system.
4. Describe Boehm’s Quality Model. Compare it with McCall’s Model. Boehm’s Model (1978)?
Ans) Boehm’s Quality Model (1978) and Comparison with McCall’s Model
1. Introduction:-
Barry W. Boehm proposed his Software Quality Model in 1978 as an
enhancement over models, including McCall’s. While McCall’s model focused more on operational
and maintenance perspectives, Boehm’s model emphasized quality characteristics based on user
needs and maintainability.
Boehm organized software quality into three levels:
1. High-Level Characteristics (Basic quality aspects).
2. Intermediate-Level Characteristics (Quality attributes).
3. Primitive Characteristics (Measurable metrics).
2. Boehm’s Quality Model Structure
A. High-Level Characteristics
These define the overall goals for software quality:
1. As-is Utility – How well the software meets operational requirements.
2. Maintainability – How easy it is to modify and improve the software.
3. Portability – How easily the software can be adapted to a different environment.
B. Intermediate-Level Characteristics
These are specific quality attributes linked to high-level goals:
• Portability: Device independence, self-containedness, data independence.
• As-is Utility: Reliability, efficiency, human engineering (usability).
• Maintainability: Testability, understandability, modifiability.
C. Primitive Characteristics
These are measurable metrics used to evaluate the quality attributes, such as:
• Consistency.
• Accuracy.
• Completeness.
• Simplicity.
• Execution efficiency.
• Year
Introduced 1978 1977
5. Summary:-
Both Boehm’s and McCall’s models aim to define and measure software quality but
differ in structure and focus. McCall’s model organizes quality factors into three broad categories,
while Boehm’s model uses a hierarchical structure linking high-level quality goals to measurable
metrics, with a stronger focus on maintainability and portability.
5. Explain Cost of Quality (COQ) and its components?
Ans)Definition:
Cost of Quality (COQ) is the total cost incurred to ensure a software product meets the required quality
standards. It includes all expenses related to preventing defects, measuring quality, and fixing
defects found during or after development.
Importance of COQ:-
• Identifies where resources are spent in quality management.
• Balances prevention costs with failure costs.
• Helps in process improvement and defect reduction.
• Reduces long-term maintenance costs by focusing on prevention.
Components of COQ:-
COQ consists of four main components:-
1. Prevention Costs – Costs to prevent defects before they occur.
• Quality planning.
• Training and skill development.
• Process documentation.
• Purchase of quality tools.
2. Appraisal Costs – Costs of measuring and monitoring quality.
• Inspections and reviews.
• Testing activities.
• Quality audits.
• Verification and validation.
3. Internal Failure Costs – Costs from defects found before release.
• Rework of code.
• Debugging and fixing issues.
• Retesting after bug fixes.
4. External Failure Costs – Costs from defects found after release.
• Customer complaints.
• Patch releases and updates.
• Warranty claims.
• Loss of reputation.
Formula(Conceptual):-
COQ = Prevention Costs + Appraisal Costs + Internal Failure Costs + External Failure Costs
KeyPoint:-
A well-managed COQ strategy shifts spending from failure costs to prevention costs, improving
customer satisfaction and reducing overall development expenses.
Unit-2
Field Details
Test Description Verify successful cash withdrawal from ATM with sufficient balance.
Status Pass/Fail
2. List and explain 5 key points to be considered while creating a test plan?
Ans) A test plan is a formal document that outlines the scope, approach, resources, and schedule for software
testing activities. It acts as a roadmap for the testing team, ensuring the testing process is structured and
effective. When creating a test plan, several important factors must be considered to ensure it
is clear, comprehensive, and achievable.
1. Scope of Testing:-
• Definition: The boundaries of testing — what features will be tested and what will not.
• Importance: Prevents unnecessary testing efforts and focuses resources on critical areas.
• Example: For an e-commerce application, testing might include login, product search, and
checkout, but exclude admin panel features.
2. Test Objectives:-
• Definition: The specific goals of the testing process.
• Importance: Helps the team understand what success looks like for the project.
• Example: “Verify that the payment gateway processes transactions correctly under high load.”
3. Resource Planning:-
• Definition: Identifying the team members, tools, and infrastructure needed for testing.
• Importance: Ensures the availability of skilled testers and appropriate tools before testing
starts.
• Example: Assigning automation testers for regression testing and manual testers for
exploratory testing.
5. Risk Management:-
• Definition: Identifying and planning for potential issues that could affect testing.
• Importance: Allows the team to prepare mitigation strategies for possible failures.
• Example: If the integration API is not stable, the plan should include mock API testing as a
backup.
4. Differentiate between Positive and Negative Test Cases?
Ans) In software testing, test cases can be broadly categorized into positive and negative types.
• Positive Test Cases confirm that the system works as expected for valid input and correct
usage.
• Negative Test Cases verify that the system handles invalid input or unexpected user behavior
gracefully, without crashing or producing incorrect results.
• Definition: Designed to validate that the application behaves correctly with valid inputs and
under normal conditions.
• Objective: Confirm that the system meets the specified requirements.
• Example: In a login page, entering a correct username and password should successfully log
the user in.
Characteristics:-
1. Based on valid scenarios.
2. Tests intended/expected use of the system.
3. Focuses on confirming correct functionality.
• Definition: Designed to validate that the application can handle invalid inputs and abnormal
conditions without failure.
• Objective: Ensure the system is robust and error-handling mechanisms work correctly.
• Example: In a login page, entering an invalid password should display an error message
without granting access.
•
Characteristics:-
1. Based on invalid scenarios.
2. Tests unintended or incorrect usage.
3. Focuses on system stability and error messages.
3. Key Differences Table
• Objective Confirm the system meets requirements Ensure robustness and stability
5. Explain the IEEE 829 Test Plan Format with its components?
Ans) IEEE 829 Test Plan Format and Its Components
1. Introduction:-
The IEEE 829 Standard for Software Test Documentation is a globally
recognized framework that defines various documents used in software testing.One of the most
important documents under this standard is the Test Plan — a structured document that defines
the scope, approach, resources, and schedule of the testing process.It ensures clarity, standardization,
and efficiency in test execution.
2. Components of the IEEE 829 Test Plan
Component Description
4. Features to be Tested Specifies the functionalities and features within the testing scope.
Lists functionalities excluded from the testing cycle, with reasons for
5. Features Not to be Tested exclusion.
8. Suspension Criteria and Specifies when to pause testing and the conditions required to
Resumption Requirements resume.
Lists all outputs from the testing process, such as test cases, defect
9. Test Deliverables reports, and summary reports.
10. Testing Tasks Details all testing-related activities and assigns responsibilities.
Defines the roles and duties of each team member in the testing
12. Responsibilities process.
15. Risks and Contingencies Lists potential risks and the contingency plans to address them.
Unit-3
1. A) What is Boundary Value Analysis (BVA) in software testing, & what is its primary objective?
Ans) Boundary Value Analysis (BVA) in Software Testing
Definition:-
Boundary Value Analysis (BVA) is a black-box testing technique used to identify defects
at the boundaries of input ranges rather than within the middle of those ranges.
The idea is that errors often occur at the “edge cases” where input changes from one valid value to
another, or from valid to invalid.
Primary Objective:-
The main objective of BVA is to:-
• Detect defects at the boundaries of input domains.
• Ensure that the software works correctly for the minimum, maximum, just inside, and just
outside boundary values.
• Reduce the number of test cases while maintaining high defect detection efficiency.
Key Points:-
• Type: Black-box testing technique.
• Focus: Minimum & maximum input values and their neighbors.
• Benefit: Higher chance of catching boundary-related errors with fewer test cases.
Example:-
If a form accepts age between 18 and 60, BVA test cases will be:
• Just below minimum: 17 (invalid)
• Minimum: 18 (valid)
• Just above minimum: 19 (valid)
• Just below maximum: 59 (valid)
• Maximum: 60 (valid)
• Just above maximum: 61 (invalid)
2. What is Equivalence Partitioning (EP) in software testing, and what is its primary goal?
Ans) Equivalence Partitioning (EP) in Software Testing
3. Definition:-
Equivalence Partitioning (EP) is a black-box test design technique in which the input
data of a software application is divided into partitions (or classes) of equivalent data.The idea is
that test cases from one partition are expected to behave the same way, so testing just one value from
each partition is sufficient to represent the entire group.
2. Primary Goal:-
The main goal of Equivalence Partitioning is to:
• Minimize the number of test cases while still achieving maximum coverage.
• Ensure that all possible input scenarios are covered by testing only one representative
value from each partition.
• Reduce redundancy in testing and save time without sacrificing quality.
3. Key Points
• Type: Black-box testing technique.
• Focus: Dividing inputs into valid and invalid partitions.
• Benefit: Fewer test cases with broad coverage.
4. Example
If a form accepts age between 18 and 60, the partitions would be:
Valid 18 ≤ Age ≤ 60 30
2. Purpose:-
The purpose of decision table testing is to:
• Identify and test all possible combinations of conditions and their results.
• Ensure that the software behaves correctly for every unique rule or decision.
Stable Income Y Y N N
No Debt Y N Y N
B) What are the main components of a Decision Table? Explain each briefly.
Ans) Main Components of a Decision Table:-
A Decision Table is divided into specific sections to
clearly represent conditions, possible actions, and rules.
1. Conditions Stub:-
• Definition: A list of all conditions (inputs or decision factors) that can influence the outcome.
• Purpose: Clearly defines what factors are being tested.
• Example: “Customer has stable income”, “Customer has no debt”.
2. Condition Entries:-
• Definition: Possible values (usually Yes/No, True/False, or ranges) for each condition under
different rules.
• Purpose: Specifies how each condition is set for a particular rule.
• Example: For “Stable income” → Rule 1: Yes, Rule 2: No.
3. Actions Stub:-
• Definition: A list of all possible actions or outcomes the system can take based on the
conditions.
• Purpose: Describes what will happen when a specific combination of conditions is met.
• Example: “Approve loan”, “Reject loan”.
4. Action Entries:-
• Definition: The specific actions that correspond to each rule in the table.
• Purpose: Shows the decision/output for the combination of condition entries in that rule.
• Example: Rule 1 → Approve loan; Rule 2 → Reject loan.
4. List and briefly describe the common states in a typical Defect Life Cycle (Bug Life Cycle)?
Ans) Common States in a Typical Defect Life Cycle (Bug Life Cycle):-
The Defect Life Cycle (or Bug Life Cycle) describes the series of
states a defect goes through from its discovery to its closure.Each state indicates the current status of
the defect in the testing and fixing process.
1. New:-
• The defect is reported for the first time and logged into the defect tracking system.
• Awaiting review and verification.
2. Assigned:-
• The defect is assigned to a developer or responsible team for analysis and fixing.
3. Open:-
• The developer starts working on the defect to fix it.
• The bug is active and under investigation.
4. Fixed:-
• The developer has applied a code change to resolve the defect.
• The fix is ready for testing.
5. Pending Retest:-
• The defect is waiting for the tester to retest it after the fix is applied.
6. Retest:-
• The tester verifies if the defect is fixed by executing the relevant test cases.
7. Verified:-
• The tester confirms that the defect no longer exists and the fix works as intended.
8. Closed:-
• The defect is marked as closed when it is successfully verified and no longer reproducible.
1. Severity:-
• Definition: Indicates the impact of the defect on the system’s functionality.
• Focus: Measures the seriousness of the defect from a technical point of view.
• Decided by: Testers / QA team based on how badly the bug affects the software.
• Example: A system crash when clicking “Save” is High Severity.
2. Priority:-
• Definition: Indicates the order in which the defect should be fixed.
• Focus: Measures the urgency of resolving the defect from a business point of view.
• Decided by: Project managers / Product owners based on delivery deadlines and customer
needs.
• Example: A spelling mistake on the homepage before a product launch may be High
Priority even if it’s Low Severity.
• Meaning Impact of the defect on the system. Urgency of fixing the defect.
• Time
Factor Independent of deadlines. Dependent on delivery schedule.