1.
Concurrent access to shared data may result in :
Answer: Option 'C'
data inconsistency
2.
A situation where several processes access and manipulate the same data concurrently and the outcome of the execution depends on the particular order in which access takes place is called :
Answer: Option 'B'
race condition
3.
The segment of code in which the process may change common variables, update tables, write into files is known as :
Answer: Option 'B'
critical section
4.
The following three conditions must be satisfied to solve the critical section problem :
Answer: Option 'D'
All of these
5.
Mutual exclusion implies that :
Answer: Option 'A'
if a process is executing in its critical section, then no other process must be executing in their critical sections
6.
Bounded waiting implies that there exists a bound on the number of times a process is allowed to enter its critical section :
Answer: Option 'A'
after a process has made a request to enter its critical section and before the request is granted
7.
A minimum of _____ variable(s) is/are required to be shared between processes to solve the critical section problem.
Answer: Option 'B'
two
8.
In the bakery algorithm to solve the critical section problem :
Answer: Option 'B'
each process receives a number (may or may not be unique) and the one with the lowest number is served next