Docu Report
Docu Report
Docu Report
By
Chaitra.B 4MN20CS021
Kannika.N 4MN20CS021
2022-23
CERTIFICATE
Certified that the minor project work entitled “CANTEEN
MANAGEMENT SYSTEM” is a bonafide work carried out by [Student-1 name
in bold] (USN in bracket) & [Student-2 name in bold] (USN in bracket) for the
course DBMS Laboratory with Mini-Project with course code 18CSL58 of Sixth
Semester in Computer Science & Engineering under Visvesvaraya Technological
University, Belagavi during academic year 2022-23.
It is certified that all corrections/suggestions indicated for Internal
Assignment have been incorporated in the report. The report has been approved
as it satisfies the course requirements.
_________________ _________________
Signature of Lab Staff In-Charge Signature of the HoD
Prof. Hemanth C Dr. Ranjit K N
Assistant Professor Associate Professor & Head
Dept. of CS&E Dept. of CS&E
MIT Thandavapura MIT Thandavapura
External viva
Name of the Examiners Signature with date
1)…………………………………………………………………………………….
2)…………………………………………………………………………………….
ACKNOWLEDGEMENT
It is the time to acknowledge all those who have extended their guidance, inspiration
and their whole hearted co-operation all along our project work.
We are grateful to Dr. Y T Krishne Gowda, Principal, MIT Thandavapura,
Dr. H K Chethan, Professor and Mentor, CS&E, MIT Thandavapura and also
Dr. Ranjit K N, Associate Professor and Head, CS&E, MIT Thandavapura for having
provided us academic environment which nurtured our practical skills contributing to the
success of our project.
We would like to sincerely thank our project guide Prof. Hemanth C, Assistant
Professor, Dept. of CS&E, MIT Thandavapura for providing relevant information, valuable
guidance and encouragement to complete this project.
We wish to place a deep sense of gratitude to all Teaching and Non-Teaching staffs
of Computer Science and Engineering Department for whole-hearted guidance and
constant support without which this endeavor would not have been possible.
Our gratitude will not be complete without thanking our parents and also our
friends, who have been a constant source of support and aspirations.
Chaitra.B Signature
Kannika.N Signature
ABSTRACT
In this project, the main purpose of Canteen management system is to automate
the existing manual system by the help of computerized equipment and full-fledged
computer software, fulfilling their requirements, so the their valuable data can be
stored for a longer period worth easy accessing and manipulation of the same. The
required software and hardware are easily available and easy to work with Canteen
management system, as described above, can lead to error free, secure, reliable and
fast management system. It can assist the user to concentrate on their other activities
rather to concentrate on record keeping. Thus it will help organization in better utilization
of resources. The organization can maintain computerized records without redundant
entries. That means that one need not to be distracted by information that is not relevant,
while being able to reach the information. The aim is to automate its existing manual system
by the help of computerized equipment and full- fledged computer software, fulfilling their
requirements , so that their valuable data/information can be stored for longer period with
easy accessing and manipulation of the same. Basically, the project describes how to
manage for good performance and better services for the clients.
CONTENTS
Fig.
Index Page No.
No.
1 Fig.2.1 Use case diagram for User 4
Fig.4.2 Dashboard 13
Organization with large number of employees cannot handle a canteen with manual
processes. The existing system is a cash and paper-based system.
The payment and process take a lot of time as the customer has to pay the exact
amount and wait for the change.
It is achieved by having a card payment that reduces time spent on the bill
counter for payment and tendering adjustments.
Hardware Requirement
* Processor - 32+bit Processor
* RAM – 256MB+
* Hard Disk – 2 GB
2.4 Software Requirements
Software Requirement
• Operating System – Windows 10
• Database – Microsoft Access
• Technology – Visual Basic 6.0
• Frontend – MYSQL
• Backend – PHP MySQL database server
2.5 Analysis
SYSTEM DESIGN
• Clauses, which are constituent components of statements and queries. (In some cases,
these are optional.)
• Expressions, which can produce either scalar values, or tables consisting of columns and
rows of data
• Predicates, which specify conditions that can be evaluated to SQL three-valued logic
(3VL)(true/false/unknown) or Boolean truth values and are used to limit the effects of
statements and queries, or to change program flow.
• Queries, which retrieve the data based on specific criteria. This is an important element
of SQL.
• Statements, which ma diagnostics. y have a persistent effect on schemata and data, or
may control transactions, program flow, connections, sessions, or
3.2.2 Normalization
Normalization is the process of efficiently organizing data in a database. There are
two goals of the normalization process: eliminating redundant data (for example, storing
the same data in more than one table) and ensuring data dependencies make sense (only
storing related data in a table). Both of these are worthy goals as they reduce the amount of
space a database consumes and ensure that data is logically stored. There are several
benefits for using Normalization in Database.
Benefits:
If PK is composed of multiple columns then all non-key attributes should be derived from
FULL PK only. If some non-key attribute can be derived from partial PK then remove it.
The 4NF also known as BCNF NF.
CHAPTER – 4
IMPLEMENTATION AND RESULTS
4.1 ALGORITHMS
Index:
Register:
1. Connect to database.
2. Read customers’ name, email, phone number, password, address.
3. Check if any of the field is null.
4. If any of the field is null then,
5. Display warning message.
6. Else insert the values into the corresponding table and show successfully registered.
Canteen login:
1. Connect to database.
2. Read admin name and password using post method.
3. If the entered values are correct then,
4. Redirect to admin operation.
5. Else show error message.
Admin operations:
1. Connect to database.
2. Retrieve the Category types, name, status.
3. Display the details in the table.
1. Connect to database.
2. Retrieve the order types, name, rate, order_id, quality.
3. Display the details in the table.
1. Connect to database.
2. Retrieve the ph_no, address, order_item.
3. Display the details in table.
1. Connect to database.
2. Retrieve the User id, User name from the corresponding table.
3. Display the details in the form of table.
4.2 RESULTS
4.2.1 Snapshots
Fig.4.2 Dashboard
Fig.4.3 Add Customer
5.1 Conclusion
The first phase started with a detailed study of the problems and prospects
of ordering in Foods.
APPENDIX – A
SOURCE CODE
A-1