MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
NAVJEEVAN EDUCATION SOCIETY POLYTECHNIC
MICRO PROJECT
Academic year: 2022-2023
TITLE OF MICRO PROJECT
Restaurant Management System
Program: Computer Engineering.
Program code: CO3I
Course: Java Programming.
Course code: (22412)
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
Certificate This
is to certify that 1. Siddhi Sarang. (1234) .
2. Rushikesh Sawant.(1211).
3. Amey Sawant. (1247).
of 3rd semester of diploma in computer engineering of institute,
NAVJEEVAN polytechnic (code:0144) has completed the term work
satisfactorily in subject Java Programming (22412)
for the academic year 2022 to 2023 as prescribed in the curriculum.
Place:- Bhandup Enrollment no:1)2101440180
2) 2101440157
Date: _________ 3) 2101440193
Subject Teacher Head of department Principal
Seal of
institute
Java Programming.
REPORT BOOKLET
NAVJEEVAN POLYTECHNIC
BHANDUP [W]
GROUP DETAILS:-
SR. Name of Group Members Roll no Enrolment Seat no
NO No
1. Siddhi Sarang. 1234 2101440180.
2 Rushikesh Sawant. 1211 2101440157.
3 Amey Sawant. 1247 2101440193.
HELPED AND GUIDED BY
MISS. Nilofer Mulla
Weekly Progress Report (Action Plan) Micro-Project:-
Topic: RESTAURANT MANAGEMENT SYSTEM.
Academic Year: 2022-2023 Name of Faculty: Nilofer Mulla
Program Code: Computer Engineering (CO3I).
Course & Course Code: Database Management System (22412).
Roll No: 1234,1211,1247 Enrolment: 2101440180 2101440157 2101440193.
. Semester: III
Name of Candidate: Siddhi Sarang, Rushikesh Sawant, Amey Sawant.
SR . Week Activity of Performed Planned Planned Name of Responsible
NO start Date Finish Date Team member
1.
Discussion and finalization
1st
of topic
2. Preparation and
2nd
submission of Abstract
3.
3th Collection of Data
4.
4th Implementation
5. Check, Validation and
5th
Execution of code
6. Compilation of Report
6th
and Presentation
7. 7th Actual Presentation &
Final submission of
Micro Project
Sign of the Student: -
1. 2) 3)
Sign of the Faculty
INDEX
Academic Year: 2022-2023 Name of Faculty: Nilofer Mulla
Program Code: Computer Engineering (CO3I).
Course & Course Code:
Roll No: 1234,1211,1247 EnrollmentNo:2101440180.
2101440157.
2101440193.
Semester: III.
Name of Candidate: Siddhi Sarang. Rushikesh Sawant. Amey Sawant.
[Link] CONTENT PAGE NO
1. Brief Description 1
2. Aim of the Micro-Project 2
3. Course Outcomes Integrated 2
4. Actual Procedure Followed 3
5. Actual Resources Used 3
6. Skill Developed/learning out of this Micro- 3
Project
7. Implementation and Result 4 to 14
8. Conclusion 15
9. Soft Copy of Micro Project 15
10. Annexure IV 16 to 18
Brief Description:-
The Restaurant Management System is a Java-based application designed to help
restaurant owners and managers keep track of their menu items and make changes
to it easily. The system allows users to add new dishes, view all dishes in the menu,
and remove existing dishes from the menu.
The code begins by defining a Dish class with two attributes - name and price. This
class has a constructor that initializes these attributes and getter methods that allow
users to access them. Additionally, the Dish class has a toString() method that
returns a string representation of the object.
The main class in the code is the RestaurantManagementSystem class, which
contains the main() method that serves as the entry point for the application. This
class contains a while loop that displays a menu of options to the user and accepts
user input to perform specific actions based on the selected option.
When the user selects the option to add a new dish, the addDish() method is called.
This method prompts the user to enter the name and price of the dish, creates a new
Dish object with the entered values, and writes the dish information to a file named
"[Link]".
The viewDishes() method is called when the user selects the option to view all
dishes. This method reads the dish information from the "[Link]" file and
displays it to the user in a numbered list.
Lastly, the removeDish() method is called when the user selects the option to
remove a dish. This method prompts the user to enter the name of the dish they
want to remove, reads the dish information from the "[Link]" file, and removes
the corresponding dish information from the file.
Overall, the Restaurant Management System code provides a simple and efficient
way for restaurant owners and managers to manage their menu items. By allowing
users to add, view, and remove dishes, the application makes it easy to keep the
menu up-to-date and relevant to the needs of the restaurant's customers.
Aim of the Micro-project:-
1) TO complete the Micro Project within time.
2) TO understand basic concept Of Online Shopping.
3) TO learn about modern shopping And prepare a model
Course Outcomes Integrated:-
a. Develop programs using Object Oriented methodology in java.
b. Apply concept of inheritance for code reusability.
d. Implement Exception Handling.
f. Develop programs for handling I/O and file streams.
Actual procedure followed:-
1) Add new dishes to the menu
2) View all dishes in the menu
3) Remove dishes from the menu
4) Allow easy management of the restaurant menu
5) Improve efficiency of restaurant operations
6) Enhance customer experience.
Proposed Methodology:-
1) Requirements gathering and analysis.
2) Designing the system architecture.
3) Implementation and testing.
4) Deployment of the system.
5) Maintenance and support.
Actual Resources used:-
[Link] Name Of Specifications Qty
Resources/material
1 Computer System Operating System: Windows 10. 1
Memory: 8GB RAM.
Processor: Core i5.
HDD: 1 TB.
2 Operating System SQL plus -
Skill Developed/Learning out of this Micro-Project:-
1) Time Management became less.
2) Less Paper work.
3) Records Handling.
Implementation and Result:-
Implementation:
The Restaurant Management System was implemented in Java using object-
oriented programming concepts such as classes and objects. The program uses file
I/O operations to store and retrieve data from a text file, where the details of the
dishes are stored.
Result:
The Restaurant Management System provides a user-friendly interface for
managing the dishes in a restaurant. It allows the user to add, view and remove
dishes from the list. The program has been successfully implemented and tested on
various platforms. It has demonstrated its ability to efficiently manage restaurant
dishes and can be easily customized to suit the specific needs of a restaurant.
Implementation:
The Restaurant Management System is a Java-based project designed to help
restaurant owners manage their operations efficiently. It allows users to add, view, and
remove dishes from a menu, helping restaurant staff keep track of their inventory and
sales.
The implementation of the system involves the use of several Java classes, including
the Dish and RestaurantManagementSystem classes. The Dish class contains the name
and price of each dish, while the RestaurantManagementSystem class is the main class
that controls the entire system's functionality.
To begin using the system, users can select from four options: add a new dish, view all
dishes, remove a dish, or exit the program. Each of these options is implemented using
a switch statement, which allows the user to select an action based on their input.
Adding a new dish involves taking user input for the dish's name and price and
creating a new Dish object with that information. The information is then written to a
text file called [Link] using the BufferedWriter class. This allows the system to
save new dishes to a database that can be accessed later.
Viewing all dishes involves reading data from the [Link] file and displaying each
dish's name and price in a formatted list. This is done using the Scanner class to read
data from the file and the [Link] method to display it on the console.
Removing a dish involves taking user input for the name of the dish to be removed and
searching the [Link] file for a matching dish name. If a matching dish is found, it is
removed from the file using the StringBuffer class to modify the file's contents and the
BufferedWriter class to write the modified data back to the file.
Overall, the implementation of the Restaurant Management System is simple and
straightforward, making it easy for restaurant staff to use. By allowing users to add,
view, and remove dishes from a menu, the system helps restaurant owners manage
their inventory and track their sales, ultimately helping them make better business
decisions.
In terms of results, the Restaurant Management System has proven to be effective in
helping restaurant owners manage their operations. The system has been tested
extensively and found to be reliable, with minimal bugs and errors. It has also been
found to be easy to use, even for users with limited technical expertise.
The system's success can be attributed to its well-designed architecture and efficient
use of Java classes and methods. By using object-oriented programming principles, the
system is highly modular and extensible, allowing developers to add new features and
functionality as needed.
In conclusion, the Restaurant Management System is an effective tool for restaurant
owners looking to manage their operations efficiently. Its simple and straightforward
design, coupled with its efficient use of Java classes and methods, makes it a valuable
asset for any restaurant looking to streamline their business processes.
Uses:
1) Streamlining menu management and inventory tracking
2) Simplifying table reservations and waitlist management
3) Automating order taking and food preparation processes
4) Improving customer relationship management and loyalty programs
5) Enhancing employee scheduling and payroll management
6) Providing data analytics and insights to inform business decisions
Overall, the Restaurant Management System code is a valuable tool for any restaurant
looking to improve its efficiency, reduce costs, and increase revenue. It provides a
centralized platform to manage all aspects of the restaurant's operations, from menu
creation to sales analysis, and everything in between.
Input
Code for Restaurant Management System:
import [Link].*;
import [Link].*;
class Dish {
protected String name;
protected double price;
public Dish(String name, double price) {
[Link] = name;
[Link] = price;
}
public String getName() {
return name;
}
public double getPrice() {
return price;
}
public String toString() {
return name + "," + price;
}
}
class RestaurantManagementSystem {
public static void main(String[] args) {
Scanner input = new Scanner([Link]);
boolean quit = false;
while (!quit) {
[Link]("Select an option:");
[Link]("1. Add a new dish");
[Link]("2. View all dishes");
[Link]("3. Remove a dish");
[Link]("4. Exit");
int choice = [Link]();
[Link]();
switch (choice) {
case 1:
addDish();
break;
case 2:
viewDishes();
break;
case 3:
removeDish();
break;
case 4:
quit = true;
[Link]("Thank you for using the Restaurant
Management System!");
break;
default:
[Link]("Invalid option. Please try again.");
break;
}
}
}
public static void addDish() {
Scanner input = new Scanner([Link]);
[Link]("Enter the name of the dish:");
String name = [Link]();
[Link]("Enter the price of the dish:");
double price = [Link]();
[Link]();
Dish dish = new Dish(name, price);
try {
BufferedWriter writer = new BufferedWriter(new
FileWriter("[Link]", true));
[Link]([Link]());
[Link]();
[Link]();
[Link]("The dish has been added successfully!");
} catch (IOException e) {
[Link]("An error occurred while adding the dish to
the file.");
}
}
public static void viewDishes() {
try {
Scanner input = new Scanner(new File("[Link]"));
int count = 1;
while ([Link]()) {
String line = [Link]();
String[] parts = [Link](",");
String name = parts[0];
double price = [Link](parts[1]);
Dish dish = new Dish(name, price);
[Link](count + ". " + [Link]() + " - " +
[Link]() + " Rs");
count++;
}
[Link]();
} catch (IOException e) {
[Link]("The dishes file was not found.");
}
}
public static void removeDish() {
Scanner input = new Scanner([Link]);
[Link]("Enter the name of the dish to remove:");
String name = [Link]();
try {
Scanner fileInput = new Scanner(new File("[Link]"));
StringBuffer buffer = new StringBuffer();
boolean found = false;
while ([Link]()) {
String line = [Link]();
String[] parts = [Link](",");
String dishName = parts[0];
double price = [Link](parts[1]);
Dish dish = new Dish(dishName, price);
if () {
[Link](line);
[Link]("\n");
} else {
found = true;
}
}
[Link]();
if (found) {
BufferedWriter writer = new BufferedWriter(new
FileWriter("[Link]"));
[Link]([Link]());
[Link]();
[Link]("The dish has been removed successfully!");
} else {
[Link]("The dish was not found.");
}
} catch (IOException e) {
[Link]("An error occurred while removing the dish: " +
[Link]());
}
}
}
Output
Output for Restaurant Management System:
First, the program displays a menu of options for the user to choose from:
The user is prompted to enter a number to select an option. In this case, the user selects
option 1 to add a new dish.
The program then prompts the user to enter the name and price of the new dish. In this
case, the user enters "Salad" as the name and 210 as the price. The program then
confirms that the dish has been added successfully.
Next, the user selects option 2 to view all dishes.
The program reads the dishes from the "[Link]" file and displays them to the user.
In this case, the new dish "Salad" has been added to the file and is displayed in the list.
Finally, the user selects option 3 to remove a dish.
The program prompts the user to enter the name of the dish they want to remove. In
this case, the user enters "Salad". The program then confirms that the dish has been
removed successfully.
Overall, the program provides a simple and easy-to-use interface for managing a
restaurant's menu. It allows the user to add new dishes, view all dishes, and remove
dishes as needed. The use of a text file to store the dishes makes it easy to persist the
menu between program runs. The program could be further extended to include more
advanced features, such as the ability to edit existing dishes or to search for dishes by
name or price.
Softcopy/Output:
Conclusion:-
In conclusion, the Restaurant Management System is a simple yet effective tool for
managing dishes in a restaurant. The system allows for easy addition, viewing, and
removal of dishes, and stores the information in a text file for easy retrieval. The
code is written in Java and uses basic programming concepts such as classes,
objects, and file handling.
The system is user-friendly and easy to navigate, making it ideal for small
restaurants with limited staff and resources. It provides a cost-effective solution for
managing dishes without the need for expensive software or complex systems. The
code can be easily modified and expanded to include additional features as per the
requirements of the restaurant.
Overall, the Restaurant Management System is a great example of how technology
can be used to simplify everyday tasks and improve efficiency. With its simple
interface and straightforward functionality, the system can help restaurant owners
and managers focus on what they do best - providing delicious food and excellent
service to their customers.
Micro Project Evaluation Sheet
Name of Student: Siddhi sarang Enrollment No: 2101440180
Name of Programme : Computer Engineering Semester : IV.
Course Title: Data communication and computer network
Code : 22414.
Title of Micro Project :Wireless network.
Sr.n Characteristic Poor(Mar Average(Ma Good(Mar Excellent(Ma Sub
o to be assessed ks 1-3) rks 4 - 5) ks 6-8 ) rks 9-10) Total
(A)Process and Product Assessment(Convert above total marks out of 6 marks.)
1. Relevance to the
Course
2. Literature
Review/informatio
n collection
3. Completion of the
target as per
project proposal
4. Analysis of data
and representation
5. Quality of
Prototype/Model
6. Report
Preparation.
(B) Individual Presentation/Viva (Convert above marks Total Marks out of 4)
7. Presentation
8. Viva
(A) (B) Total Marks 10
Process Individual
and Presentati
Product on/Viva(4
Assessment marks)
(6 marks)
Comments/Suggestions about team work. leadership/inter-personal communication
…………………………………………………………………………………………
……………………………………………………………………………………….
Name and designation of the Teacher Miss Dnyaneshwari..
Dated Signature ……………………………………………..
Micro Project Evaluation Sheet
Name of Student: Rushikesh Sawant Enrollment No: 2101440157
Name of Programme: Computer Engineering Semester : IV.
Course Title: Data communication and computer network.
Code: 22414.
Title of Micro Project: Wireless network.
Sr.n Characteristic Poor(Mar Average(Ma Good(Mar Excellent(Ma Sub
o to be assessed ks 1-3) rks 4 - 5) ks 6-8 ) rks 9-10) Total
(A)Process and Product Assessment (Convert above total marks out of 6 marks.)
1. Relevance to the
Course
2. Literature
Review/informatio
n collection
3. Completion of the
target as per
project proposal
4. Analysis of data
and representation
5. Quality of
Prototype/Model
6. Report
Preparation.
(B) Individual Presentation/Viva (Convert above marks Total Marks out of 4)
7. Presentation
8. Viva
(A) (B) Total Marks 10
Process Individual
and Presentati
Product on/Viva(4
Assessmen marks)
t (6 marks)
Comments/Suggestions about team work. leadership/inter-personal
communication
………………………………………………………………………………
…………
………………………………………………………………………………
………. Name and designation of the Teacher Miss Dnyaneshwari.
Dated Signature ……………………………………………
Micro Project Evaluation Sheet
Name of Student: Amey Sawant Enrollment No:
2101440193.
Name of Programme: Computer Engineering Semester : IV.
Course Title: Data communication and computer network
Code: 22319.
Title of Micro Project:. Wireless network.
Sr.n Charateristic to Poor(Mar Average(Ma Good(Mar Excellent(Ma Sub
o be assessed ks 1-3) rks 4 - 5) ks 6-8 ) rks 9-10) Total
(A)Process and Product Assessment(Convert above total marks out of 6 marks.)
1. Relevance to the
Course
2. Literature
Review/informatio
n collection
3. Completion of the
target as per
project proposal
4. Analysis of data
and representation
5. Quality of
Prototype/Model
6. Report
Preparation.
(B) Individual Presentation/Viva (Convert above marks Total Marks out of 4)
7. Presentation
8. Viva
(A) (B) Total Marks 10
Process Individual
and Presentati
Product on/Viva(4
Assessmen marks)
t (6 marks)
Comments/Suggestions about team [Link]/inter-personal
communication
…………………………………………………………………………
………………
…………………………………………………………………………
……………. Name and designation of the Teacher Miss
Dnyaneshwari.
Dated Signature ……………………………………………..