Multiple Choice Questions 6
Question1
The permanent blocking of a set of processes that either compete for system resources or communicate with each other is called:
選擇一個答案
a. Starvation |
b. All of the above |
c. Prioritization |
d. Deadlock √ |
死鎖是一組競爭系統資源或互相通信的競爭間相互的"永久"阻塞
Question2
In deadlocked process recovery, selection criteria for choosing a particular process to abort or rollback includes designating the process with the:
選擇一個答案
a. Least total resources allocated so far |
b. Lowest priority |
c. All of the above √ |
d. Most estimated time remaining |
中文P196 死鎖檢測後恢復過程對“犧牲”進程的選擇
Question3
One approach to an integrated strategy for dealing with deadlocks involves the implementation of:
選擇一個答案
a. Process rollbacks |
b. Virtual memory |
c. Resource classes √ |
d. None of the above |
綜合死鎖策略:資源分類
Question4
The Dining Philosopher’s Problem is a standard test case for evaluating approaches to implementing:
選擇一個答案
a. Synchronization √ |
b. Starvation |
c. All of the above |
d. Deadlock |
哲學家進餐問題是評價同步方法的一個測試標準
Question5
A software mechanism that informs a process of the occurrences of asynchronous events in UNIX are called:
選擇一個答案
a. Pipes |
b. Messages |
c. Signals √ |
d. All of the above |
信號是用於通知發生一個同步事件的軟件機制
Question6
Thread synchronization primitives supported by Solaris include:
選擇一個答案
a. Condition variables |
b. Semaphores |
c. All of the above √ |
d. Mutual exclusion (mutex) locks |
互斥鎖、信號量、多讀者單寫者鎖、條件變量
Question7
The family of synchronization objects implemented by W2K include:
選擇一個答案
a. Mutex objects |
b. Event objects |
c. All of the above √ |
d. Semaphore objects |
事件、互斥、信號量、可等待的計時器
Question8
All deadlocks involve conflicting needs for resources by:
選擇一個答案
a. Three or more processes |
b. One or more processes |
c. None of the above |
d. Two or more processes √ |
兩個或多個進程資源需求衝突
Question9
A resource that can be created and destroyed is called a:
選擇一個答案
a. Reusable resource |
b. Producible resource |
c. Consumable resource √ |
d. All of the above |
可重用資源 VS 可消費資源
Question10
An example of a consumable resource is the following:
選擇一個答案
a. All of the above |
b. Main Memory |
c. Messages √ |
d. Printers |
可創建可銷燬的信息資源
Question11
A condition of policy that must be present for a deadlock to be possible is:
選擇一個答案
a. Mutual exclusion |
b. No preemption |
c. All of the above √ |
d. Hold and wait |
三個必要條件
Question12
A direct method of deadlock prevention is to prevent the occurrence of:
選擇一個答案
a. Hold and wait |
b. All of the above |
c. Circular wait √ |
d. Mutual exclusion |
死鎖預防的直接法
Question13
In the Resource Allocation Denial approach to Deadlock Avoidance, a safe state is defined as one in which:
選擇一個答案
a. At least one potential process sequence does not result in a deadlock √ |
b. None of the above |
c. All potential process sequences do not result in a deadlock: |
d. Several potential process sequences do not result in a deadlock: |
一條安全道路便可
Question14
A conservative strategy for dealing with deadlocks that involves limiting access to resources and imposing restrictions on processes is called:
選擇一個答案
a. None of the above |
b. Deadlock Prevention √ |
c. Deadlock Detection |
d. Deadlock Avoidance |
資源預防