Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
63 views8 pages

Semester Project: National University of Computer & Emerging Sciences, Lahore

This document outlines the requirements for a semester project to design and develop a console-based hotel management system. The system will keep records of hotel rooms and reservations to help the hotel owner. It describes the types of rooms in the hotel including standard, moderate, superior, junior suite, and suite. It also lists the information that should be recorded for each customer such as name, age, ID, balance, room details, and time of check-in and checkout. The project requires implementing class hierarchies for rooms and customers with concepts like inheritance, polymorphism, and operator overloading. All data should be saved to files and retrieved when the program is rerun. The project is split into three phases focusing on class design, inheritance/

Uploaded by

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

Semester Project: National University of Computer & Emerging Sciences, Lahore

This document outlines the requirements for a semester project to design and develop a console-based hotel management system. The system will keep records of hotel rooms and reservations to help the hotel owner. It describes the types of rooms in the hotel including standard, moderate, superior, junior suite, and suite. It also lists the information that should be recorded for each customer such as name, age, ID, balance, room details, and time of check-in and checkout. The project requires implementing class hierarchies for rooms and customers with concepts like inheritance, polymorphism, and operator overloading. All data should be saved to files and retrieved when the program is rerun. The project is split into three phases focusing on class design, inheritance/

Uploaded by

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

National University of Computer &

Emerging Sciences, Lahore

Spring-2021

OBJECT ORIENTED PROGRAMMING

SEMESTER PROJECT

Course Instructor: Muhammad Owais Idrees

Lab Instructor: Hamna Waseem & Basam Ahmad

Teaching Assistant: Muhammad Faizan


Hotel Management System

One line Description of Project


Design and Develop a Console based Hotel Management System.
Overview of Project
This project will facilitate the Hotel owner in the Hotel to keep record of rooms and reser-
vations and create a report on regular basis.
Project Detail
The Hotel for which you are creating this project has 5 floors and each floor has 50 rooms.
Following are types of rooms:

1. Standard

a. This category usually means the most basic room type offered by the hotel. It has
basic, standard amenities and furnishings. A standard room in a Four Seasons hotel
is without question much more deluxe than a standard in, say, a Holiday Inn, but
there may be higher categories from which to choose. Standard rooms in hotels
with higher categories often have no view or have a poor view over the dumpster or
parking lot.

b. Price is Rs.300 / 24 Hours

c. This Hotel contains total of 50 rooms of this type, 10 on each floor.

2. Moderate

a. Usually a slight bit better than standard, but still not deluxe. It may refer to the
room view as well as the size and type of furnishings offered.

1
b. Price is Rs. 500 / 24 Hours

c. This Hotel contains total of 50 rooms of this type, 10 on each floor

3. Superior

a. This category is always subject to interpretation. It’s supposed to mean superior


to a standard room in both size and furnishings, but it often refers to just the view.
Some hotels have only Superior rooms; the categories then are defined by the view
and location of the room.

b. Price is Rs. 1000 / 24 Hours

c. This Hotel contains total of 50 rooms of this type, 10 on each floor.

4. Junior Suite

a. A ”junior” suite is typically a larger room with a separate seating area. Sometimes
it’s got a small divider between the part of the room that the bed is in and the
seating area, but it is not two separate rooms.

b. Price is Rs. 2000 / 24 Hours

c. This Hotel contains total of 50 rooms of this type, 10 on each floor

5. Suite

a. A Suite is usually two or more rooms clearly defined; a bedroom and a living or
sitting room, with a door that closes between them. Many hotels use the word
”suite” to define any room with a sofa in it so be sure to check thoroughly if what
you really want are the two or more separate rooms.

b. Price is Rs. 5000 / 24 Hour

2
c. This Hotel contains total of 50 rooms of this type, 10 on each floor.

This Hotel records following information of its customer

• Full Name

• Age

• Gender

• ID card-Number

• Balance in Rupees (If paid in advance, balance will be zero)

• Total Days to reserve

• Floor Number on which reserved room is

• Room Type

• Room Number

• Check in time and date

• Checkout time and date

• Time remaining in the Hotel ( in Hours, should be calculated on runtime,automatically)

Menu/Option

3
 If room is reserved it should not be reserved again until customer checkout or reserve
time is ended.

 When room is reserved, it should ask customer if he/she is old customer or new cus-
tomer.

X If new customer, then record all the above mentioned things and give customer a
room.

X If old customer, then search old customer name in the database (file) and retrieve
all his/her info and give him/her a room.

 NOTE: There is a lot of difference in Reserve and Check in a customer.

 In Detail Report you’ve to give daily base statistics for example

X How many customers have checked in today

X How many have checked out today

X How many rooms have been reserved and their types

X How many are empty and their types.

 You also have to save all the information in the files. There is no restriction on the file
format.

Class Design
For Rooms make following class hierarchy:

4
You Must use all concepts of classes including operator overloading, inheritance,
polymorphism etc.
Data Storage

× In Files

X All the data should be saved in files.

X Filing section contains almost 50 % marks of the whole project.

X If I close the program and run it again, it should read all the records and old data
that were saved last time.

X You can use any format for filing.

X All the information of room should be saved in rooms.dat file

X All the information of customers should be saved in customers.dat file

5
Submissions

Phase 1:- (06-June-2021)


In phase 1 you are required to submit

X Detailed documentation of the class hierarchy, design, description and classes imple-
mentation.

Phase 2:- (11-June-2021)

X Second phase will cover the Inheritance and Polymorphism concept. Implementation
and documentation both will be the part of this phase implementation.

Phase 3:- (18-June-2021)

X All requirements should be implemented and submit your files with the following con-
vention on the slate.

X File Name Roll Number.h OR File Name Roll Number.cpp

X For example :Room 16-0123.h OR Room 16-0123.cpp

X Submission with zip folder will not be evaluated.

Guidelines:

• Global variables should not be used.


• Code should be properly commented.
• Use proper terminologies for your variables/arrays declaration.

6
• Every student should be present at the time of demo. Any absent student will get zero
marks in the project.
• If caught any cheating, etc. or not able to explain during the demo will give you zero
credit.
• Copying and sharing of code among students will result zero credit in the project.
• Zero credit for not following above guideline.
• In case of any ambiguity feel free to contact lab instructor and start working on project
from today.

You might also like