Monday, 17 September 2012

TOE Chart and Pseudo Code for Millionaire



Object
Event
Task
Pseudo code
Heading (label)
Questions (label)
Answers (label)
None
Display information
Display text
Exit (Button)
Click
Close program
End
A B C D (button)
Click
Ask if sure
Check if answer is correct and update score accordingly
Launch “are you sure?” form
If yes selected
        Check answer
        Display right or wrong
        Change score
If no selected
        Close form
Score
None
Shows current score
Displays the score
Correct
None
Shows the answer
Display answer



Here is my TOE chart for my "Who Wants to be a Millionaire?" interface

Layout Diagram for Who Wants to be a Millionaire

This is my layout diagram for the "Who wants to be a Millionaire?" The question appears appears under the heading, then the competitor chooses out of the options A,B,C and D then has to press the next button and the button under that shows whether the answer is write or wrong. This isn't precisely how it may appear but it is a close interpretation the final may have slight variations.

Pizza Ordering System


This is the final result for my 'Lucky Pizza Ordering System'. This screen cap shows what the interface will look like as well as the code. The lucky Pizza program is finally done. This program will allow "lucky pizza"'s employee to calculate the cost of the pizza that their customers ordered.

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.