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 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
Get step-by-step solutions from verified subject matter experts
