0% found this document useful (0 votes)
28 views

Oops Restro

The document describes a restaurant management system project created using C++. It discusses the aim of developing the system using classes, objects and inheritance in C++. It also covers the literature review on key concepts used - classes and objects, inheritance, and decision making statements.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views

Oops Restro

The document describes a restaurant management system project created using C++. It discusses the aim of developing the system using classes, objects and inheritance in C++. It also covers the literature review on key concepts used - classes and objects, inheritance, and decision making statements.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

A

Micro project

On

“RESTAURANT MANAGEMENT SYSTEM ”


Submitted By

Dhruvil Rupareliya (57)


Rushikesh Chikorde (62)
Omkar Devkatte (70)

Guided By
Mrs. P .V. Javkar

Diploma Course in Computer Technology

(As per directives of I Scheme, MSBTE)

Sinhgad Institutes

Sinhgad Technical Education Society’s


SOU.VENUTAI CHAVAN POLYTECHNIC
PUNE - 411041
ACADEMIC YEAR 2023-2024
Maharashtra State Board of Technical
Education

Certificate
This is to certify that Ms. Dhruvil Rupareliya with Roll No. 57 of Semester III
of Diploma in Computer Technology of Institute Sou. Venutai Chavan
Polytechnic (Code: 0040) has successfully completed the Micro-Project in
Object Oriented Programming Using C++ (22316) for the academic year 2023-
2024 as prescribed in the curriculum.

Program Code: CM Course Code: CM/1/I

Place: SVCP, Pune Enrolment No:

Date: Exam Seat No:

Mrs P.V.Javkar Mrs A.V.Kurkute Dr.(Mrs.)M.S.Jadhav

Course Teacher Head of Department Principal


Maharashtra State Board of Technical
Education

Certificate
This is to certify that Mr. Rushikesh Chikorde with Roll No. 62of Semester III
of Diploma in Computer Technology of Institute Sou. Venutai Chavan
Polytechnic (Code: 0040) has successfully completed the Micro-Project in
Object Oriented Programming Using C++ (22316) for the academic year 2023-
2024 as prescribed in the curriculum.

Program Code: CM Course Code: CM/1/I


Place: SVCP, Pune Enrolment No:

Date: Exam Seat No:

Mrs P.V.Javkar Mrs A.V.Kurkute Dr.(Mrs.)M.S.Jadhav

Course Teacher Head of Department Principal


Maharashtra State Board of Technical
Education

Certificate
This is to certify that Mr. omkar devkatte with Roll No. 70 of Semester IIIof
Diploma in Computer Technology of Institute Sou. Venutai Chavan
Polytechnic (Code: 0040) has successfully completed the Micro-Project in
Object Oriented Programming Using C++ (22316) for the academic year 2023-
2024 as prescribed in the curriculum.

Program Code: CM Course Code: CM/1/I


Place: SVCP, Pune Enrolment No:
Date: Exam Seat No:

Mrs P.V.Javkar Mrs A.V.Kurkute Dr.(Mrs.)M.S.Jadhav


Course Teacher Head of Department Principal
INDEX

SR NO CONTENTS PAGE NO

1 Aim of the Micro-Project 1

2 Rationale 4

3 Course Outcomes Achieved 4

4 Literature Review 5

5 Actual Methodology Followed 7

6 Actual Resources Used 8

7 Skills Developed 34

8 Conclusion 34
Annexure - I
Micro-Project Proposal

1.0 Aim of the Micro-Project:


The aim of the Micro-project is to create Restaurant management System using C++.

2.0 Intended Course Outcomes:


a) Develop C++ program to solve problems using Procedure Oriented Approach.
b) Develop C++ program using classes and objects.
c) Develop C++ program to implement inheritance.

3.0 Proposed methodology:


I. Study classes and objects in C++ and its uses.

II. Study the various syntaxes of C++ language.

III. Study inheritance and its types.

IV. Study billing system.

V. Design structure of systems.

VI. Implement program to create dishes system.

VII. Prepare the final report.

Department of Computer Technology Academic Year 2023-24 1


