0% found this document useful (0 votes)
6 views2 pages

Practice Task Software Testing

The document outlines tasks for testing systems using Boundary Value Analysis, Equivalence Class Partitioning, and Decision Tables. It includes specific scenarios for testing discount systems based on quantity and age, validating email addresses and password lengths, and creating decision tables for clothing recommendations and discount systems. Each task asks for the identification of test cases, equivalence classes, or decision tables based on given criteria.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views2 pages

Practice Task Software Testing

The document outlines tasks for testing systems using Boundary Value Analysis, Equivalence Class Partitioning, and Decision Tables. It includes specific scenarios for testing discount systems based on quantity and age, validating email addresses and password lengths, and creating decision tables for clothing recommendations and discount systems. Each task asks for the identification of test cases, equivalence classes, or decision tables based on given criteria.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Practice Task

Boundary Value Analysis (BVA)

Task 1:

1. A company offers a discount based on the quantity of items purchased. Test the
discount system using Boundary Value Analysis with the following ranges:
o 1–10 items: No discount
o 11–20 items: 10% discount
o 21–30 items: 15% discount
o Above 30 items: 20% discount
Question: What are the test cases you would use to validate the boundary
values?

Task 2:
2. A registration form asks for the user's age. The system enforces:

 Minimum age: 18
 Maximum age: 100
Question: What are the test cases you would use to validate the boundaries for age
input?

Equivalence Class Partitioning (ECP)

Task 1:

1. A sign-up form validates email addresses with the following rules:


o Email should not be empty.
o Email should contain "@" symbol.
o Email should contain a domain (e.g., "[Link]").
Question: What are the valid and invalid equivalence classes for email
addresses?

Task 2:
2. A login system checks the password length:

 Password length must be between 8 and 20 characters (inclusive).


Question: What are the valid and invalid equivalence classes for password lengths?
Decision Tables

Task 1:

1. A weather-based clothing recommendation system follows these rules:


o Below 10°C: Wear warm clothes
o 10°C - 20°C and rainy: Wear a jacket
o 10°C - 20°C and sunny: Wear light clothes
o Above 20°C: Wear summer clothes
Question: What would the decision table look like for this system?

Task 2:
2. A discount system provides discounts based on membership status and purchase amount:

 Members with purchases above $50 get a 20% discount.


 Non-members with purchases above $100 get a 10% discount.
 No discount for other conditions.
Question: What would the decision table look like for this system?

You might also like