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

Assignment 3 (VC), 2019

The document describes an assignment to design a hotel booking system with the following requirements: 1) Create tables for Hotel, Room, Guest, and Booking using SQL with integrity constraints and insert sample data. 2) Design user interfaces for loading, login, viewing rooms, booking, and exiting with features like validating credentials, browsing records, inserting/deleting, and confirming exit. 3) Include additional elements in the forms like horizontal scrollbars, calendar controls, option buttons, combo boxes, RGB scrollbars, clocks, and a logo.

Uploaded by

Ln Amitav Biswas
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

Assignment 3 (VC), 2019

The document describes an assignment to design a hotel booking system with the following requirements: 1) Create tables for Hotel, Room, Guest, and Booking using SQL with integrity constraints and insert sample data. 2) Design user interfaces for loading, login, viewing rooms, booking, and exiting with features like validating credentials, browsing records, inserting/deleting, and confirming exit. 3) Include additional elements in the forms like horizontal scrollbars, calendar controls, option buttons, combo boxes, RGB scrollbars, clocks, and a logo.

Uploaded by

Ln Amitav Biswas
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment- 3

[Vivekananda College Thakurpukur]

Design a Hotel Booking System having the following databases:


Hotel (Hotel_no, Name, City)
Room (Room_no, Hotel_no, Type, Price)
Guest (Guest_no, Name, Address)
Booking (Hotel_no, Guest_no, Room_no, Date_from, Date_to,
No_of_days)

Create the above relations using SQL specifying the integrity


constraints. Insert at least six tuples in each table so that the
following queries yield some results:
a) Find out the total income from booking for Hotel Park for current
month.
b) List the rooms that are currently free at Hotel Grand and Hotel Taj.
c) Find the occupants of Hotel ITC Sonar Bangla on 23th December,
2015.
d) Find the hotel with the maximum number of occupants today.
e) Find out the hotel with costliest room price.

Create a user interface for the above application. Incorporate the


following in your design:
(a) Design a Loading Window that will redirect to logging form.
(b) Design a form logging into the system. The form should have test
boxes with labels to input username and password. The application
should open only for correct username/password combination.
(c) Design a form to view the contents of the table “Room” in text
boxes. Include command buttons on clicking of which the previous
record is shown, the next record is shown, the last record is shown
and the first record is shown.
(d) In the above form, also include command buttons to insert and
delete records. Show all the records in data grid.
(e) In the above form, input “price” using a horizontal scrollbar so
that price is between Rs. 2000 to Rs. 50000.
(f) In the “Booking” form, insert date using calendar control tool for
any of the date field.
(g) Include an “Exit” button in this form. On clicking this button a
message should be displayed to re-confirm whether the user wants
to exit or not. The application should end when the user confirms so.
(h) Include appropriate command buttons in each form so that the
user can browse from one form to the others by clicking these
command buttons.
(i) Use Option Buttons to choose Hotel Type as “Single”, “Double”,
“Luxury” and “Presidential suite”.
(j) Include checks at text box so room numbers are between 100 to
900. Show proper error message also.
(k) Use Combox to select user between “Employee” and “Admin” at
logging form.
(l) Use RGB scrollbar to change the colour of the form.
(m) show a Clock into a form of your choice.
(n) Use a Hotel logo at every form.

You might also like