Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
A
PROJECTBASED LAB REPORT
On
Bachelor of Technology
In
Computer Science & Engineering
By
P Srikar Kashyap
(14003130)
V Uday Teja
(14003568)
V Jhansi Lakshmi
(14003719)
T Sravan Kumar
(14003283)
K L University
Green Fields, Vaddeswaram, Guntur District-522 502
2015-2016
K L University
ii
K L University
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
CERTIFICATE
This is to certify that this project based lab report entitled User Interface for
Hotel Booking is a bonafide work done by P Srikar Kashyap (14003130), V
Uday
Teja
(14003568),
BACHELOR
OF
Jhansi
of
Lakshmi
the
(14003719),
requirement
for
the
Sravan
award
of
Kumar
degree
Lecturer In Charge
K L University
iii
K L University
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
DECLARATION
We hereby declare that this project based lab report entitled User Interface for
Hotel Booking has been prepared by us in partial fulfilment of the requirement for the
award of degree BACHELOR OF TECHNOLOGY in COMPUTER SCIENCE AND
ENGINEERING during the academic year 2015-2016.
I also declare that this project based lab report is of our own effort and it has not been
submitted to any other university for the award of any degree.
(14003568)
K L University
(14003283)
iv
ACKNOWLEDGEMENTS
My sincere thanks to Mr. J Satish Babu in the Lab for their outstanding support throughout
the project for the successful completion of the work
We express our gratitude to Dr.V.Srikanth , Head of the Department for Computer Science
and Engineering for providing us with adequate facilities, ways and means by which we are
able to complete this term paper work.
We would like to place on record the deep sense of gratitude to the honourable Vice
Chancellor, K L University for providing the necessary facilities to carry the concluded term
paper work.
Last but not the least, we thank all Teaching and Non-Teaching Staff of our department and
especially my classmates and my friends for their support in the completion of our term paper
work.
(14003568)
K L University
(14003283)
ABSTRACT
This Project aims to develop a User-Interface for performing various operations of a Hotel
management like checking for availability of a room in a Hotel, Reservation of the room,
checking in and checking out. The Project uses Microsoft Visual Studio 2010 to design the
interface and ultimately aims to develop an interface which is very easy to use, user-friendly
and efficient in operation. The four modules of the Project are divided among the group
members to get the best possible solutions to the challenges faced.
The first module deals with the Booking, Reservation and Availability. It has the interface to
check the availability of a room on a date specified by the end-user (customer). If the desired
room is available, then the user enters his details and reservation can be done after which an
advance amount will be paid by the customer. Different kinds of rooms like Normal Room
and Deluxe room will be provided for the user to choose.
The second module deals with the check-in feature. The user who wishes to check in will
enter the details like check-in time, date etc. and these details will be stored until the user
checks out again.
The third module deals with the check-out procedure of the Hotel Management Interface. The
user checks out from the room by using the interface. The total no of days that the room is
used is calculated and the total bill is generated and displayed to the user. The fourth module
deals with the payment of the bill. The payment section will have options like credit
card/debit card, pay by cash and internet banking to cater the needs of all kinds of customers
K L University
vi
CONTENTS
Content
1.
2.
Introduction
1.1
Introduction
1.2
1.3
Project Description
2.1
Booking
2.2
Check-in
2.3
Check-out
2.4
Payment
3.
Design
4.
Code
5.
Output
References
K L University
Pg. No
1
1
3
3
4
4
4
4
4
5
15
27
37
1. INTRODUCTION
1.1
INTRODUCTION
K L University
Rooms can be booked directly with the hotels, or via intermediaries such as travel websites and
travel agents. Airlines, railways, ferry operators and other travel-related services providers
often act as intermediaries as well, providing their passengers and clients the option to book a
hotel room in addition to their regular services.
The price paid for staying at the hotel is generally determined by the room rate, i.e. the rate
paid for staying each night spent in the room. The base room rate usually does not include
anything but accommodation. Other services, as well as meals, usually incur extra charges. Use
of some of the room's and hotel's facilities might also not be free for staying guests. It is good
to make sure what is included in the rate and what chargeable extra before booking.
Hotels usually have a standard rate quoted at the front desk and displayed prominently in the
hotel and in the rooms, which is often called the rack rate. The rack rate is usually the highest
rate the hotel would charge for the room, as it is often required by legal restrictions. There are
usually many rates one can pay for a given night that are lower than the rack rate, and the value
of the rate depends on a number of factors. Knowing how hotels set their offered rates can help
you book your desired room cheaper.
On arriving at the hotel, guests should check in, which means giving the front desk the details
of the guests staying in a given room, referring to the booking, confirming rates and conditions,
being assigned a room and receiving the key to the room. Checking out is done once a guest's
stay is completed. The front desk staff presents the charges incurred and guests settle the bill.
The key to the room is returned to the front desk at that time.
Please note that failure to check out at appropriate check out times on the day your stay ends
will often be understood as occupying the room for yet another night and therefore incur a full
regular nightly rate. Late check-outs should be agreed upon with the front desk staff
beforehand.
In some hotels, the check-in and check-out can be performed via automated kiosks in the hotel's
lobby. This may be provided as a measure of economy (instead of employing staff hotels
focusing on low costs offer automated services) or convenience (automated check-in and
check-out may be quicker and more comfortable for some travellers in some situations).
K L University
1.2
1.3
K L University
2. PROJECT DESCRIPTION
2.1
BOOKING
The first module deals with the Booking, Reservation and Availability. It has the
interface to check the availability of a room on a date specified by the end-user
(customer). If the desired room is available, then the user enters his details and
reservation can be done after which an advance amount will be paid by the customer.
Different kinds of rooms like Normal Room and Deluxe room will be provided for the
user to choose.
2.2
CHECK-IN
The second module deals with the check-in feature. The user who wishes to check in
will enter the details like check-in time, date etc and these details will be stored until
the user checks
2.3
CHECK-OUT
The third module deals with the check-out procedure of the Hotel Management
Interface. The user checks out from the room by using the interface. The total no of
days that the room is used is calculated and the total bill is generated and displayed to
the user.
2.4
PAYMENT
The fourth module deals with the payment of the bill. The payment section will have
options like credit card/debit card, pay by cash and internet banking to cater the needs
of all kinds of customers. The passwords of the users are secured and not shown to the
staff. The process is simplified and easy to understand and execute.
K L University
3. DESIGN
3.1
BOOKING
K L University
K L University
K L University
3.2
CHECK-IN
K L University
3.3
CHECK-OUT
K L University
10
K L University
11
3.4 PAYMENT
K L University
12
13
K L University
14
K L University
15
4. CODE
BOOKING
End Class
16
Me.Close()
Form2.Show()
End Sub
End Sub
17
Me.Close()
End Sub
CHECK-IN
Public Class Form7
Private Sub Form7_Load(sender As System.Object, e As System.EventArgs) Handles
MyBase.Load
TextBox1.Text = Form4.TextBox1.Text
TextBox2.Text = Form4.ComboBox2.Text
TextBox3.Text = Form2.DateTimePicker1.Text
End Sub
K L University
18
CHECK-OUT
Public Class Checkout
Private Sub RadioButton1_CheckedChanged(sender As System.Object, e As
System.EventArgs) Handles RadioButton1.CheckedChanged
K L University
19
20
21
22
PAYMENT
23
End Class
Public Class Credit
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles
Button1.Click
If TextBox4.Text = vbNullString Or TextBox5.Text = vbNullString Or TextBox6.Text
= vbNullString Or ComboBox1.Text = vbNullString Or ComboBox2.Text = vbNullString
Then
MessageBox.Show("All the details are not filled. Please fill them.")
Else
Me.Close()
Confirm.Show()
End If
End Sub
Private Sub Button2_Click(sender As System.Object, e As System.EventArgs) Handles
Button2.Click
Intro.Show()
Me.Close()
End Sub
Private Sub Form2_Load(sender As System.Object, e As System.EventArgs) Handles
MyBase.Load
TextBox2.Text = Checkout.TextBox11.Text
TextBox1.Text = Form7.TextBox4.Text
End Sub
End Class
Public Class Netbanking
Private Sub PictureBox1_Click(sender As System.Object, e As System.EventArgs)
Handles PictureBox1.Click
NetBanking2.Show()
End Sub
Private Sub PictureBox2_Click(sender As System.Object, e As System.EventArgs)
Handles PictureBox2.Click
NetBanking2.Show()
End Sub
Private Sub PictureBox3_Click(sender As System.Object, e As System.EventArgs)
Handles PictureBox3.Click
NetBanking2.Show()
End Sub
Private Sub PictureBox4_Click(sender As System.Object, e As System.EventArgs)
Handles PictureBox4.Click
NetBanking2.Show()
K L University
24
End Sub
Private Sub PictureBox5_Click(sender As System.Object, e As System.EventArgs)
Handles PictureBox5.Click
NetBanking2.Show()
End Sub
Private Sub PictureBox6_Click(sender As System.Object, e As System.EventArgs)
Handles PictureBox6.Click
NetBanking2.Show()
End Sub
Private Sub PictureBox7_Click(sender As System.Object, e As System.EventArgs)
Handles PictureBox7.Click
NetBanking2.Show()
End Sub
Private Sub PictureBox8_Click(sender As System.Object, e As System.EventArgs)
Handles PictureBox8.Click
NetBanking2.Show()
End Sub
Private Sub PictureBox9_Click(sender As System.Object, e As System.EventArgs)
Handles PictureBox9.Click
NetBanking2.Show()
End Sub
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles
Button1.Click
Me.Close()
Intro.Show()
End Sub
End Class
Public Class NetBanking2
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles
Button1.Click
If TextBox1.Text = "Srikar" And TextBox2.Text = "Kashyap" Then
Netbanking3.Show()
Else
MessageBox.Show("Invalid ID or Password. Please enter again")
End If
End Sub
End Class
Public Class Netbanking3
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles
Button1.Click
Confirm.Show()
End Sub
K L University
25
K L University
26
K L University
27
5. OUTPUT
K L University
28
K L University
29
K L University
30
K L University
31
32
K L University
33
34
K L University
35
K L University
36
K L University
37
6. REFERENCES
1. User interfaces in VB.NET: Windows Forms and Custom Controls Matthew
MacDonald
2.Visual Basic 6 Secrets Harold Davis
3.Visual Basic Shelly Hoisington
4. Microsoft Visual Basic 2012 Comprehensive Shelly Hoisingtog
K L University