0% found this document useful (0 votes)
5 views5 pages

viva

The Hotel Management System project aims to automate hotel management tasks such as bookings, billing, and room rent calculations to enhance operational efficiency. Key features include customer management, room booking, and bill generation, all supported by a MySQL database for data storage. Future improvements may involve adding a GUI, online booking options, and enhanced data analytics.

Uploaded by

ndhruwsg114600
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)
5 views5 pages

viva

The Hotel Management System project aims to automate hotel management tasks such as bookings, billing, and room rent calculations to enhance operational efficiency. Key features include customer management, room booking, and bill generation, all supported by a MySQL database for data storage. Future improvements may involve adding a GUI, online booking options, and enhanced data analytics.

Uploaded by

ndhruwsg114600
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/ 5

1. What is the main objective of your Hotel Management System project?

o The objective of this project is to automate hotel management tasks


such as customer bookings, billing, room rent calculations, restaurant
bills, and other services. It helps in managing hotel operations efficiently
and reduces manual effort.

2. What are the key features of your system?

o The key features include:

▪ Customer details management

▪ Room booking

▪ Room rent calculation

▪ Restaurant bill calculation

▪ Gaming and fashion store billing

▪ Displaying customer details

▪ Generating total and old bills

3. How does your project help in managing hotel operations efficiently?

o The system reduces human errors and automates calculations, making


hotel management faster and more reliable. It also allows for quick
retrieval of customer details and billing records, improving customer
service.

Technical Questions:

4. Which programming language and database did you use for this project?

o I used Python as the programming language and MySQL as the database.

5. How does your system handle customer details and booking records?

o Customer details are stored in the C_DETAILS table in MySQL.

o When a new customer is added, their details (ID, name, address, age,
nationality, phone, email) are inserted into this table.

o Booking records are stored in the BOOKING_RECORD table, which


records the check-in and check-out dates.

6. Explain how the MySQL connection is established in your project.


o The project uses the mysql.connector library to connect to MySQL.

o It takes the username and password as input and attempts to establish a


connection.

o If successful, it creates a database named HMS (Hotel Management


System) and the required tables.

7. Can you describe the table structures used in your database?

o The database HMS contains multiple tables:

▪ C_DETAILS (Customer ID, Name, Address, Age, Country, Phone,


Email)

▪ BOOKING_RECORD (Customer ID, Check-in, Check-out)

▪ ROOM_RENT (Customer ID, Room Choice, No. of Days, Room No,


Room Rent)

▪ RESTAURANT (Customer ID, Cuisine, Quantity, Bill)

▪ GAMING (Customer ID, Game Name, Hours, Bill)

▪ FASHION (Customer ID, Dress, Quantity, Bill)

▪ TOTAL (Customer ID, Name, Room Rent, Restaurant Bill, Gaming


Bill, Fashion Bill, Total Amount)

8. How does the system calculate the total bill for a customer?

o The total bill is calculated by summing up the room rent, restaurant bill,
gaming bill, and fashion store bill for a particular customer.

9. What challenges did you face while coding the project, and how did you
resolve them?

o Challenge: Establishing a stable MySQL connection.


Solution: Used the auth_plugin='mysql_native_password' option to avoid
authentication errors.

o Challenge: Handling incorrect user inputs.


Solution: Implemented input validation and error messages.

10. Explain the logic behind the room rent calculation.

• The system provides different room choices with fixed prices per day.

• Formula used:

Room Rent = No. of Days * Price per Day (based on room choice)
• Example: If a customer stays for 3 days in a Royal Room (₹5000/day), the total
rent is 3 × 5000 = ₹15000.

Practical Implementation:

11. Can you demonstrate the process of adding a new customer?

• Yes, when a new customer is added, the system prompts for:

Enter Customer Identification Number:

Enter Customer Name:

Enter Customer Address:

Enter Customer Age:

Enter Customer Country:

Enter Customer Contact Number:

Enter Customer Email:

• This data is then stored in the C_DETAILS table.

12. What happens when a customer checks out of the hotel?

• The check-out date is recorded in the BOOKING_RECORD table.

• The system generates the total bill by adding all expenses.

• The final bill is displayed and stored in the TOTAL table.

13. How does your system retrieve old bills?

• The searchOldBill() function is used to retrieve old bills.

• It searches for the Customer ID in the TOTAL table and displays the stored bill.

14. How do you ensure data integrity and prevent errors in customer details?

• Implemented input validation (e.g., checking phone numbers, ensuring required


fields are not empty).

• Used primary keys (Customer ID) to prevent duplicate records.

• Added error handling to catch MySQL connection failures.

15. If you wanted to add a new feature, what would it be?


• I would add an online booking system so customers can book rooms and
services in advance through a web interface.

Additional Important Questions:

16. What is the significance of using MySQL in your project?

• MySQL is used to store and manage hotel data efficiently.

• It allows us to perform CRUD (Create, Read, Update, Delete) operations on


customer details, bookings, and billing.

• It ensures data persistence, meaning the records remain even after the program
is closed.

17. How does your project ensure security in database operations?

• It requires a username and password for MySQL authentication.

• Prevents SQL injection by using parameterized queries instead of directly


inserting user inputs into SQL statements.

• Uses error handling to prevent database crashes due to incorrect inputs.

18. What are the limitations of your project?

• It currently runs on a command-line interface (CLI), which may not be user-


friendly.

• It does not support multi-user access, meaning only one user can manage
bookings at a time.

• The system does not have a GUI (Graphical User Interface) for better user
interaction.

19. What is the role of functions in your project, and can you name some key
functions?

• Functions help in code reusability and modularity, making the project well-
structured.

• Some key functions are:

o MYSQLconnectionCheck() – Establishes MySQL connection.

o userEntry() – Adds customer details.

o bookingRecord() – Stores customer check-in and check-out details.

o totalAmount() – Calculates the total bill.

o searchOldBill() – Retrieves old bills.


20. How can you improve this project in the future?

• Convert the CLI-based system into a GUI application using Tkinter or Flask for
better user experience.

• Implement online booking and payment options.

• Add data analytics to track hotel revenue and customer preferences.

• Introduce role-based access control (Admin, Receptionist, Customer) for


security.

You might also like