Starting from:

$30

CSIT121-Final Project Café Food Ordering System Solved

You are required to design and implement a simple Café Food Ordering System based on the above menu. The detailed requirements are as follows:  

 

•        The system shall be design by using the object-oriented programming concepts introduced in CSIT121 and implement by using the Java programming language.  

•        The OOP principle such as inheritance, polymorphism, abstract class/method, interface shall be employed in the development of the system.

•        The system shall have a GUI. Customers can input name and the table number as the identification on the top of the GUI. The GUI shall be able to show all the information from the above menu, such as the type, the name, the price, and the extra information of each dish.

•        Customers can add any dish to the order. The system shall display the price and quantity of each dish, and automatically update the total price based on the size and the quantity of all dishes.

•        Customers can reset their orders any time before they submit it. When the order is reset, the cart will be empty and the total price will be reset to zero.

•        Once customers submit the order, the order will be saved as a text file (named as

“customerName_tableID.txt”. The text file shall clearly show all the details of the order, including the customer name, table ID, each dish name, size and quantity and price, and the total order price with a reasonable format.

•        The system shall able to check the validation of user’s input and order, and ask the user to reinput invalid information.

Sample Solution: 

 

The sample solution demonstrates the procedure of using the system to complete an order. Your graphic user interface can have different design from the sample solution. (Please remove the words “Fenghui’s Solution” in your program.

 

1. Graphic User Interface

 

  

 

 

 

3.  Add the first dish 

  

 

4.  Add more dishes 

  

 

 

 

 

 

 

5.  Submit the order and save the order as a txt file. 

 

 

  

 

 

Tasks 

This project contains several tasks:

 

1.     UML class diagram: You shall draw a UML class diagram to illustrate the class design of your system. In the UML class diagram, you shall clearly specify the class name, fields, methods, associations and multiplicities

2.     Graphic User Interface (GUI): You shall design a GUI. The GUI design shall be compact and informative. All information included in the above menu shall be able to display within the GUI. Customers can use the GUI to make the selections and complete the order.  

3.     Coding: You shall implement the classes and GUI based on the above designs and make sure all the requirements are met. The program shall able to handle exceptions with the try…catch block and avoid the runtime errors.

4.                Testing: You shall compile and test your system with same cases and procedure in the example to make sure the system is workable and tolerant to possible exceptions.You are required to design and implement a simple Café Food Ordering System based on the above menu. The detailed requirements are as follows:  

 

•        The system shall be design by using the object-oriented programming concepts introduced in CSIT121 and implement by using the Java programming language.  

•        The OOP principle such as inheritance, polymorphism, abstract class/method, interface shall be employed in the development of the system.

•        The system shall have a GUI. Customers can input name and the table number as the identification on the top of the GUI. The GUI shall be able to show all the information from the above menu, such as the type, the name, the price, and the extra information of each dish.

•        Customers can add any dish to the order. The system shall display the price and quantity of each dish, and automatically update the total price based on the size and the quantity of all dishes.

•        Customers can reset their orders any time before they submit it. When the order is reset, the cart will be empty and the total price will be reset to zero.

•        Once customers submit the order, the order will be saved as a text file (named as

“customerName_tableID.txt”. The text file shall clearly show all the details of the order, including the customer name, table ID, each dish name, size and quantity and price, and the total order price with a reasonable format.

•        The system shall able to check the validation of user’s input and order, and ask the user to reinput invalid information.

Sample Solution: 

 

The sample solution demonstrates the procedure of using the system to complete an order. Your graphic user interface can have different design from the sample solution. (Please remove the words “Fenghui’s Solution” in your program.

 

1. Graphic User Interface

 

  

 

 

 

3.  Add the first dish 

  

 

4.  Add more dishes 

  

 

 

 

 

 

 

5.  Submit the order and save the order as a txt file. 

 

 

  

 

 

Tasks 

This project contains several tasks:

 

1.     UML class diagram: You shall draw a UML class diagram to illustrate the class design of your system. In the UML class diagram, you shall clearly specify the class name, fields, methods, associations and multiplicities

2.     Graphic User Interface (GUI): You shall design a GUI. The GUI design shall be compact and informative. All information included in the above menu shall be able to display within the GUI. Customers can use the GUI to make the selections and complete the order.  

3.     Coding: You shall implement the classes and GUI based on the above designs and make sure all the requirements are met. The program shall able to handle exceptions with the try…catch block and avoid the runtime errors.

4.                Testing: You shall compile and test your system with same cases and procedure in the example to make sure the system is workable and tolerant to possible exceptions.

More products