0% found this document useful (0 votes)
57 views16 pages

Project Format

This document is a certificate from Kendriya Vidyalaya Sabarmati certifying that a student named Kinshuk, roll number 10, successfully completed a project on a Hotel Management System under the guidance of their teacher, Mrs. Raksha Parmar. The certificate includes the student's name, school, project details, and signatures of the internal examiner, external examiner, and principal. It also includes an index listing the contents of the project report, which covers an acknowledgement, aim and introduction, hardware and software used, theoretical background on relevant concepts, system design and development, output, and a user manual.

Uploaded by

jayyadav7474
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)
57 views16 pages

Project Format

This document is a certificate from Kendriya Vidyalaya Sabarmati certifying that a student named Kinshuk, roll number 10, successfully completed a project on a Hotel Management System under the guidance of their teacher, Mrs. Raksha Parmar. The certificate includes the student's name, school, project details, and signatures of the internal examiner, external examiner, and principal. It also includes an index listing the contents of the project report, which covers an acknowledgement, aim and introduction, hardware and software used, theoretical background on relevant concepts, system design and development, output, and a user manual.

Uploaded by

jayyadav7474
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/ 16

KENDRIYA VIDYALAYA

SABARMATI

COMPUTER SCIENCE(083)
FOR AISSCE 2023 EXAMINATION
[AS A PART OF THE COMPUTER SCIENCE COURSE (083)]

SUBMITTED BY: -
NAME: KINSHUK
ROLLNO.:10

UNDER THE GUIDANCE OF: Mrs.Raksha Parmar


PGT (COMP.SC)

KENDRIYA VIDYALAYA
SABARMATI
DEPARTMENT OF COMPUTER SCIENCE

CERTIFICATE
This is to certify that Kum. KINSHUK a student of class XI
A , has successfully completed the project Programming for
HOTEL MANAGEMENT SYSTEM under the guidance of
Mrs. RAKSHA PARMAR, PGT (C.S.) during the year 2022-
23 in partial fulfilment of computer science practical
examination conducted by AISSC-2023.

Date : School Stamp

Sign of Internal Examiner Sign of External Examiner

Principal

INDEX
S.NO. TITLE Pg No. SIGN.

1 Acknowledgement
2 Aim and Introduction
3 Hardware and Software
4 Code
5 Output
6 Bibliography
IACKNOWLEDGEMENT

undertook this Project work, as the part of my XII-Computer Science course(083).


I had tried to apply my best of knowledge and experience, gained during the
study and class work experience. However, developing software system is
generally a quite complex and time-consuming process. It requires a systematic
study, insight vision and professional approach during the design and
development. Moreover, the developer always feels the need, the help and good
wishes of the people near you, who have considerable experience and idea.

I would like to extend my sincere thanks and gratitude to my teacher Mrs


Raksha Parmar PGT CS, for giving valuable time and moral support to develop
this software as well as our Principal Sh. AVIJIT PANDA who gave me the

golden opportunity to do this wonderful project on the topic. Secondly, I would


also like to thank my family who helped me a lot in finalizing this project within
the limited time frame.I also feel indebted to my friends for the valuable
suggestions during the project work.

RASHA PARMAR
C O N T E N T S

1. Introduction---------------------------------------------------------5

2. Objective & Scope of the Project--------------------------------7

3. System Implementation------------------------------------------9

3.1 The Hardware used:-----------------------------------------9

3.2 The Softwares used:-----------------------------------------9

4. Theoretical Background---------------------------------10

4.1 What is Python? ------ ---------------------------------------------10


4.2 What is File Handling --------------------------------------------12
4.3 What is Database? -----------------------------------------------13
4.4 What is MySQL?--------------------------------------------------14

5. System Design & Development-----------------------------------------19

5.1 Database Design:-------------------------------------------19

5.2 Event Coding:-----------------------------------------------25

6. Output----------------------------------------------------------------------32

7. User Manual---------------------------------------------------------------------------39

7.1 How to install: ----------------------------------------------39

7.2 Working with Software:-----------------------------------39

8. References --------------------------------------------------------------------------- 41
AIM & INTRODUCTION

AIM:
To create a user friendly application that is to make former pupils of
a college or school data collection using python and mysql
connectivity.

INTRODUCTION:
This project has been developed to know how alumni data collection
and access can be achieve through coding and is written in Python. To
achieve this, spyder which is an integrated development environment
and mysql 5.5 which is a relational database management system are
used.
This program allows the user to register the details of various alumni
in database.user can view details by entering individual characteristic
like firstname,lastname or city or can display all the details of alumni
from database.There are update alumni,delete alumni and search
alumni option also available in given project.

The interactive feature of the program makes it much more


convenient for the user to get alumni details and do further addition
of alumni if desired.
System Implementation

The Softwares used:

∙ Spyder ,IDLE

.Python 3.7.2 as Front-end Development environment

∙ MySQL as Back-end Sever with Database for Test

