操作系统选择题库答案及详解_Multiple Choice Questions 6

时间:2021-09-06 03:43:57
 

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 Philosophers 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

资源预防