Question

In: Computer Science

Chapter Case: Campus Bikes Campus Bikes is a popular bicycle shop located near a major university....

Chapter Case: Campus Bikes

Campus Bikes is a popular bicycle shop located near a major university. The business has grown and the owner, Mark Turner, wants to install an up-to-date computer system to handle all business functions.

Background
Campus Bikes sells several brands of new bikes, including everything from high-end racing models to beach cruisers. In addition to sales of new bikes and accessories, Mark’s service department is always busy. The staff includes Mark himself, a bookkeeper, two part-time sales reps, a full-time mechanic, and several part-time service helpers who assemble bikes.

Before opening the shop three years ago, Mark worked for many years in his father’s auto dealership, Turner Motors, and he learned all about the automobile business. In the bike shop, he runs a similar operation, but on a much smaller scale. For example, sales orders are recorded on pre-printed forms, and service requests are written up just as they would be in an auto service department.

Mark’s customers find him fair and reasonable. He likes to say that the main difference between his business and a big-box retailer is that he knows his customers and will do whatever it takes to keep them happy.

You work at the college as a lab assistant in the computer information department. You earned a computer science degree at a two-year school, and you recently decided to work toward your four-degree. The computer lab manager, Jill, often suggests that local businesses contact you for help in troubleshooting IT issues.

This morning, you received a call from Mark, who wants to hire you as a consultant to help plan a system for Campus Bikes. You learned that Jill had referred him, and you are excited to have this opportunity. It probably didn’t hurt that both you and Jill had bought bikes from Mark, and already knew him. After spending several weekends talking with Mark and the staff, you are ready to start. You decide to use an object-oriented approach that will be easy to understand.

Tasks
1. List possible objects in the new bike shop system, including their attributes and methods. Do not draw a diagram for this. Just a three column list will be appropriate.
2. Identify three possible use cases and actors.
3. Create a use case diagram that shows how service requests are handled. This diagram should be drawn similar to Figure 6-16 on page 189 of the text. Be sure to use the actors and use cases appropriate for this case as detailed above.
4. Create a state transition diagram that describes typical customer states and how they change based on specific actions and events. You can find an example of a state transition diagram in Figure 6-21 on page 192 of the text.

Solutions

Expert Solution

Answer)

If mark wants to sell bike as online platform so the diffrent objects we have to take into account.

In object oriented approach basically object represent the physical entity which participate in object oriented sys like in case of object oriented model of bike shop the ojects would customers and many more so below is the list of objects and their atributes and methods which will works over those object's atributes.

1)object:Staff

Atributes: departement,Name,salary,post,working experience,skills,date of joing.

methods:setdepartement,getsalary(),setsalary(),countreleventexperience()

2)customers

Atributes:name,age,occupation,customer_from,mobile_number,address,gender,Previous_sell.

Methods:earn_profit(),given_ranking() //given ranking in method which will calculate the importance of customer high importance means high ranking of basis of previous record and selling

3)product:

atributes: name,product_id,product_model,product_demand,product_price

methods:

calculate_profit(),setprice(),get_price(),countavail_quaintity()

4)inventory:

atributes:type,numberof items,number of type of items,shoratage_limit //shortage limit means below it we got to order item

methods: calcualte_limit(),count_items... etc

5)orders:

atributes:order_id,order_type,order_amount,customer_id,shipping_address

method:order_entry,order_track,order_closed.

answer 2) use cases:

1)creation of order

2) schedule the process

3) create invoice

means first create the order then send the request according to order to process once the process done create the invoice.

Answer 3)

Use case diagram:

means sale rep first create the order then send the request according to order to process once the process done create the invoice.

answer 4) state transition diagram:

state transition diagram in used to show the status of customer that customers is having curently.

  

********PLEASE DON'T FORGET TO GIVE THUMBS UP. I REALLY NEED IT*****


Related Solutions