∙ MS-Word 2010 for documentation

∙ Microsoft Windows® 10 Pro as Operating System.

The Hardware used:

While developing the system, the used hardware are:


PC with Intel Core i5-2400S processor having 4.00 GB RAM, 64-bit
Operating System , SVGA and other required devices.
Theoretical Background

4.1 What is Python ?


Python is an open source , object oriented high level programming
language developed by Guido Van Rossum in 1991 at the National Research
Institute for Mathematics,Netherlands.
Features of Python:
 It is an interactive ,interpreted language.
 It is a loosely typed object –oriented language.
 It is a free open –source and portable language,
 It takes less time to develop programs.
 It is extensible / extendable and highly efficient .
 It supports GUI.
 It can be easily compatible with other languages like C , C++ etc.
 It is used for both scientific and non-scientific programming.

Installing Python:
It can be installed by using website :
https://www.python.org/downloads/

Interacting with Python:


Python programs can be run in two ways:
 Using Command line window
 Using IDLE

4.2 What is File Handling?


A file in itself is a bunch of bytes stored on some storage devices like
hard-disk, thumb-drive etc. The data files can be stored in two ways: i. Text files ii.
Binary files A text file stores information in ASCII or Unicode characters, where
each line of text is terminated, (delimited) with a sepcial character known as EOL
(End of Line) character. In text files some internal translations take place when
this EOL character is read or written. A binary file is just a file that contains
information in the same format in which the information is held in memory, i.e., the
file content that is returned to you is raw (with no translation or no specific
encoding). The open() function is used to open a data file in a program through a
file-object (or a file-handle). A file-mode governs the type of operations (e.g., read/
write/ append) possible in the opened file i.e., it refers to how the file will be used
once it's opened. A text file can be opened in these file modes: 'r', 'w', 'a', 'r+', 'w+',
'a+' A binary file can be opened in these file modes: 'rb', 'wb', 'ab', 'r+b'('rb+'),
'w+b'('wb+'); a+b'('ab+').
The three file reading functions of Python are: read(), readline(),
readlines() While read() reads some bytes from the file and returns it as a string,
readline() reads a line at a time and readlines() reads all the lines from the file and
returns it in the form of a list. The two writing functions for Python data files are
write() and writelines(). While write() writes a string in file, writelines() writes a list
in a file. The input and output devices are implemented as files, also called
standard streams. There are three standard streams: stdin (standard input),
stdout (standard output) and stderr (standard error) The absolute paths are from
the topmost level of the directory structure. The relative paths are relative to
current working directory denoted as a dot(.) while its parent directory is denoted
with two dots(..). The full name of a file or a directory is called pathname. Steps to
Process a file: there are five steps to use files in the python program. i. Determine
the type of file usage Under this step, you need to determine whether you need to
open the file for reading purpose (input type of usage) or writing purpose (output
type of usage).. ii. Open the file and assign its reference to a file-object or file-
handle Next, you need to open the file using open() and assign it to a file-handle
on which all the file-operations will be performed. Just remember to open the file
in the filemode that you decided in step 1. iii. Now process as required As per the
situation, you need to write instructions to process the file as desired. For
example, you might need to open the file and then read it one line at a time while
making some computation, and so on. iv. Close the file This is very important step
especially if you have opened the file in write mode. This is because, sometimes
the last lap of data remains in buffer and is not pushed on to disk until a close()
operation is performed.

4.3 What is Database?


Introduction and Concepts:
A database is a collection of information related to a particular subject or
purpose, such as tracking customer orders or maintaining a music collection.
Using any RDBMS application software like MS SQL Server, MySQL, Oracle,
Sybase etc, you can manage all your information from a single database file.
Within the file, divide your data into separate storage containers called tables.
You may and retrieve the data using queries.
A table is a collection of data about a specific topic, such as products or
suppliers. Using a separate table for each topic means you can store that data only
once, which makes your database more efficient and reduces data-entry errors.
Table organises data into columns (called fields) and rows (called records).
A Primary key is one or more fields whose value or values uniquely
identify each record in a table. In a relationship, a primary key is used to refer to
specific record in one table from another table. A primary key is called foreign
key when it is referred to from another table.
To find and retrieve just the data that meets conditions you specify,
including data from multiple tables, create a query. A query can also update or
delete multiple records at the same time, and perform built-in or custom
calculations on your data.

Role of RDBMS Application Program:


A computer database works as a electronic filing system, which has a
large number of ways of cross-referencing, and this allows the user many
different ways in which to re-organize and retrieve data. A database can handle
business inventory, accounting and filing and use the information in its files to
prepare summaries, estimates and other reports. The management of data in a
database system is done by means of a general-purpose software package called a
Database Management System (DBMS). Some commercially available DBMS are
MS SQL Server, MS ACCESS, INGRES, ORACLE, and Sybase. A database
management system, therefore, is a combination of hardware and software that
can be used to set up and monitor a database, and can manage the updating and
retrieval of database that has been stored in it. Most of the database management
systems have the following capabilities:
 Creating of a table, addition, deletion, modification of records.
 Retrieving data collectively or selectively.
 The data stored can be sorted or indexed at the user's discretion and direction.
 Various reports can be produced from the system. These may be either
