第30题: [单项选择]为了预防死锁,采用资源的静态预分配策略来破坏产生死锁的哪种条件 A. 互斥条件 B. 不剥夺条件 C. 部分分配 D. 循环等待 参考答案:C 答案解析:解析:可以采取3种方法预防死锁:采用资源的静态预分配策略破坏“部分分配”条件;允许进程剥夺使用其它进程占有的资源来破坏“不可剥夺”条件;采用资源有序分配法来破坏“环路”条件。
第33题: [单项选择]How did the lawyer defend for the journalist A. He was an American journalist. B. He worked for a British newspaper. C. His story was published elsewhere. D. Foreigners are not subject to local laws. 参考答案:C