homework1.pdf

Homework 1SWE 312 – Spring 2022

Dr. Mohsen Denguir

Sunday, March 20th, 2022

Deadline: Sunday, March 27, 2022

The owner of a car dealership would like to create a software to automate a part of thejob. This is how he describes the way they operate:

We have eight salespeople. As the customers come in, they greet them andask them what kind of car they are looking for. We also buy and sell usedcars. The customer has three options: buy a car in stock, order (throughus) from the car manufacturer, or get a car transferred from another dealer(e.g., when the customer wants a car similar to one in stock but in blueinstead of in red).We have two lots for three categories: family cars and sport cars. We alsohave “weekly specials” where a number of cars are offered with discountprices. For those whose purchase exceeds 50,000 SAR, we offer them acoupon that gives them a discount for a full year of monthly car washes.Some customers are interested in used cars and some want to trade in theirold cars for new ones. Each buyer can trade in only one old car, but of coursecan buy as many new cars as they wish. In fact, we have had customers thatcome in and want to buy new small cars for two kids going off to college anda new family car for the spouse. Whether new or old, each newly boughtcar must be registered with the government traffic administration.The salespeople work on a small salary, but most of their income is from thecommission that they earn by selling cars. There is an incentive programthat awards salespeople by higher commission percentages as they sell more:5% commission for sales up to 100,000 SAR per month, 7% for sales be-tween 100,000 and 200,000 SAR and 10% above that. The commission iscalculated weekly and is a percentage of their total sales including additionalfeatures, extended warranties, etc.We like to keep track of our salespeople’s performance and we choose a”salesperson of the year” who receives a bonus.

1

1. Formulate the problem to be solved using the template seen during the lectures. Theproblem must be different from the one seen as an example during the lectures.

2. Identify the stakeholders and the actors.

3. Draw a use case diagram (using a tool chosen by you).

2