Free Web Hosting by Netfirms
Web Hosting by Netfirms | Free Domain Names by Netfirms

 

Home ] Up ]


 

Hatfield Pizza & Pasta Program

 

1. Build a user interface for Hatfield Pizza & Pasta.  The user will select food from the menu, send the order through and have the food delivered to his home.
2. Create a TOE chart to assist you.  Create a blank new solution and name it Hatfield Pizza and Pasta.  Create a new project and name it Menu.  Set it as the startup page.
3. Use Google to track down some images of pizza and pasta dishes for your program.  These images can be used where and how you desire on your page.  Also select an image for the background.
4. Using checkboxes, list your various dishes.
5. For the pizza, use radiobuttons to indicate the size of the pizza, e.g. small, medium, large, super.
6. Use checkboxes to allow the user to select extra toppings, e.g. cheese, mushrooms, olives, green pepper, bacon, ham, salami, pepperoni, etc.
7. For the pasta dishes, use radiobuttons to select the size of the dish, e.g. kiddies, regular, large, family.
8. For both the pizza and pasta dishes, include a dropdown list with numbers from 1 - 10.  Add a label to instruct the user to select how many of each selection he wants.  Set the default value to 1 for each dropdown list.
9. Add a label to display the subtotal for the order.  The subtotal should adjust with each selection the user makes to give a realtime value.  Each time the user de-selects an item, the amound should be subtracted from the subtotal.
10. Add a Clear, Order and Exit button to the screen.  Code the Clear button to clear the current order.  Code the Exit button to terminate the program.
11. Code the Order button to display a message to the user that says:  "If you click OK you will not be able to alter your order.  Are you sure you ready to place your order?"  Give the user an OK and Cancel button option.  Clicking Cancel should return the user to the Menu screen.
12. Create a new project and name it Order.  When the user clicks the OK button, the Order form should load.
13. The order form should contain labels and textboxes for the following:  Name, Surname, Address, Telephone number, Credit Card Number.
14. Display the food items selected, together with their prices and size.
15. Show the subtotal.  Show the delivery fee.  Calculate the total.
16. Add a Order Now and Exit button.  The Exit button should terminate the program.  
17. The Order Now button should validate that the user entered all his details.  If a detail is missing, display a message to the user and set the focus on the empty textbox.
18. The Order Now button should display a message to the user that his/her order has been placed.  You could include something else like "Thank you for your support.  Your order will be delivered within 30 minutes."
19. Test your program!
 

All content on this site is free for private use only  |  Contributions are encouraged  |  Thank you to Netfirms for the free hosting  |  If copyright content is published here or links to certain content violates some right/law, contact the Webmaster to have it removed immediately.

 

Site launched: October 2005  |  Updated: July 20, 2006  |  Link exchange  |  Site map  |  Contact us