0% found this document useful (0 votes)
111 views24 pages

Certificate: Department of Master of Computer Applications

This certificate certifies that Tejas G Somayaji has successfully completed the second semester mini project on a hotel room booking system in partial fulfillment of the requirements for a Master of Computer Applications degree. The project was completed during the 2019-2020 academic year under supervision and has not been submitted elsewhere for another degree. The document also includes declarations by Tejas G Somayaji and acknowledgments.

Uploaded by

Tejas somayaji
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)
111 views24 pages

Certificate: Department of Master of Computer Applications

This certificate certifies that Tejas G Somayaji has successfully completed the second semester mini project on a hotel room booking system in partial fulfillment of the requirements for a Master of Computer Applications degree. The project was completed during the 2019-2020 academic year under supervision and has not been submitted elsewhere for another degree. The document also includes declarations by Tejas G Somayaji and acknowledgments.

Uploaded by

Tejas somayaji
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/ 24

Ring Road, Near Marathahalli,

Bangalore – 560 103

DEPARTMENT OF MASTER OF COMPUTER APPLICATIONS

CERTIFICATE

This is to certify that TEJAS G SOMAYAJI, bearing USN


1NZ19MCA35 has successfully completed his/her second
semester mini project work entitled HOTEL ROOM BOOKING as a
partial fulfillment of the requirements for the award of MASTER
OF COMPUTER APPLICATIONS degree, during the Academic Year
2019-20 under my supervision. This report has not been
submitted to any other Organization/University for any award of
degree.

Signature of the Guide Head of the Department

External Viva

Internal Examiner External Examiner

Date:
DECLARATION

I, Tejas G Somayaji, student of II Semester MCA, bearing USN


1NZ19MCA35 hereby declare that the project work entitled “HOTEL ROOM
BOOKING” has been carried out by me under the supervision of Internal Guide
<Ms.Prema R, Assistant professor> and submitted in partial fulfillment of the
requirements for the award of the Degree of Master of Computer Applications by
Department of Master of Computer Applications, New Horizon College of
Engineering, an Autonomous Institution, Affiliated to Visvesvaraya Technological
University during the academic year 2019-20. This report has not been submitted
to any other Organization/University for any award of degree.

Name :
Signature :
Date :
ACKNOWLEDGEMENT

I would like to thank Dr. Mohan Manghnani, Chairman of New Horizon College of
Engineering for providing good infrastructure and Hi-Tech lab facilities to develop
and improve student’s skills.

I sincerely express my gratitude to the college Principal Dr. Manjunatha for


supporting the students in all their technical activities and giving guidance to them.
I would like to thank Dr. V. Asha, HoD, Department of MCA, New Horizon College of
Engineering for granting permission to undertake this project. I would like to
express my gratitude to the project guide Ms.Prema R for giving all the instructions
and guidelines at every stage of the Project work.

I thank all the staff members of the Department of Master of Computer


Applications, for extending their constant support to complete the project. I
express my heartfelt thanks to my parents and friends who were a constant source
of support and inspiration throughout the project.
PLAGARISM CERTIFICATE
ABSTRACT

The management and booking of rooms in hotels are a tedious and complicated task,
especially if it is done manually. Keeping track of all customers and all their details requires
an inordinate space and maintaining is difficult.
So, Administrator can maintain. Daily updates of the hotel records. Administrator is
must be an authorized user. Admin can maintain all customers’ details in files. No paper
work required and it is easy to maintain and retrieve information and it saves time, cost,
automatic data validation and it provides data security and reliability. It manages the total
number of customers in the hotel, check-in and check-out details of customer.
The main aim of this application, is a customer can book a room according to his
choice based on availability of rooms in hotel and he can also check the details of room
services, food details and admin accepts the feedback of the hotel rooms and finally
compute the bill.
1 INTRODUCTION

The project ‘Hotel Room Booking’ helps the user to book the rooms in
the hotel with the help of availability of rooms information’s and details. The user can be
viewed by only user because it’s a standalone application. With the help of proper data
structure, the information can be stored for long period of time and it can be accessed
easily. Hardware and the software which is required to build this application is easily
available and moreover it’s an automated system.
Hotel Book Booking Application manages the list of available rooms, interface to
add, delete, update, search, cancel and make the room vacant. It helps the user to
examine and modify the room and other information’s. It’s designed in such a way that it
increases the operational efficiency which saves our time, rigidity and increasing the
security too. It certainly avoids the manual work like paperwork.

