【文章內(nèi)容簡介】
All of the above 以上都是ANS: C4. An example of a consumable resource is the following: 一個可消費資源的例子是 ( )a. Messages 消息b. Printers 打印機c. Main Memory 主存d. All of the above 以上都是5. A condition of policy that must be present for a deadlock to be possible is:下列是死鎖的必要條件的是( ) a. Mutual exclusion 互斥b. Hold and wait 占有且等待c. No preemption 非搶占d. All of the above 以上都是ANS: D6. A direct method of deadlock prevention is to prevent the occurrence of:一個直接的死鎖預防方法是避免( )a. Mutual exclusion 互斥b. Hold and wait 占有且等待c. Circular wait 循環(huán)等待d. All of the above 以上都是ANS: C7. One approach to deadlock avoidance is called:一個死鎖避免方法是 ( )a. Process Termination Denial 進程終止拒絕b. Resource Allocation Denial 資源分配拒絕c. Hold and wait 占有且等待d. None of the above 以上都是ANS: B8. In the Resource Allocation Denial approach to Deadlock Avoidance, a safe state is defined as one in which:在資源分配拒絕算法中,一個安全狀態(tài) 指的是( )a. At least one potential process sequence does not result in a deadlock至少有一種進程執(zhí)行序列 可以不導致 死鎖。b. All potential process sequences do not result in a deadlock:所有的進程執(zhí)行序列都不導致 死鎖c. Several potential process sequences do not result in a deadlock:幾個進程執(zhí)行序列 可以不導致 死鎖d. None of the above以上都不是。ANS: A9. A conservative strategy for dealing with deadlocks that involves limiting access to resources and imposing restrictions on processes is called:通過限制資源分配和限制進程行為的保守的解決死鎖問題的方法被稱為( )a. Deadlock Prevention 死鎖預防b. Deadlock Avoidance 死鎖避免c. Deadlock Detection 死鎖檢測d. None of the above 以上都不是ANS: A10. In deadlocked process recovery, selection criteria for choosing a particular process to abort or rollback includes designating the process with the: 在死鎖恢復,選擇取消或重復一個特定進程時,應該考慮和指明進程的( )a. Most estimated time remaining 最長剩余執(zhí)行時間b. Lowest priority 最低優(yōu)先級c. Least total resources allocated so far 目前占有資源最少d. All of the above 以上都是ANS: D11. One approach