A monitor is a module that encapsulates __________
A. shared data structures
B. procedures that operate on shared data structure
C. synchronization between concurrent procedure invocation
D. all of the mentioned
查看答案
To enable a process to wait within the monitor __________
A. a condition variable must be declared as condition
B. condition variables must be used as boolean objects
C. semaphore must be used
D. all of the mentioned
Concurrent access to shared data may result in ____________
A. data consistency
B. data insecurity
C. data inconsistency
D. none of the mentioned
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 ____________
A. data consistency
B. race condition
C. aging
D. starvation
The segment of code in which the process may change common variables, update tables, write into files is known as ____________
A. program
B. critical section
C. non – critical section
D. synchronizing