170 likes | 185 Views
Explore the options of using a clothesline or a laundromat for laundry in a new home. Evaluate scenarios, modules, and modifications required for each option. Which is the more cost-effective and convenient choice?
E N D
A SAAM Example • A non-software example • Warm-up for the SAAM activity
Situation • You have just moved to a new house. • You have a washing machine ready to use, but your dryer broke in transit and the replacement hasn't arrived. • You're running out of clothes. • You have several hundred feet of good rope, and several large trees in the back yard. • You do not have any clothespins. They cost $3 for 50. • The weather is sunny and warm. It is 10am. • You have ten 1-dollar bills. • Your laundry baskets are still packed in a box somewhere in the house. • Laundromats charge $4/load ($2 to wash, $2 to dry)
Process (in-class “quick SAAM”) • Describe competing architectures • Include a list of modules • Define scenarios (functional and/or quality) • Evaluate architectures against scenarios • Identify direct scenarios • Identify indirect scenarios and changes needed • Count modules that need changing • Modules that require changes because of two or more scenarios count double • Low score wins
“Architectures” • Clothesline • Wash clothes at new house • Tie rope to trees to make clotheslines • Laundromat • Wash and dry clothes at laundromat • Transport clothes in your cleanest moving boxes instead of laundry baskets
Modules • Clothesline • Laundry equipment: washer • Suspension system: trees, rope and clothespins • Heating system: sun • Laundromat • Laundry equipment: coin-operated washers and dryers • Change machine: available (assumed working) • Clothes transport: boxes
Scenario list • Wash and dry three loads by nightfall • Cost less than $10
SAAM activity – part 1 • (25 min) Read architecture papers • (5 min) For each architecture, list modules on the modification counts sheet. Leave the modification count columns blank for now. Set sheet aside for later • (19 min) Brainstorm functional and quality attribute scenarios (you’ll need at least six) • (1 min) List the scenarios on each scenario analysis sheet
SAAM activity – part 2 • (20 min) For each architecture and each scenario • Decide if the scenario is direct or indirect in the architecture • If the scenario is indirect, list new modules required or changes to existing modules
SAAM activity – part 3 • (1 min) Add any new modules you identified to the modification count sheet • (8 min) Fill in the modification count columns • A module counts 0 if no changes are needed • A module counts 1 if it is new, changed or deleted • A module counts 2 if it is new, changed or deleted because of 2 or more scenarios • (1 min) Add modification counts for each architecture
SAAM activity – part 4 • (5 min) Complete the table on the whiteboard • Which design was better? • Would you recommend SAAM?