0% found this document useful (0 votes)
3 views

Software Testing Assignment - 2

The document outlines an assignment for a software testing course, featuring four questions that cover different testing scenarios: online shopping cart validation, ATM PIN verification, a ride booking application, and a university exam grading system. Each question includes specific tasks related to black-box, white-box, and hybrid testing strategies, emphasizing test case design, boundary value analysis, and test adequacy. The assignment aims to assess students' understanding of various testing methodologies and their application in real-world scenarios.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Software Testing Assignment - 2

The document outlines an assignment for a software testing course, featuring four questions that cover different testing scenarios: online shopping cart validation, ATM PIN verification, a ride booking application, and a university exam grading system. Each question includes specific tasks related to black-box, white-box, and hybrid testing strategies, emphasizing test case design, boundary value analysis, and test adequacy. The assignment aims to assess students' understanding of various testing methodologies and their application in real-world scenarios.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

CSA3703 - SOFTWARE TESTING


ASSIGNMENT – 2
SL Questions
NO
1 Question 1: Online Shopping Cart Validation (Black-box Approach)
Scenario:
You are testing an e-commerce website’s shopping cart feature that accepts quantity
input for items and updates the total bill accordingly. The cart accepts quantities from
1 to 10.
Tasks:
a. Design test cases using equivalence class partitioning.
b. Apply boundary value analysis for quantity input validation.
c. Suggest random test inputs and justify their selection.
d. Identify any limitations of black-box testing in this scenario.
2 Question 2: ATM PIN Verification Logic (White-box Approach)
Scenario:
You are testing an ATM software that verifies user PIN codes. The logic includes
checks for length, numeric input, and maximum 3 retry attempts.
Tasks:
a. Draw the control flow graph of the PIN verification module.
b. Identify all possible decision paths and use them to derive test cases.
c. Evaluate path coverage and code coverage metrics for your tests.
d. Discuss how test adequacy can be ensured in this situation.
3 Question 3: Ride Booking Application (Hybrid Testing Strategy)
Scenario:
You are part of a QA team for a ride-booking mobile application. The app includes user
location input, car type selection, fare calculation, and ride confirmation.
Tasks:
a. Propose test case design strategies using both black-box and white-box methods.
b. Perform equivalence class partitioning for fare ranges.
c. Create a set of test adequacy criteria for booking confirmation.
d. Describe the importance of path coverage in route optimization logic.
4 Question 4: University Exam Grading System
Scenario:
A university system calculates final grades based on assignments (30%), midterms
(30%), and final exams (40%).
Tasks:
a. Design test cases using boundary value analysis for grade computation.
b. Suggest black-box test cases to check grade category outputs (A, B, C, etc.).
c. Generate white-box test cases using a simplified grading flowchart.
d. Discuss the importance of evaluating test adequacy in this academic system.

You might also like