Question: c) You have a computer system which manages bookings for specific seats in a cinema theatre. The system handles multiple booking requests by allocating each

 c) You have a computer system which manages bookings for specific

c) You have a computer system which manages bookings for specific seats in a cinema theatre. The system handles multiple booking requests by allocating each request to a separate thread which: (i) gives the customer the list of available seats and obtains the user's seat choice (ii) obtains their personal details and (iii) records the seat \# that is allocated to the customer. Unfortunately, occasionally, when people book a seat, their booking is confirmed but when they arrive in the theatre, their seat has been allocated to someone else. (i) What is the likely reason for this error? Explain and justify your answer. (ii) Explain and justify how you would modify your program to fix this error. (iii) What are the performance implications of this change? Explain your answer and the causes of this change in performance

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!