Answered step by step
Verified Expert Solution
Link Copied!

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 allocated, 0 is used

image text in transcribed The following sequence shows all bookings (advance and walk-in) within the system for a given night. When a table is not allocated, 0 is used in place of a table number. Smith is assigned reservation ID 22 and is a walk-in, so is not assigned a table number. Mason booked in advance and requested table 2 . They are assigned reservation ID 23. Jones is also a walk-in and is assigned ID 24. They were also not assigned a table number. Note that the system does not record the party size. 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 walk-in booking. Refer to the table above to illustrate your points. Write your answer here

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases In Action

Authors: Dave Bechberger, Josh Perryman

1st Edition

1617296376, 978-1617296376

More Books

Students also viewed these Databases questions

Question

What steps should be taken to address any undesirable phenomena?

Answered: 1 week ago