4.0 Action Plan:
Sr. Details of Activity Planned Planned Name of
No. Start Date Finish Date responsible

Team members
1 Identify the requirements of the
project. /2023 /2023 Rushikesh
chikorde
2 Rushikesh
Design the structure of the project. /2023 /2023 chikorde
and
omkar devkatte
3 Develop a program using C++ Dhruvil
language. /2023 /2023 Rupareliya

4 Debug code and eliminate errors Dhruvil


occurred while compilation. /2023 /2023 Rupareliya

5 Rushikesh
chikorde
Test the project. /2023 /2023
and
omkar devkatte
6 Dhruvil
Prepare the final report. /2023 /2023
Rupareliya

5.0 Resources Required:

S. No. Resources required Specifications

1 Computer system Intel(R) Pentium CPU, RAM 4 GB

2 Operating System Windows 10, 64 Bit Operating System

3 Software’s TurboC++, Sublime text editor

Department of Computer Technology Academic Year 2023-24 2


6.0 Team members:

S. No. Roll. number Name of Student


1 57 Dhruvil Rupareliya
2 62 Rushikesh chikorde
3 70 Omkar devkatte

Department of Computer Technology Academic Year 2023-24 3


Annexure - II
Micro-Project Report

1.0 Rationale:
A managerial overview option is available to get an overview of the whole
restaurant. With this we can see which all tables are free, allocated and
their orders and complete information about the waiting queues present.
number of customers and enhances customer relationships. Also, web stores
are a means forsmall-scale companies to launch their products at the global
level. The main objective of thisproject is to develop a web- oriented
application that can provide an online shopping feature to users.
A typical online store enables the customer to browse the firm's range of
products and services, view photos or images of the products, along with
information about the productspecifications, features and prices. Online stores
usually enable shoppers to use "search" features to find specific models, brands
or items.
.
To create such systems programming languages like C++ can perform
crucial role.

2.0 Aim of the Micro-Project:


The aim of the Micro-project is to create Restaurants Management System usingC++.

3.0 Course Outcomes Achieved:


a) Develop C++ program to solve problems using Procedure Oriented Approach.
b) Develop C++ program using classes and objects.
c) Develop C++ program no inheritance.
d) Develop C++ program using scope resolution operation.

Department of Computer Technology Academic Year 2023-24 4


4.0 Literature Review:
The programs demonstrate the use of the following functions, which are widely used in
C++:

a) Classes and objects in C++.


b) Scope resolution operator in C++.
c) Inheritance and its type in C++.
d) Decision making statements in C++.

A]. Classes and objects in C++:

• A class is an extension of the idea of structure used in C, which provide a method for
packing together data of different types. The data items are logically related. Class is a
new way of creating and implementing a user defined data type.
• The only difference between a structure and class in C++ is that, by default, the
members of a class are private while, by default, the members of a structure are
public.

Syntax:
class class_name
{
// Any variable declaration
// Any function declaration
};

E.g.:
class Book
{
string name; // variable declaration
library(); // function declaration
};

Department of Computer Technology Academic Year 2023-24 5


B]. Inheritance :

• In C++, inheritance is a process in which one object acquires all the properties and
behaviors of its parent object automatically. In such way, you can reuse, extend or
modify the attributes and behaviors which are defined in other class.
• In C++, the class which inherits the members of another class is called derived class
and the class whose members are inherited is called base class. The derived class is
the specialized class for the base class.
• Types Of Inheritance
C++ supports five types of inheritance:
1). Single inheritance
2). Multiple inheritance
3). Hierarchical inheritance
4). Multilevel inheritance
5). Hybrid inheritance
• A Derived class is defined as the class derived from the base class.
The Syntax of Derived class:
class derived_class_name :: visibility-mode base_class_name
{
// body of the derived class.
}

C). Decision making statements in C++:


• Decision making statements are used in order to control and perform actions based on
different conditions. In our program we used the following conditional statements:
• Use ‘switch’ to specify many alternative blocks of code to be executed.
• Use ‘if-else’ to specify a block of code to be executed, if a specified condition is true,
and if not, the else block code will be executed.

