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

Visvesvaraya Technological University: Data Base Management System

The document describes a mini project on a food ordering system. It discusses the introduction to databases and DBMS, requirements specification including front end, back end and tools used. It also covers database design including entities, relationships, constraints and E-R diagram. Implementation details of creating tables, inserting values, selecting data and stored procedures are provided. Results including screenshots and conclusions are presented.

Uploaded by

Hemanth Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
173 views

Visvesvaraya Technological University: Data Base Management System

The document describes a mini project on a food ordering system. It discusses the introduction to databases and DBMS, requirements specification including front end, back end and tools used. It also covers database design including entities, relationships, constraints and E-R diagram. Implementation details of creating tables, inserting values, selecting data and stored procedures are provided. Results including screenshots and conclusions are presented.

Uploaded by

Hemanth Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

BELAGAVI-590018

A MINI PROJECT REPORT ON

“FOOD ORDERING SYSTEM”

A Mini-project report submitted in partial fulfilment of the requirements for Data Base Management
System Laboratory of Visvesvaraya Technological University, Belagavi
Submitted By:

HEMANTH KUMAR.M.C

(1BT17CS011)
NISHA.R

(1BT17CS026)

PREETHA.S

(1BT17CS029)

Under the Guidance of:

Prof. T JAYAKUMARI

Department of CSE

B.T.L INSTITUTE OF TECHNOLOGY AND MANAGEMENT


#259/ B, Bommasandra Industrial Area,
Hosur Road, Banglore-560099, Karnataka, India
2019-2020
B.T.L INSTITUTE OF TECHNOLOGY AND MANAGEMENT
#259/ B, Bommasandra Industrial Area, Hosur Road, Banglore-560099

Department of Computer Science and Engineering

CERTIFICATE

Certified that the project work “FOOD ORDERING SYSTEM” carried out by HEMANTH
KUMAR.M.C (1BT17CS011), NISHA.R (1BT17CS026), PREETHA.S (1BT17CS029), are the
bonafide students of B.T.L INSTITUTE OF TECHNOLOGY AND MANAGEMENT in partial
fulfilment for the award of Bachelor of Technology in Computer Science and Engineering of
the Visvesvaraya Technological University, Belagavi during the year 2019-2020. It is certified
that all corrections/suggestions indicated have been incorporated in the report deposited in
the departmental library. The project report has been approved as it satisfies the academic
requirements in respect of the project work prescribed for the said degree.

_____________________ _______________________ _____________________

Dr. Panduranga Rao M.V Dr. Padmanaba S

HOD Dept. of CSE Principal, BTLITM

EXTERNAL VIVA
Name of the Examiner Signature with date

1. _________________________________ _______________________

2. _________________________________ _______________________
ACKNOWLEDGEMENT

Firstly, We are grateful to this esteemed institution B.T.L INSTITUTE OF TECHNOLOGY AND
MANAGEMENT for providing me an opportunity to pursue our degree. We would like to express our
profound gratitude to the Computer Science and Engineering Department of our college for having
granted us permission and extended full use of their facilities to carry out this mini project.

We express our gratitude to Dr. Padmanaba S, Principal who has always been a great source of
inspiration.

We have a great pleasure in expressing our sincere gratitude to Dr. Panduranga Rao M V, Professor,
and Head of the Department, for providing the required facilities.

It gives us immense pleasure to thank DBMS Lab incharges for their valuable guidance and
encouragement, which helped us in making mini project a success.

We would like to express our warmest thanks to all the Lab Technicians for helping us in this
venture. Finally, We would like to express our sincere thanks to our family members and friends for
their in successful completion of this mini project.

[HEMANTH KUMAR.M.C]
1BT17CS011
[NISHA.R]
1BT17CS026
[PREETHA.S]
1BT17CS029
CONTENTS

CHAPTER 1 INTRODUCTION
1.1: DBMS

1.1.1 Characteristics of DBMS

1.2: Problem description

1.3: Explanation about the problem considered

CHAPTER 2 REQUIREMENT SPECIFICATION


2.1: Front end

2.2: Back end

2.3: Software and tools used

2.3.1 PHP

2.3.2 HTML

2.3.4 CSS

2.4: Procedure for execution

CHAPTER 3 DATABASE DESIGN


3.1: Set of entities and attribution, Relationships among the entities, Cardinality ratio etc.

3.2: Constraints among attributes

3.3: Functional Dependency

3.4: Guideline

3.5: E-R Design

3.6: Set of relational schema with description

CHAPTER 4 IMPLEMENTATION
4.1: Creation commands used with attributes

4.2: Insertion commands used with attributes values

4.3: Selection commands used with attributes

4.4: Stored procedures with triggers

CHAPTER 5 RESULTS AND CONCLUSION


5.1: Set of relations

5.2: Screenshots

5.3: Conclusion
CHAPTER 1

INTRODUCTION
A database is simply an organized collection of related data, typically stored on disk, and accessible by possibly
many concurrent users. Databases are generally separated into application areas. For example, one database may contain
Human Resource (employee and payroll) data; another may contain sales data; another may contain accounting data; and
so on. Databases are managed by a DBMS.

A Database Management System (DBMS) is a set of programs that manages any number of databases.