1.1 General Introduction


The project hotel room booking is an online application that permits the inn
supervisor to deal with all hotel exercises or activities on the online. Intuitive GUI
and the capacity to oversee different inn appointments and rooms make this
framework truly adaptable and helpful. The hotel supervisor is an exceptionally
bustling individual and doesn't have the opportunity to sit and deal with the whole
exercises physically on paper. This application gives him the force and adaptability to
deal with the whole framework from a solitary online framework. The hotel room
booking project the board venture gives room booking, staff the executives, other
hotel services and other important hotel activities and executive’s highlights. The
framework permits the chief to post accessible rooms in the framework. Clients can
view and book room on the application. Administrator has the intensity of either
endorsing or objecting the client's reserving demand. Other inn administrations can
likewise be seen by the clients and can book them as well. The framework is
henceforth valuable for the two clients and directors to probably deal with the hotel
activities or exercises.
1.2 Project description
The project "Hotel Room Booking " is a framework dependent on getting to
the application to book for rooms in a hotel. The reason for this investigation is to
create and actualize an online room booking framework for hotel, that will supplant the
manual strategy for reserving room for hotel. The past framework for booking rooms
were confronted with such a large number of issues like, delay in handling the client
booking or paying for rooms that is beneath or past his norm, causes trouble for crisis
booking.

1.3 Existing System

Current system is existing system that is done manually using paper and that
consumes a lot of time and effort as well. It won’t keep track of the users and the accounts
as well. The administrator won’t be able to modify the information he needs to.

1.4Objective of the Work

 Available rooms
 Book a room
 Room features
 Show customers details
 Search and update customer details
 Restaurant/Book a meal
 Check-out/vacant a room
 Cancel a room

1.5 Proposed System with Methodology

The proposed system is totally automated from the time of availability and booking
the room till the user demand. The software and the hardware are combined. User is
booking the room using user’s manual record that is the hardware whereas processing the
adding, updating, displaying and searching contact is software.
A user will be assigned with user-name and password, once they successfully get
logged in. User can perform book room by all the process regarding with his personal
information and availability of room in hotel with mentioned services by the hotel.
The proposed system is better and efficient than existing system by keeping in mind all the
drawbacks of the present system and provides a better solution to them.

1. Complex functions are done automatically.


2. Processing time can be minimized.
3. Simple and easy to manage.
4. Chances of errors are reduced.
5. Fast and more precise than the existing system.

1.6 Feasibility Study

1.6.1 Technical Feasibility


Technical feasibility aims on application hardware, software and to what level can
the system be supported. When we examine the technical feasibility, we give more
importance to the configuration of the system rather than the hardware. When we perform
this, we get clear picture of system requirements.

1.6.2 Economic Feasibility


Economic feasibility is most frequently used method to evaluate the effectiveness of
the system. We usually assume that cost of the project is not that greater than the benefit
of the project. So if we can develop the application easily then it’s used for evaluation of the
proposed. It’s not done to analyze the new system.

1.6.3 Operational feasibility


It basically tells how well the application is acceptable within an organization or
business point of view. We should develop a menu which is easily understood by users and
can easily access. Providing help and guideline is also best.
Chapter 2

REVIEW OF LITERATURE

The main purpose of this chapter is to the review the development of hotel room
booking. This chapter will look into issues concerning the development of hotel room
booking. Literature survey is the most step in the software development process. Before
developing the system, it is necessary to develop the identity of the time requirement,
budget and company strength. Once these things are satisfied, then we can proceed with
development operation based on user requirement.

Hotel Room Booking project is developed using turbo c. This Turbo c was developed
in 1987 by Borland. It has got features where it allows programmers to write assembly
language source codes into the programs without using the separate assembler.

The main aim of the hotel room booking application is a customer can book a room
according to his choice based on availability of rooms in hotel and he can Also Check the
details of room services, food details and admin accepts the feedback of the hotel rooms
and finally compute the bill.
Chapter 3

SYSTEM CONFIGURATION

