Principles of Software Design & Development - A system needs to be created which is used on a hand-held device or a small computer which will be used by a waiter or waitress to take a customers order. It is important that the program works correctly becau
Extracts from this document...
Assignment 3 - Pizza Shed Task1. P5 - P6: a) Scope: A system needs to be created which is used on a hand-held device or a small computer which will be used by a waiter or waitress to take a customers order. It is important that the program works correctly because the companies name is at stake. I am going to create a program which allows the user to add various items to a list box by clicking the related buttons. A list box will display all of the items which have been ordered so that the waiter/waitress can review the order. The list box should have a 'reset' button so that the order can be adjusted if a wrong order is made. A Pizza base for up to 4 pizzas' can be chose by a tick box. The reason I chose a tick box with just 4 pizza's is that it is unlikely a customer will order more than 4 pizzas, any addition pizza's after the first 4 can be wrote in the additional requests box at the bottom. I feel that the main factor that needs to be concentrated on in this application is the simplicity of the interface. ...read more.
Adds values to the list that consist of numbers no higher than 255. 4 Double This will be for calculating and displaying the order total as it may be a very large total. Displaying order totals. 5 Buttons The buttons for the program are extremely important as they are responsible for inputing almost all of the data into the application Items appear in lift after button is pressed 6 Reset Button This is important so that the user doesn't need to restart the application every time they want to reset an order Resets total and list back to null 7 Total Multiplication This is very important as it means the the waiter/waitress does not need to manually add up the total of all the items on the list Displays total underneath list box. 8 List box restriction with Message box This is important as it is responsible for stopping the user inputting more than 10 items at a time. Display message warning user that only 10 items are allowed at one time Task 2. P5 & M3 - Test Plan and Improvements Test Data Did it work? Screen shot or cross reference to evidence Modifications required? ...read more.
This was done by implementing additional code on only the pizza and drinks. This meant that the user could still input as many additional items as preferred (such as extra cheese ect) Print button Another change which I failed to include into the original coding was a button to print the order. I later added this by adding a button to the form and adding a simple bit of code to print to content of the listbox. Save & Reset Button The client pointed out to me that the application was missing a 'save' button. After fiddling with the code it became evident that the best way to include this was to alter the 'reset' button to be a 'save & reset' button. The code behind the button would take the content of the list and save it as variables. This could later be accessed by a combo box with the saved orders. Automatic Resolution adjusting I also realised that the form would always stay the same size regardless of the resolution of the screen. This would mean that if the application was displayed on a small screen (a tablet for example) the content of the form may be hard to see. I resolved this issue by making the form adjust to the size of the screen. ?? ?? ?? ?? Unit 18 Chris Leversha 31/03/11 ...read more.
This student written piece of work is one of many that can be found in our AS and A Level Computer Science section.
Found what you're looking for?
- Start learning 29% faster today
- 150,000+ documents available
- Just £6.99 a month
- Join over 1.2 million students every month
- Accelerate your learning by 29%
- Unlimited access from just £6.99 per month