Professional Documents
Culture Documents
Se 3 Ashwin
Se 3 Ashwin
1. Consider a software system that has been in use for several years and requires
maintenance due to changing user requirements and bug fixes and calculate the cost
and effort of the following scenario:
Initial Development:
The initial development of the software system cost $500,000.
The effort put into the initial development was 10 person-months.
Yearly Maintenance:
Each year, there are maintenance activities, including bug fixes and minor feature
enhancements.
The annual maintenance cost is estimated to be 20% of the initial development cost,
i.e., $100,000 per year.
The yearly effort required for maintenance is 2 person-months.
Extended Period:
Let's consider the software is expected to be in use for 5 years.
2. Suppose a project was estimated to be 400 KLOC. Calculate the effort and
development time for each of the three model i.e., organic, semi-detached &
embedded.
4. If you are a new customer and you want to open a credit card account then there are
three conditions first you will get a 15% discount on all your purchases today, second
if you are an existing customer and you hold a loyalty card, you get a 10% discount
and third if you have a coupon, you can get 20% off today (but it can’t be used with
the ‘new customer’ discount). Discount amounts are added, if applicable.
Write down all different test cases using boundary value analysis to check the above
conditions.
5. The Customer owns a website that contains information about the concerts held in its
venues. To enhance the website capabilities, the Customer developed a digital
ticketing module that was supposed to work the following way: when a visitor buys a
ticket on the Customer’s website, they receive an email with a link to the digital
ticket. Once a visitor arrives at the concert venue, they access the link with the digital
ticket and receive a QR code. Visitors can then scan the QR code and enter the venue.
To ensure stable performance of the digital ticketing software, the Customer wanted
to check if the website could handle 4,500 visitors simultaneously gaining access to
their tickets for 30 minutes, plus another 50 visitors browsing the website at the same
time.
Draw the decision table for the given case study.
-:ANSWERS:-
Cost Calculation:
- Total Maintenance Cost over 5 years = Annual Maintenance Cost * Number of Years
= $100,000 * 5 = $500,000
- Total Cost (Initial Development + Maintenance) = Initial Development Cost + Total
Maintenance Cost
= $500,000 + $500,000 = $1,000,000
Effort Calculation:
- Total Maintenance Effort over 5 years = Annual Maintenance Effort * Number of Years
= 2 person-months * 5 = 10 person-months
- Total Effort (Initial Development + Maintenance) = Initial Development Effort + Total
Maintenance Effort
= 10 person-months + 10 person-months = 20 person-months
Effort Calculation:
- Effort = 3.0 * (200)^1.12 = 3.0 * 383.7 = 1151.1 person-months
- Development Time = 2.5 * (1151.1)^0.35 = 2.5 * 33.9 = 84.75 months
Productivity:
- Productivity = Project Size / Effort = 200 KLOC / 1151.1 person-months ≈ 0.174
KLOC/person-month
4. Boundary Value Analysis Test Cases for Credit Card Account Opening:
- Test Case 1: New customer, purchases > $0 but < $100 (Boundary value)
- Test Case 2: New customer, purchases = $100
- Test Case 3: New customer, purchases > $100 (Boundary value)
- Test Case 4: Existing customer with loyalty card, purchases > $0 but < $100 (Boundary
value)
- Test Case 5: Existing customer with loyalty card, purchases = $100
- Test Case 6: Existing customer with loyalty card, purchases > $100 (Boundary value)
- Test Case 7: Customer with coupon, purchases > $0 but < $100 (Boundary value)
- Test Case 8: Customer with coupon, purchases = $100
- Test Case 9: Customer with coupon, purchases > $100 (Boundary value)
This decision table covers all possible scenarios based on the number of visitors buying
tickets and browsing the website simultaneously. Each cell in the table represents the
actions to be taken based on the conditions.