View this PageEdit this PageAttachments to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide
Hotspots: Admin Pages | Turn-in Site |
Current Links: Cases Final Project Summer 2007

Questions on Sum2002 M3 Milestone

Questions about the design?

Ask away!


Are we going to have our M2 grades back before this is due so we can some validation for our system design up to this point?
Yes, the M2 grades will be sent to you via e-mail on Friday June 21st. Barbara Ericson





What was the test average?
Suelman /ali
I assume you mean the early-to-mid term exam. It was 79 Barbara Ericson


Could you please post an example of a scenario? thanks, natalie goddard

it's a use case diagram. the one with the stick figures. alan fay IANATA

A use case is all the related scenarios for a user goal. A scenario is a story of what happens to achieve a user goal. Alan is talking about a use-case diagram which shows in high-level form all the user goals for a system. A scenario is just english text that tells what the user does and what the system does during a user trying to achieve a user goal. Barbara Ericson
We went over scenarios in class on Tuesday. A scenario is a interaction sequence that satisfies a user goal. A use case is
a group of scenarios that are related to the same user goal. You always include the "Happy Day" scenario when everything goes right and
alternative scenarios for when things go wrong. For example, if I was taking about an Automatic Teller Machine and doing the "Happy Day"
withdraw scenario it might look like this:

1. Customer inserts his or her ATM card into the card reader
2. The card reader tells the display to show a message asking for the PIN (personal identification number)
3. The customer enters the pin using the key pad.
4. The card reader gets the input from the key pad and compares it to the pin stored on the card and if the same gets the account information for
the customer
5. The card reader tells the display to show the choices available to the customer (like withdraw, deposit, transfer, etc)
6. The customer picks withdrawal button
7. The display prompts for the account to withdraw from
8. The user uses the buttons to pick the account
9. The display promtps the user for the amount to withdraw
10. The user enters the amount with the keypad
11. The system gets the amount entered and asks the account to withdraw that amount
12. The system tells the cash dispenser to dispense the cash which also updates the number of bills in stock
13. The system tells the receipt printer to print the receipt.
14. The system tells the user to take the cash and receipt and wait for the card
15. The system asks if the user wants to do anything else?
15.1 If they do want to do more got to step 5.
16. The display promtps the user to take the card
17. The system tells the card reader to eject the card.
18. The customer takes the card
19. The display shows welcome message

There are other related scenarios where the customer enters the wrong card, the wrong PIN, asks to withdraw more money than is in the account, there isn't enough money in the machine to satisfy the withdraw, the printer is out of paper and so on.

The above scenario implies the classes: Customer, Card, CardReader, Display, KeyPad, Account, Button, CashDispenser, ReceiptPrinter


I'm looking for server.tar. I found a link on Mark's page http://www.cc.gatech.edu/fac/mark.guzdial/squeak/pws/
but the link seems to be missing. Is there any place I can download from?
It is on your cd with the book. It is also at http://pbl.cc.gatech.edu/myswiki/295 Barbara Ericson



Do we need to write scenarios for the previous versions of the drawing editor or just scenarios for the additions?
Since M4 includes the functionality of M2 and that includes the functionality of M1 then you need the scenarios for all Milestones. Barbara Ericson

Can we represent the DrawingService and the DrawingEditor in different UML diagrams? Classes used in both will just appear in both?
Suleman ali
Sure Barbara Ericson



On the uml diagram, do we need to include parameters for our methods, or are the method names enough?
Natalie Goddard
You can do just the method names at this point. If you know
what parameters you want to pass go ahead and put them in. Barbara Ericson




Should we show transient/transitive classes? Like FileStream, BookMorphs, etc?
No, you don't need to show classes in Squeak or transient classes Barbara Ericson







this is indubitably a silly question but how do you set the instance variables of an object directly (if it doesn't have setter methods)?

I want to set the keyStrokeRecpieient instance variable of the EventHandler class:

e _ EventHandler new.
e keyStrokeSelector _ blahblah?????????

Take a look at on: eventName send: selector to: recipient method of EventHandler Barbara Ericson








Link to this Page