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.


Wednesday, 5 September 2012

Pizza Order Layout Diagram

This is the layout diagram for my lucky pizza Lucky Pizza Ordering System. The function of this program is to calculate the price of the order to the users liking. There are 5 pizza types and there are also extra toppings that the user can choose to put in. The user can also decide how many of the pizzas they want to order by inputting a number in the box. It also shows the codes and conventions of my program such as font size, style and colour.

Monday, 27 August 2012

Magic 8 Ball


This is a screen cap of the code and visual for the "Magic 8 Ball" program

Tuesday, 21 August 2012

TOE Chart and Pseudo Code for Magic 8 Ball


 
 
Object
Event
Task
Pseudo Code
Textbox
None
None
 
Answer Label
None
None
 
Exit Button
Click
Close program
 
Shake Button
Click
Generate a random response in the answer label
On button “shake’ click
Generate random number between 1-3
If the random number = 1
Display “Not Sure” in label answer “answer”
If random number = 2
Display “OK” in label “answer”
If random number = 3
Display “Maybe” in label “answer”
Heading
None
Display Title
 














 

                 


A TOE chart is a charting mechanism that displays the "Obejcts, Events and Tasks" of a specific program, it's used so that the programmer can easily depict what everything does.

The TOE is relevant to the layout diagram diagram because it portrays what each element of the layout diagram does.

This TOE chart also displays Pseudo Code

Monday, 20 August 2012

Layout Diagram for Magic 8 Ball




This 'Magic 8 Ball' program will answer any question


All you have to do is type in your question, press 'shake' and your answer will magically appear


This has been designed in this format to it can be simplistic and easy to use