DBMS is responsible for:

 Accessing data.
 Inserting, Updating, and Deleting data.
 Security.
 Integrity, Facilitated by:
o Locking
o Logging
o Application-defined rules, including triggers
 Supporting batch and on-line programs.
 Facilitating backups and recoveries.
 Optimizing performance.
 Maximizing availability.
 Maintaining the catalog and directory of database objects.
 Managing the buffer pools.
 Acting as an interface to other systems programs.
 Supporting user interface packages, such as the popular SQL interface for relational database
system.

Types of DBMS:

There are 3 traditional types of database management systems:

i. Hierarchical
ii. Relational
iii. Network

Current popular database system includes Oracle, Sybase (same as Microsoft’s SQL Server but on a different platform),
IBM’s DB2, IMS, and SQL/DS; Ingres; Informix; and smaller, but reasonably powerful off-shell products such as dBase,
Access, Foxpro, Paradox, and dozens of other.

Factors influencing the choice of a database product:

 The computing platform (i.e., hardware, operating system)


 The volume of data to be managed
 The number of transactions required per second
 Existing applications or interfaces that an organization may have
 Support for heterogeneous and/or distributed computing
 Cost
 Vendor support

Object-oriented database systems are currently in development they allow us to model and manipulate complex data
structures and objects, and hence support many new applications, including CAD/CAM. As of 1996, object-oriented
databases represent a very small segment of the commercial market (perhaps 1%). It is interesting to not that some major
DBMS vendors are starting to support complex objects (such as images) in their relational product.
Characteristics of DBMS:

1. Represent Some Aspects of real world applications


A database represents some features of real world applications. Any change in real world is reflected in
the database. For example, let us take railway reservation system; we have in our mind some certain
application of maintaining records of attendance, waiting list, train arrival and departure time, certain
day etc. related to each train.
2. Self describing nature
A database is of self describing nature; it always describes and narrates itself. It contains the
description of the whole data structure, the constraints and the variables. It makes its different from
traditional file management system in which definition was not the part of application program. These
definitions are used by the users and DBMS software when needed.
3. Logical relationship between records and data
A database gives a logical relationship between its records and data. So a user can access various
records depending upon the logical conditions by a single query from the database.
4. Control Data Redundancy
DBMS follows the rules of normalization, which splits a relation when any of its attributes is having
redundancy in values. Normalization is a mathematically rich and scientific process that reduces data
redundancy.
5. Query Language
DBMS is equipped with query language, which makes it more efficient to retrieve and manipulate data.
A user can apply as many and as different filtering options as required to retrieve a set of data.
Traditionally it was not possible where file-processing system was used.
6. Multiuser and Concurrent Access
DBMS supports multi-user environment and allows them to access and manipulate data in parallel.
Though there are restrictions on transactions when user attempt to handle the same data items, but
users are always unaware of them.
7. Multiple views of database
Basically, a view is a subset of database. A view is defined and devoted for a particular user of the
system. Different users of the system may have different views of the same system. Every view
contains only the data of interest to a user or a group of users. It is the responsibility of users to be
aware of how and where the data of their interest is stored.
8. Security
Features like multiple view offer security to some extend where users are unable to access data of
other users and departments. DBMS offers methods to impose constraints while entering data into the
database and retrieving the same at a later stage. DBMS offers many different levels of security
features, which enables multiple users to have different views with different features. For example, a
user in the Sales department cannot see the data that belongs to the purchase department.
Additionally, it can also be managed how much data of the Sales department should be displayed to
the user. Since a DBMS is not saved on the disk as traditional file systems, it is very hard for miscreants
to break the code.
9. ACID Properties
DBMS follows the concepts of Atomicity, Consistency, Isolation, and Durability (normally shortened as
ACID) in order to ensure accuracy, completeness, and data integrity. These concepts are applied on
transactions, which manipulate data in a database.
10. Consistency
A transaction enforces consistency in the system state by ensuring that at the end of any transaction
the system is in a valid state. If the transaction completes successfully, then all changes to the system
will have been properly made, and the system will be in a valid state. If any error occurs in a
transaction, then any changes already made will be automatically rolled back. This will return the
system to its state before the transaction was started. Since the system was in a consistent state when
the transaction was started, it will once again be in a consistent state. The account transfer system, the
system is consistent if the total of all accounts is constant. If an error occurs and the money is removed
from account A and not added to account b, then the total in all accounts would have changed. The
system would no longer be consistent. By rolling back the removal from account a, the total will again
be what it should be, and the system back in a consistent state.
PROBLEM DESCRIPTION:

Consider the schema for food ordering system

 CATEGORY(categoryid, catname)
 PRODUCT(productid, categoryid, productname, price, photo)
 PURCHASE(purchaseid, customer, total, date_purchase)
 PURCHASE_DETAIL(pdid, purchaseid, productid, quantity)

QUERIES:

EXPLANATION ABOUT THE PROBLEM CONSIDERED:

The Project computerization of services in Food Ordering System is designed once and can be updated many
times. So, the burden of application maintenance is shortlisted by all the general guidelines. This software will be capable
of performing following tasks.

i. Details about the food items


ii. Orders to be placed of a user
iii. Ordered details

The Database will be capable of doing following operations:

 Add or update or delete the details of the Category of food.


 Add or update or delete the details of the Food items
 Maintains the order records.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy