Object
|
Event
|
Task
|
Psuedocode
|
txtCustomer
|
Keyboard
|
Type in customer’s
name
|
INPUT Customer name
|
txtAddress
|
Keyboad
|
Type in customer’s
address
|
INPUT Customer address
|
rbtnMag
|
Left mouse button
click, check radio button
|
Clear other radio
button selections
When checked, adds 5
to total price when calculated
|
|
rbtnHaw
|
Left mouse button
click, check radio button
|
Clear other radio
button selections
When checked, adds 7
to total price when calculated
|
|
rbtnMea
|
Left mouse button
click, check radio button
|
Clear other radio
button selections
When checked, adds
6.5 to total price when calculated
|
|
rbtnSup
|
Left mouse button
click, check radio button
|
Clear other radio
button selections
When checked, adds 7.05
to total price when calculated
|
|
rbtnVeg
|
Left mouse button
click, check radio button
|
Clear other radio
button selections
When checked, adds 5.5
to total price when calculated
|
|
chkAnc
|
Left mouse button
click, check checkbox
|
When checked, adds
0.95 to total price when calculated
|
|
chkChi
|
Left mouse button
click, check checkbox
|
When checked, adds 1
to total price when calculated
|
|
chkOli
|
Left mouse button
click, check checkbox
|
When checked, adds 0.8
to total price when calculated
|
|
chkMus
|
Left mouse button
click, check checkbox
|
When checked, adds 0.5
to total price when calculated
|
|
btnCalc
|
Left mouse button
click, button press
|
Calculates total price
by combining all values
Show total price in lblPrice |
IF rbtnMag is selected
ADD 5 to TotalPrice variable
IF rbtnHaw is selected
ADD 7 to TotalPrice variable
IF rbtnMea is selected
ADD 6.5 to TotalPrice variable
IF rbtnSup is selected
ADD 7.05 to TotalPrice variable
IF rbtnVeg is selected
ADD 5.5 to TotalPrice variable
IF chkAnc is selected
ADD 0.95 to TotalPrice variable
IF chkChi is selected
ADD 1 to TotalPrice variable
IF chkOli is selected
ADD 0.8 to TotalPrice variable
IF chkMus is selected
ADD 0.5 to TotalPrice variable
DISPLAY TotalPrice
variable in lblPrice
|
lblPrice
|
Show Total Price of
the order
|
||
txtS_Req
|
Type in any special
requests by customers
|
||
btnOrder
|
Left mouse button
click, button press
|
Join txtCustomer,
txtAddress, lblPrice and txtS_Req and show it in a new window
|
DISPLAY txtCustomer, txtAddress, lblPrice and
txtS_Req
in FORM 2 |
Wednesday, September 12, 2012
TOE Chart w/ Pseudocode- Pizza Ordering System
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment