Thursday, 13 September 2012

TOE Chart & Pseudo Code for Pizza Order



Object
Event
Task
Pseudo Code
Exit Button
Click
Close program

Clear Button
Click
Clears the current order and then checks the Hawaiian radio button, unchecks all the checkboxes and also displays $7.00 in the price label
On button “clear” click
Change radio button to Hawaiian
Uncheck all extra toppings
Change price label to $7.00
Heading
None
Display Title

Calculate button
Click
Calculates the total price
Depending on which boxes are ticked a certain price will be added to the total price and the single price is multiplied by the number of pizzas
Pizza Radio buttons
Click
Selects the type pizza

Extra topping check boxes
Click
Adds a certain amount for each topping selected

# of Pizzas text box
Type
Multiplies the singular price by the number inserted


This is the TOE Chart for the "Lucky Pizza Ordering System" program. The object is what and the event is what has to be done for the task to occur.


No comments:

Post a Comment