a) The ‘switch’ statement:


Use ‘switch’ statement which allows a value to change control of execution.
Syntax:
switch(expression)
{
case 1:
// Block of code to be executed if expression = 1

Department of Computer Technology Academic Year 2023-24 6


break;
case 2:
// Block of code to be executed if expression = 2
break;
….
case n:
// Block of code to be executed if expression = n
break;
default:
// Block of code to be executed if expression does not match any cases

b) The ‘if-else’ statement:


Use the ‘if-else’ statement to specify a block of code to be executed if the condition is
true and if not, the else block code will be executed.

Syntax:

if (condition)

// Block of code to executed if the condition is true

} else {

// Block of code to be executed if the condition is false

5.0 Actual Methodology Followed:


The aim of the Micro-project is to create restaurants manegment System using C++.

I. Study classes and objects in C++ and its uses.

II. Study the various syntaxes of C++ language.

III. Study inheritance and its types.

Department of Computer Technology Academic Year 2023-24 7


IV. Study billing system.

V. Design structure of systems.

VI. Implement program to create shopping system.

VII. Prepare the final report.

6.0 Actual Resources Used:

S. No. Resources required Specifications

1 Computer system Intel(R) Pentium CPU, RAM 4 GB

2 Operating System Windows 10, 64 Bit Operating System

3 Software’s TurboC++, Sublime text editor

INHERITANCE DIAGRAM :

RESTAURANT

DISH

USER

BILLING
Department of Computer Technology Academic Year 2023-24
7.0 Source code of program:

#include<iostream>
#include<string.h>
#include<stdlib.h>

using namespace std;

class Restaurant {
protected:
string name;

public:
Restaurant(string n) : name(n) {}

virtual void displayMenu() {


cout << "Menu at " << "GOKUL" << ":\n";
}
};

class Dish : public Restaurant {


public:

Department of Computer Technology Academic Year 2023-24


string dishName;
float price;

public:
Dish(string n, string dish, float p) : Restaurant(n), dishName(dish), price(p) {}

void displayMenu() override {


Restaurant::displayMenu();
cout << dishName << " - $" << price << endl;
}
};

class User {
private:
string userName;

public:
User(string user) : userName(user) {}

void placeOrder(Dish dish) {


cout << userName << " placed order: ";
dish.displayMenu();
}
};

class Billing : public Restaurant {


public:
Billing(string n) : Restaurant(n) {}

static float calculateTotal(Dish dish) {


return dish.price;
}
};

int main() {
Dish pasta("Sample Restaurant", "Pasta", 10.99);
Dish pizza("Sample Restaurant", "Pizza", 12.99);
Dish burger("Sample Restaurant", "Burger", 8.99);

User user("DHRUVIL RUPARELIYA");

Department of Computer Technology Academic Year 2023-24


int choice;
cout << "Enter your choice:\n1. Pasta\n2. Pizza\n3. Burger\n";
cin >> choice;

switch (choice) {
case 1:
user.placeOrder(pasta);
cout << "Total bill: $" << Billing::calculateTotal(pasta) << endl;
break;
case 2:
user.placeOrder(pizza);
cout << "Total bill: $" << Billing::calculateTotal(pizza) << endl;
break;
case 3:
user.placeOrder(burger);
cout << "Total bill: $" << Billing::calculateTotal(burger) << endl;
break;
default:
cout << "Invalid choice." << endl;
}

return 0;
}

Department of Computer Technology Academic Year 2023-24


8.0 output

Department of Computer Technology Academic Year 2023-24


9.0 Skills Developed:
During the course of this micro-project, we learned to restaurants management system
by using C++,

a) We learnt various new syntaxes of C++ language and syntaxes of inheritance.


b) We also learned scope resolution operator.
c) We also learnt classes and objects in C++.

12.0 Conclusion:
We learn to design restaurantsManagement System using C++, also we understood
basic fundamentals of online systems in of shopping as well as managing it.

Department of Computer Technology Academic Year 2023-24

You might also like