题目内容

Semaphores are mostly used to implement ____________

A. System calls
B. IPC mechanisms
C. System protection
D. None of the mentioned

查看答案
更多问题

The bounded buffer problem is also known as ____________

A. Readers – Writers problem
B. Dining – Philosophers problem
C. Producer – Consumer problem
D. None of the mentioned

In the bounded buffer problem, there are the empty and full semaphores that ____________

A. count the number of empty and full buffers
B. count the number of empty and full memory spaces
C. count the number of empty and full queues
D. none of the mentioned

In the bounded buffer problem ____________

A. there is only one buffer
B. there are n buffers ( n being greater than one but finite)
C. there are infinite buffers
D. the buffer size is bounded

To ensure difficulties do not arise in the readers – writers problem _______ are given exclusive access to the shared object.

A. readers
B. writers
C. readers and writers
D. none of the mentioned

答案查题题库