题目内容

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

Which of the following conditions must be satisfied to solve the critical section problem?

A. Mutual Exclusion
B. Progress
C. Bounded Waiting
D. All of the mentioned

答案查题题库