
π Student Projects (College Reports) Β· Data Flow
How booking data flows between guests, the payment gateway, staff and the hotel's data stores.
Drawing diagramβ¦
Level 1 data flow diagram for a hotel room booking system: the guest sends search criteria and booking details; processes are check availability, create booking, process payment, check in and check out; the payment gateway returns payment status; the receptionist records check-in and check-out; data stores are rooms, bookings, guests and payments; the guest receives a booking confirmation and an invoice.
flowchart LR
subgraph EXT ["π External Entities"]
G["Guest"]
PG["Payment Gateway"]
R["Receptionist"]
end
subgraph PROC ["βοΈ Core Processes"]
P1["1.0 Check availability"]
P2["2.0 Create booking"]
P3["3.0 Process payment"]
P4["4.0 Check in"]
P5["5.0 Check out and bill"]
end
subgraph STORE ["ποΈ Data Stores"]
D1[("D1 Rooms")]
D2[("D2 Bookings")]
D3[("D3 Guests")]
D4[("D4 Payments")]
end
G -->|"1. Dates and room type"| P1
D1 -->|"2. Free rooms"| P1
P1 -->|"3. Available rooms"| G
G -->|"4. Booking details"| P2
P2 -->|"5. Guest record"| D3
P2 -->|"6. Booking record"| D2
P2 -->|"7. Amount due"| P3
P3 -->|"8. Payment request"| PG
PG -->|"9. Payment status"| P3
P3 -->|"10. Payment record"| D4
P3 -->|"11. Booking confirmation"| G
R -->|"12. Arrival"| P4
P4 -->|"13. Room occupied"| D1
R -->|"14. Departure"| P5
D2 -->|"15. Stay details"| P5
P5 -->|"16. Invoice"| GWho uses a college library system and what each of them can do: members, the librarian and the system administrator.
The database of a library system: books and their copies, authors, members, loans, reservations and fines, with keys and cardinality.
How data moves through a library system: members and the librarian, the main processes, and the data stores they read and write.
The main classes of a library system with attributes, methods and UML relationships.
The steps when a member borrows a book: checks, loan record and the copy status update.
What students, examiners and the administrator do in an online examination system.