Docsity

OBJECT ORIENTED PROGRAMMING (OOP), Assignments of Object Oriented Programming

Partial preview of the text

Download OBJECT ORIENTED PROGRAMMING (OOP) and more Assignments Object Oriented Programming in PDF only on Docsity!

UNIVERSITI TEKNOLOGI MARA

KEDAH

CSC 186 – OBJECT ORIENTED PROGRAMMING

PROJECT TITLE:

HOTEL MANAGEMENT SYSTEM

PREPARED BY

NAME STUDENT ID GROUP

DANIYAL BIN ROSLI 2020845552 KCS1102A

IZZAT SYAHMI BIN NASIR 2020488448 KCS1102A

MUHD IZZAT AIMAN BIN ABDUL NASIR 2020458078 KCS1102A

PREPARED FOR:

PUAN ZANARIAH BINTI IDRUS

SUMMARY

Hotel Management System is a software system where the management of a hotel is computerized. Hotel Management System involves maintaining various operations of the hotel like booking or reservations of the rooms, cancellation of the rooms, cash billing, room service, restaurant service, total billing. The prevailing system is a manual one and there is a lot of issues like erroneous data, slow process, and lack of security. Looking for the ultimate payment amount completely relies on the hotelier and if he is absent, it takes a protracted time to search out the small prints during check out and is vulnerable to errors. USE CASE DIAGRAM Actors in Online Hotel reservation System:

  • Person.
  • Payment. The customer has to interact with the hotel management through the system. It involves set of actions. To reserve the space, the customer must interact with the hotel website. If the customer already reserved a room, want some updates regarding the rise in occupancy, he must able to update the info by using his login and password which might be provided by the administrator. To pay for a hotel involves a set of actions. If the customer able to book or reserve the room, he has to enter his complete details and occupancy level. After furnish the main points within the form, he demanded to pay the advance. That may be through a credit card/debit card. He must enter the right card number. To update hotel information, in step with the customer feedback, the administrator is updating the hotel information like offers, discounts on rooms, and meals provided by the hotel. When the customer checkout from the hotel, the database has to update and show the provision to the new customer. To return payment, this use case extends cancel reservation. Whenever the customer wants to cancel the reservation, system must cancel the reservation and return the payment which remains. Each and each transaction made by the customer or administrator must be updated with the customer database and room database.

cancel the reservation for remaining hours. System software must be during a position that the payment for the staying hours should captured and cancel the reservation 3.1.5. UPDATE ON INFORMATION According to the customer feedback, the administrator is updating the hotel information like offers, discounts on rooms and meals provided by the hotel. When the customer checks out from the hotel, the database has to update and show the provision to the new customer. 3.1.6. RETURN OF PAYMENT This use case extends cancel reservation. Whenever the customer wants to cancel the reservation, the system must cancel the reservation and return the payment which remains. Each and each transaction made by the customer or administrator must be updated with the customer database and room database. This can be the brief explanation about the Use cases in the hotel reservation system which helps in modelling the dynamic aspects of the system. Generalization relationship exists between hotel receptionist and hotel administrator. The relationship between them is like a child and parent relationship. Here administrator assumes as a parent whereas receptionist acts as a toddler.

CLASS DIAGRAM

Class diagrams are the common diagrams found in modelling object oriented programming system. A class diagram shows a group of classes, interfaces, attributes,operations and collaborations and their relationships. 3.1.7. CLASSES DECLARED FOR RESERVATION SYSTEM 3.1.8. ● Hotel. ● Room Type. ● Hotel Booking. ● Room. ● RoomBooking. ● Person. 3.1.9. INTERFACES FOR RESERVATION SYSTEM Booking is an interface which might be declared to supply the operations like doBooking(), cancelBooking() to the classes Employee, TravelAgent and Client where the implementation of these methods can be done. Here the link between the class and interface is the realization where classes realize the interface such the interface gives the contract and therefore the classes have to do that job. This is often the brief description about the class diagram and the classes, interfaces declared for the online hotel reservation system.