Question: Python programming question Write a GUI for a Restaurant that handles reservations You must decide what values you will collect. Every student submission will be

 Python programming question Write a GUI for a Restaurant that handles

Python programming question

Write a GUI for a Restaurant that handles reservations You must decide what values you will collect. Every student submission will be different. General criteria: 1) You must collect 4 values. What questions might you be asked when you make a reservation? 2) One value must be collected via Scale widget. No more than two can be collected via Scale. 3) All text entries are required and the user should be prompted if a value is missing. 4) Error messages need to be specific to each field that is required. The GUI should only show one error at a time. 5a) Based on the values collected, you must compute if this is a special event or one requiring special attention. Regular, 5b) You don't need to show the status of the reservation in the GUI but you have to write it to the file (item 10). 6) You must use labels to clearly identify what the values should be entered. 7) You must use a dialog box (showinfo) to display all errors. 8) All Scale widgets must specify a valid range of values. 9) The dialog box must only pop up for one error when the form is submitted (Should not cascade as discussed in class). 10) The information collected should be appended to a file, with each record/reservation on its own line, in a format easy to read by another program. In addition to the 4 values the user entered, you must append the computed reservation type as well. 11) All file errors must be caught. You must have a comment at top of your file describing the scenario behind your GUI. POINT BREAK DOWN: PARTIAL POINTS AWARDED. TRY ALL ASPECTS. 10 points : GUI layout and meets spec 5 points: Validation behavior 5 points: Logic that decides user risk level. 10 points: Appends records to a file 10 points: File format readable by another program 10 points: Doesn't crash / all errors caught Write a GUI for a Restaurant that handles reservations You must decide what values you will collect. Every student submission will be different. General criteria: 1) You must collect 4 values. What questions might you be asked when you make a reservation? 2) One value must be collected via Scale widget. No more than two can be collected via Scale. 3) All text entries are required and the user should be prompted if a value is missing. 4) Error messages need to be specific to each field that is required. The GUI should only show one error at a time. 5a) Based on the values collected, you must compute if this is a special event or one requiring special attention. Regular, 5b) You don't need to show the status of the reservation in the GUI but you have to write it to the file (item 10). 6) You must use labels to clearly identify what the values should be entered. 7) You must use a dialog box (showinfo) to display all errors. 8) All Scale widgets must specify a valid range of values. 9) The dialog box must only pop up for one error when the form is submitted (Should not cascade as discussed in class). 10) The information collected should be appended to a file, with each record/reservation on its own line, in a format easy to read by another program. In addition to the 4 values the user entered, you must append the computed reservation type as well. 11) All file errors must be caught. You must have a comment at top of your file describing the scenario behind your GUI. POINT BREAK DOWN: PARTIAL POINTS AWARDED. TRY ALL ASPECTS. 10 points : GUI layout and meets spec 5 points: Validation behavior 5 points: Logic that decides user risk level. 10 points: Appends records to a file 10 points: File format readable by another program 10 points: Doesn't crash / all errors caught

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!