3.1 HARDWARE REQUIREMENT

Hard disk : 320GB


RAM : 2GB
Processor : Intel Pentium P6200
VDU : 1366x768p

3.2 SOFTWARE REQUIREMENT

Operating System : Windows 10 pro


Architecture : x32
Compiler : Turbo c++ 4.0, Code::Blocks 17.12
Chapter 4

MODULE DESCRIPTION
4.1 Module 1
 User Module

 Login: User can directly access the application by providing the required
user name and the password. This module helps to achieve security function
in the application. This module allows the user to perform other process once
the user is passed in authentication.

 Book room: This module name only suggest that it is used to book the
room in hotel application data base or to put it in proper data structure.

 Show customer Details: This module is helping the user to view the
booked room information’s which is stored in the database.

 Cancel Room: A module cancel room allows to the user to cancel a


particular room.

 Room Features: By using this module user can see the particular room
features.

 Update Details: This module gives the complete freedom to the user to
modify the booked room and personal information which are available in
database. To modify any record user must know the room number of the
booked room.

 Search contact: User can easily find the required room information by
using this module. This module will examine the entire list and display the
particular room details based on room no.

 Check-out/vacant room: This module name only suggest that it is used


to check-out/vacant the booked room in hotel application data base or to put
it in proper data structure.

 Restaurant: This module name only suggest that it is used to book a meal
to the booked room in hotel application.
Chapter 5

SYSTEM DESIGN

5.1 DATA FLOW DIAGRAM


A flow diagram shows the flow of data through
the system it uses number of symbols to represent the system. The
agenda that performs the transformation of the data from and the state
to another is called process or bubble to a data flow diagram shows the
moment of data through the different transformation or process in the
system. DFD describe about the module and their attributes in such a
moment that each and every one can understand easily.

Symbols used in Data Flow Diagram (5.1.1)


Symbols Objects Description

Source or sink It is net Originator

It is an agent that performs


Process transformation of data
from input to output
Data flow It shows the direction of
data flow
It is place where data is
Data source stored

Level 0: USER MODULE


Zero Level DFD

HOTEL
MANAGEMENT

PASSWORD
MANAGEMENT
PAYMENT HOTEL
MANAGEMENT MANAGEMENT

ROOM BOOKING LOGIN


MANAGEMENT MANAGEMENT

FOOD SERVICE
MANAGEMENT

Fig. 5.1.1 (user module)

Level 1: USER ACCESS MODULE


First level DFD
BOOKING GENERATE
MANAGEMENT BOOKING
REPORT
LOGIN GENERATE
MANAGEMENT HOTEL LOGIN REPORT
ROOM BOOKING
SYSTEM
PASSWORD GENERATE
MANAGEMENT PASSWORD
MANAGEMENT

CUSTOMER GENERATE
MANAGEMENT CUSTOMER
REPORT

CHANGE GENERATE
PASSWORD CHANGE
MANAGEMENT PASSWORD
REPORT
SYSTEM USER GENERATE
MANAGEMENT SYSTEM USER
REPORT

Fig. 5.1.2(ADMIN/CUSTOMER ACCESS MODULE)

Level 2: USER CONTROL MODULE

Second level DFD


Login to Check Roles
ADMIN System Manage hotel details
of Access

Manage login details

Forget
password Manage Payment details
Check Manage
Credentials Modules
Manage Report details

Manage Room details


Re enter
password Manage Change Password
details

Manage Booking details

Manage System Admins Manage Roles of User Manage User Permission

Fig. 5.1.3 (USER CONTROL MODULE)

6. SYSTEM IMPLEMENTATION
6.1 Implementation

#include<stdio.h>
#include<stdio.h>
#include<conio.h>
#include<string.h>
#include<process.h>

//Global variables............
int advance[5]={750,500,400,500,750};
int r_no[5]={1,2,3,4,5};
int room;
tot[5]={0,0,0,0,0};
int g_tot=0;
int r_charge[5];
char r_type[5][7];
char r_cust[5][20]={"N.A","N.A","N.A","N.A","N.A"};
char c_city[5][20];
char name[30];
int c_mem[5];
char c_nat[5][20];
char r_avail[5];
int r_per[5];
int no[5];
int year[5];
int month[5];
int day[5];
int i;