Godfather Pizza is a popular pizza restaurant near a university campus. This pizza shop is very...
Godfather Pizza is a popular pizza restaurant near a university campus. This pizza shop is very popular as the price is reasonable, and the quality of the pizza is excellent. It has broad range of varieties, which students can choose the type of dough and topping. The everyday sales activity is high, which keep this pizza shop busy. However, Greg Taylor, the accountant   noticed that there is a small profit compares to the sales. Greg starts analyzing the efficiency of...
Python Programming Question Bicycle shop. A bicycle shop sells bikes and helmets. Some people already own...
Python Programming Question Bicycle shop. A bicycle shop sells bikes and helmets. Some people already own helmets, so on average the shop sells three helmets for every five bicycles. Helmets cost $50 and bikes cost $250. Write a program that prompts for the number of bikes that the shop expects to sell over the next month and outputs the total amount of expected revenue. You should not be using eval() at all; use int() or float() instead when called for.
SHU Bicycle Shop sells Mountain bikes, Dirt bikes and Leisure bikes. D. Shim, owner, aggregated the...
SHU Bicycle Shop sells Mountain bikes, Dirt bikes and Leisure bikes. D. Shim, owner, aggregated the following information with help of SHU Accounting Consulting Group: Product sales price purchase cost Mountain bike $1,500 $900 Dirt Bike $1,800 $800 Leisure Bike $800 $600 The shop anticipates selling 600 Mountain bikes, 250 Dirt bikes and 150 Leisure bikes. Monthly common fixed costs which can’t be separated to any product are $1,000,000 and income tax rate is 40%. Required) 1. What is unit...
Ms. Smith, the owner and manager of the Clear Duplicating Service located near a major university,...
Ms. Smith, the owner and manager of the Clear Duplicating Service located near a major university, is contemplating keeping her shop open after 4PM and until midnight. In order to do so, she would have to hire additional workers. She estimates that the additional workers would generate the following total output (where each unit of output refers to 100 pages duplicated). If the price of each unnit of output is $10 and each worker hired must be paid $40 per...
Kilgore’s Deli is a small delicatessen located near a major university. Kilgore’s does a large walk-in...
Kilgore’s Deli is a small delicatessen located near a major university. Kilgore’s does a large walk-in carry-out lunch business. The deli offers two luncheon chili specials, Wimpy and Dial 911. At the beginning of the day, Kilgore needs to decide how much of each special to make (he always sells out of whatever he makes). The profit on one serving of Wimpy is $0.4, on one serving of Dial 911, $0.53. Each serving of Wimpy requires 0.2 pound of beef,...
Kilgore’s Deli is a small delicatessen located near a major university. Kilgore’s does a large walk-in...
Kilgore’s Deli is a small delicatessen located near a major university. Kilgore’s does a large walk-in carry-out lunch business. The deli offers two luncheon chili specials, Wimpy and Dial 911. At the beginning of the day, Kilgore needs to decide how much of each special to make (he always sells out of whatever he makes). The profit on one serving of Wimpy is $0.4, on one serving of Dial 911, $0.53. Each serving of Wimpy requires 0.2 pound of beef,...
Kilgore’s Deli is a small delicatessen located near a major university. Kilgore’s does a large walk-in...
Kilgore’s Deli is a small delicatessen located near a major university. Kilgore’s does a large walk-in carry-out lunch business. The deli offers two luncheon chili specials, Wimpy and Dial 911. At the beginning of the day, Kilgore needs to decide how much of each special to make (he always sells out of whatever he makes). The profit on one serving of Wimpy is $0.41, on one serving of Dial 911, $0.54. Each serving of Wimpy requires 0.21 pound of beef,...
Kilgore’s Deli is a small delicatessen located near a major university. Kilgore’s does a large walk-in...
Kilgore’s Deli is a small delicatessen located near a major university. Kilgore’s does a large walk-in carry-out lunch business. The deli offers two luncheon chili specials Wimpy and Dial 911. At the beginning of the day, Kilgore needs to decide how much of each special to make (he always sells out of whatever he makes). The profit on one serving of Wimpy is $.45, on one serving of Dial 911, $.58. Each serving of Wimpy requires .25 pound of beef,...
Kilgore's Deli is a small delicatessen located near a major university. Kilgore's does a large walk-in...
Kilgore's Deli is a small delicatessen located near a major university. Kilgore's does a large walk-in carry-out lunch business. The deli offers two luncheon chili specials, Wimpy and Dial 911. At the beginning of the day, Kilgore needs to decide how much of each special to make (he always sells out of whatever he makes). The profit on one serving of Wimpy is $0.45, on one serving of Dial 911, $0.58. Each serving of Wimpy requires 0.25 pound of beef,...
Kilgore’s Deli is a small delicatessen located near a major university. Kilgore’s does a large walk-in...
Kilgore’s Deli is a small delicatessen located near a major university. Kilgore’s does a large walk-in carry-out lunch business. The deli offers two luncheon chili specials, Wimpy and Dial 911. At the beginning of the day, Kilgore needs to decide how much of each special to make (he always sells out of whatever he makes). The profit on one serving of Wimpy is $0.42, on one serving of Dial 911, $0.55. Each serving of Wimpy requires 0.22 pound of beef,...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT