Design and Develop an EDP - Pizzas R Us
Unit 14 – Assignment 2
Daniel C 3/20/20 BTEC Level 3 in IT
,Contents
Purpose and requirements....................................................................................................................2
Form sketch...........................................................................................................................................2
Action Chart...........................................................................................................................................3
Commented code..................................................................................................................................4
Annotated screenshots & demonstration of working program...........................................................11
Report demonstrating the use of different techniques.......................................................................18
Controls...........................................................................................................................................18
Trigger Functions.............................................................................................................................18
Selection..........................................................................................................................................18
Iteration...........................................................................................................................................19
Variables..........................................................................................................................................19
Constants.........................................................................................................................................19
, Purpose and requirements
The purpose of this program is to allow the user to order food from an
Italian restaurant.
There should be at least 3 starters, 5 different types of pizza and 8
toppings.
If the order exceeds £7 then the customer will get a free drink and if it’s
over £9 they’ll get a free portion of garlic bread.
The user can add food to the order by clicking on the food’s name and
inputting the amount in the text box.
After completing the order, they will click on the ‘Get Total’ button to
see the final price.
If they want to cancel the order, they will use the appropriate button.
The user will be able to see a summary of what he’s bought on the right-
hand side of the screen.
After completing the order, the customer can exit the program using the
‘Exit’ button.
There’s on-screen help. By clicking the ‘Help’ button, you’ll get a list with
some steps that tell you how to use the program.
There’s another button which informs the user about the available
offers.
The offer will be automatically added on the ‘receipt’ if the total price
exceeds 7 pounds.
Form sketch
This approximates how the program is going to look like.
Unit 14 – Assignment 2
Daniel C 3/20/20 BTEC Level 3 in IT
,Contents
Purpose and requirements....................................................................................................................2
Form sketch...........................................................................................................................................2
Action Chart...........................................................................................................................................3
Commented code..................................................................................................................................4
Annotated screenshots & demonstration of working program...........................................................11
Report demonstrating the use of different techniques.......................................................................18
Controls...........................................................................................................................................18
Trigger Functions.............................................................................................................................18
Selection..........................................................................................................................................18
Iteration...........................................................................................................................................19
Variables..........................................................................................................................................19
Constants.........................................................................................................................................19
, Purpose and requirements
The purpose of this program is to allow the user to order food from an
Italian restaurant.
There should be at least 3 starters, 5 different types of pizza and 8
toppings.
If the order exceeds £7 then the customer will get a free drink and if it’s
over £9 they’ll get a free portion of garlic bread.
The user can add food to the order by clicking on the food’s name and
inputting the amount in the text box.
After completing the order, they will click on the ‘Get Total’ button to
see the final price.
If they want to cancel the order, they will use the appropriate button.
The user will be able to see a summary of what he’s bought on the right-
hand side of the screen.
After completing the order, the customer can exit the program using the
‘Exit’ button.
There’s on-screen help. By clicking the ‘Help’ button, you’ll get a list with
some steps that tell you how to use the program.
There’s another button which informs the user about the available
offers.
The offer will be automatically added on the ‘receipt’ if the total price
exceeds 7 pounds.
Form sketch
This approximates how the program is going to look like.