//Function prototypes.........
void getavail();
void putavail();
void features();
void allocate();
void putcust();
void restaurant();
void deallocate();
void cancel();

void screenheader();

//Function definitions..........
void screenheader()
{
printf("\n :::::::::::::::::::::::::::::::::::::");
printf("\n :: ::");
printf("\n ::
@@@@@@@@@@@@@@@@@@@@@@@ ::");
printf("\n :: @ @ ::");
printf("\n :: @ WELCOME TO @ ::");
printf("\n :: @ @ ::");
printf("\n :: @ our Hotel @ ::");
printf("\n :: @ @ ::");
printf("\n ::
@@@@@@@@@@@@@@@@@@@@@@@ ::");
printf("\n :: ::");
printf("\n :::::::::::::::::::::::::::::::::::::\n\n");
}

void getavail()
{
for(i=0;i<5;i++)
{
if(r_no[i]==1)
{
strcpy(r_type[i],"Sp Dlx");
r_charge[i]=1500;
if(strcmp(r_cust[i],"N.A")==0)
{
r_avail[i]='Y';
6.2 Screen shots
Chapter 7

SYSTEM TESTING

System testing is a software level where integrated software is tested. The main
purpose of this system testing is it evaluates the system’s compliance with specified
requirements. By going through system testing we can expect the application to be error
free. When the application is error free then it can run the software in speed.

Levels of testing are:


 Unit Testing
 Integration Testing
 Validation Testing
 Acceptance Testing

7.1 UNIT TESTING


It basically tests each and every individual modules of the application de1signed. It is
similar to coding after source level has been reviewed and verified after it has been
developed. It is very helpful in maintaining the code well. Codes can be reused well.

INTEGRATION TESTING
In unit testing every units are tested separately whereas in integration testing those
units are tested by combining them as a group. Testing is performed to make it error-free
and interactions happen between the system or integrated components.
They are two approaches in integration testing:
o Top Down Approach
o Bottom Up Approach

VALIDATION TESTING
Validation testing is done at the final stage to determine whether it satisfies the
customer’s requirements. By doing this we can ensure that the application meets the
customer’s needs.
ACCEPTANCE TESTING
This is a type of test done for acceptability. And this is done after the system testing
before delivering the product.
There are following types of acceptance testing done:
o Internal Acceptance Testing
o External Acceptance Testing
o Customer Acceptance Testing
o User Acceptance Testing
Internal acceptance testing is also known as alpha testing which is performed by the
organization.
External acceptance testing is performed by non-organization employees.
As name suggests customer acceptance testing is performed by the customers of the
organization.
User acceptance testing is also known as beta testing is finally done by the end-users
of the application.

Chapter 8

RESULTS AND DISCUSSION

8.1 CONCLUSION
We have developed a user-friendly system for hotel room booking. It is capable to take
care of all the work which will be done in this industry. The customer can login using user id
and phone number. It will make the real estate industry more profitable and promising.

8.2 LIMITATIONS
In spite of the fact that I have invested my best amounts of energy to make the project
adaptable, simple to work yet impediment cannot be precluded even by me. In spite of
the fact that the product presents an expansive scope of choices to its clients some
complex alternatives couldn't be secured into it; incompletely in light of coordination’s
and halfway because of absence of modernity. Scarcity of time was a significant
imperative; in this manner it was unrealistic to make the product idiot proof and
dynamic. Absence of time additionally constrained me to disregard a few sections, for
example, putting away old information.

8.3FUTURE ENHNCEMENT
This project is made in such a way that we can add additional constraints to it. The
limitations of this project can overcome by introducing more modules as per user
requirements. As it gives few operations to the admin, we can add more modules and can
develop the project which will be more useful in the coming future.
Chapter 9

REFERENCES
9.1Text Reference
 Brian W. Kernighan, Dennis M. Ritchie- “The C Programming
Language”
 E. BalGuruswamy-“Programming in ANSI C”

9.2Web Reference

 https://www.geeksforgeeks.org/arrays-in-c-cpp/
 https://www.programiz.com/c-programming/c-dynamic-memory-allocation
 https://www.cprogramming.com/tutorial/c/lesson8.html
 https://www.programiz.com/c-programming/c-arrays-functions

You might also like