viva
viva
▪ Room booking
Technical Questions:
4. Which programming language and database did you use for this project?
5. How does your system handle customer details and booking records?
o When a new customer is added, their details (ID, name, address, age,
nationality, phone, email) are inserted into this table.
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?
• 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:
• 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?
• It ensures data persistence, meaning the records remain even after the program
is closed.
• 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.
• Convert the CLI-based system into a GUI application using Tkinter or Flask for
better user experience.