1. Imagine you are developing a Real time based ticket booking software(Say a Movie Ticket).  Below are the scenarios and coding should be done according to it.

a. Many people across can simultaneously book/Cancel tickets .


Task - Identify the below scenario's in the  developing software .

1. Critical section.

2. Race around.

3. Atomic Operations.


Mail me your views.