Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The following sequence shows all bookings ( advance and walk - in ) within the system for a given night. When a table is not
The following sequence shows all bookings advance and walkin within the system for a given night. When a table is not allocated, is used in place of a table number. Smith is assigned registration ID and is a walkin so is not assigned a table number. Mason booked in advance and requested table They are assigned reservation ID Jones is also a walkin and is assigned ID They were also not assigned a table number. Nobody is currently assigned table Note that the system does not record the party size. Reservation ID Name Table :: : :: Smith Mason Jones If the booking data were to be stored in an array of dicts instead of in a Python list explain and justify the assumptions you would need to make. Explain the processes you would need to go through to be able to add a new advance booking for a patron as well as a walkin booking. Refer to the table above to illustrate your points.
The following sequence shows all bookings advance and walkin within the system for a given night. When a table is not allocated, is used in place of a table number. Smith is assigned registration ID and is a walkin so is not assigned a table number. Mason booked in advance and requested table They are assigned reservation ID Jones is also a walkin and is assigned ID They were also not assigned a table number. Nobody is currently assigned table Note that the system does not record the party size.
Reservation ID Name Table
:: : ::
Smith
Mason
Jones
If the booking data were to be stored in an array of dicts instead of in a Python list explain and justify the assumptions you would need to make. Explain the processes you would need to go through to be able to add a new advance booking for a patron as well as a walkin booking. Refer to the table above to illustrate your points.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started