Real-time (Transaction)
Another type of real-time system involves transactions. As soon as a transaction is received by the computer, it is processed and any data files are updated.

Example : Theatre Booking System.

The system is real-time. If a customer books a seat at a performance then the details are added to the bookings file immediately and that seat is flagged as 'Reserved'.

Another customer who asks a few seconds later for a seat at the same performance will not be able to book the same seat.

 

Exercise : Real-time (Transaction)
Transactions are processed

Example :

Bookings are immediately processed so that no two people can have the same holiday.

 

(Green indicates success)