standardized report or that may be specifically generated according to specific
user definition.
 Mathematical functions can be performed and the data stored in the database
can be manipulated with these functions to perform the desired calculations.
 To maintain data integrity and database use.
The DBMS interprets and processes users' requests to retrieve
information from a database. In most cases, a query request will have to penetrate
several layers of software in the DBMS and operating system before the physical
database can be accessed. The DBMS responds to a query by invoking the
appropriate subprograms, each of which performs its special function to interpret
the query, or to locate the desired data in the database and present it in the
desired order.

4.4 What is My SQL ?


The management of data in a database system is done by means of a
general-purpose software package called a Database Management System
(DBMS). Some commercially available RDBMS are MS SQL Server, MS ACCESS,
INGRES, ORACLE, and Sybase.
MySQL, the most popular Open Source SQL database management
system, is developed, distributed, and supported by Oracle Corporation. MySQL
is named after co-founder Monty Widenius's daughter, My. The name of the
MySQL Dolphin (our logo) is “Sakila,”.
 MySQL is a database management system.
A database is a structured collection of data. It may be anything from a
simple shopping list to a picture gallery or the vast amounts of information in a
corporate network. To add, access, and process data stored in a computer
database, you need a database management system such as MySQL Server. Since
computers are very good at handling large amounts of data, database
management systems play a central role in computing, as standalone utilities, or
as parts of other applications. MySQL is based on SQL.
A relational database stores data in separate tables rather than putting
all the data in one big storeroom. This adds speed and flexibility. The SQL part of
“MySQL” stands for “Structured Query Language.” SQL is the most common
standardized language used to access databases and is defined by the ANSI/ISO
SQL Standard. The SQL standard has been evolving since 1986 and several
versions exist. In this manual, “SQL-92” refers to the standard released in 1992,
“SQL:1999” refers to the standard released in 1999, and “SQL:2003” refers to the
current version of the standard.

 MySQL software is Open Source.


Open Source means that it is possible for anyone to use and modify the
software. Anybody can download the MySQL software from the Internet and use
it without paying anything. If you wish, you may study the source code and
change it to suit your needs. The MySQL software uses the GPL (GNU General
Public License)
 The MySQL Database Server is very fast, reliable, and easy to use.
If that is what you are looking for, you should give it a try. MySQL
Server also has a practical set of features developed in close cooperation with our
users. You can find a performance comparison of MySQL Server with other
database managers on our benchmark page. MySQL Server was originally
developed to handle large databases much faster than existing solutions and has
been successfully used in highly demanding production environments for several
years. Although under constant development, MySQL Server today offers a rich
and useful set of functions. Its connectivity, speed, and security make MySQL
Server highly suited for accessing databases on the Internet.
 MySQL Server works in client/server or embedded systems.
The MySQL Database Software is a client/server system that consists of
a multi-threaded SQL server that supports different backends, several different
client programs and libraries, administrative tools, and a wide range of
application programming interfaces (APIs). The Main Features of MySQL are :
 Written in C and C++.
 Works on many different platforms.
 Uses multi-layered server design with independent modules.
 Provides transactional and nontransactional storage engines.
 Designed to make it relatively easy to add other storage engines.
This is useful if you want to provide an SQL interface for an in-house database.
 Uses a very fast thread-based memory allocation system.
 Executes very fast joins using an optimized nested-loop join.
 Implements SQL functions using a highly optimized class library
that should be as fast as possible. Usually there is no memory allocation at all
after query initialization.

Provides the server as a separate program for use in a client/server



networked environment, and as a library that can be embedded (linked) into
standalone applications. Such applications can be used in isolation or in
environments where no network is available.
 Password security by encryption of all password traffic when you
connect to a server.
 Support for large databases. We use MySQL Server with databases
that contain 50 million records. We also know of users who use MySQL Server
with 200,000 tables and about 5,000,000,000 rows.
 MySQL client programs can be written in many languages. A client
library written in C is available for clients written in C or C++, or for any
language that provides C bindings.
 APIs for C, C++, Eiffel, Java, Perl, PHP, Python, Ruby, and Tcl are
available, enabling MySQL clients to be written in many languages.
 The Connector/ODBC (MyODBC) interface provides MySQL
support for client programs that use ODBC (Open Database Connectivity)
connections.
 The Connector/J interface provides MySQL support for Java client
programs that use JDBC connections. Clients can be run on Windows or Unix.
Connector/J source is available.
BIBLIOGRAPHY

I have gone through the following to complete my


project:

∙ Computer Science With Python Textbook For


Class XI (Sumita Arora)

∙ www.google.com

∙ www.python.org

You might also like