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

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

Multiple Choice Questions 3

Question1

The behavior of a processor can be characterized by examining:

选择一个答案

a. Multiple process traces

b. A single process trace

c. All of the above

d. The interleaving of the process traces

Feedback:

We can characterize behavior of the processor by showing how the traces of the various processes are interleaved. P81

Question2

The Process Image element that contains the modifiable part of the user space is called the:

选择一个答案

a. User Program

b. None of the above

c. System Stack

d. Process Control Block

Feedback:

User data.

Question3

The processor execution mode that user programs typically execute in is referred to as:

选择一个答案

a. System mode

b. None of the above

c. User mode

d. Kernel mode

Feedback:

用户态。System mode = kernel mode

Question4

One step in the procedure for creating a new process involves:

选择一个答案

a. Assigning a unique identifier

b. All of the above

c. Allocating space for the process

d. Initializing the process control block

Feedback

P99 12345

Question5

A process switch may occur when the system encounters an interrupt condition, such as that generated by a:

选择一个答案

a. All of the above

b. Trap

c. Supervisor call

d. Memory fault

Feedback

中断:时钟中断、I/O中断、内存失效

陷阱

系统调用

Question6

In the Process Based O/S:

选择一个答案

a. None of the above

b. Major kernel functions are organized as separate functions

c. The User Process Image includes a kernel stack

d. O/S code and data are contained in the shared address space

Feedback

主要的内核函数被组织成独立的进程 P103

Question7

In a typical UNIX system, the element of the process image that contains the processor status information is the:

选择一个答案

a. All of the above

b. System-level context

c. Register context

d. User-level context

Feedback

处理器状态信息保存在寄存器上下文中

Question8

The behavior of an individual process can be characterized by examining:

选择一个答案

a. The interleaving of the process traces

b. All of the above

c. Multiple process traces

d. A single process trace

Feedback:

独立的进程:单独的进程轨迹

Question9

The basic Two-State Process Model defines two possible states for a process in relationship to the processor:

选择一个答案

a. Running and Executing

b. Running and Not Running

c. None of the above

d. Executing and Waiting

Feedback:

运行和非运行两种状态

Question10

There are a number of conditions that can lead to process termination, including:

选择一个答案

a. Normal completion

b. Parent termination

c. All of the above

d. Bounds violation

Feedback

P 85

Question11

In the Five-State Process Model, the following represents a valid state transition:

选择一个答案

a. All of the above

b. New -> Blocked

c. New -> Running

d. Running -> Blocked

Feedback

Null -> New / New -> Ready / Ready -> Running / Running -> Exit / Running -> Ready / Running -> Blocked / Blocked -> Ready / Ready -> Exit / Blocked -> Exit

Question12

In a Process Model that implements two suspend states, a valid state transition is represented by:

选择一个答案

a. Ready -> Ready/Suspend

b. Running -> Ready/Suspend

c. Ready/Suspend -> Ready

d. All of the above

Feedback:

P 89/90

Question13

The scheduling strategy where each process in the queue is given a certain amount of time, in turn, to execute and then returned to the queue, unless blocked is referred to as:

选择一个答案

a. Round-Robin

b. Prioritization

c. All of the above

d. LIFO

Feedback:

Round-Robin 轮循 P84

Question14

A Memory Table is an O/S control structure that is used by the O/S to:

选择一个答案

a. Manage I/O devices

b. Provide information about system files

c. None of the above

d. Manage processes

Feedback

Memory tables are used to keep track of both main (real) and secondary

(virtual) memory.

Question15

The Process Image element that contains the collection of attributes needed by the O/S to control a particular process is called the:

选择一个答案

a. User Data

b. System Stack

c. None of the above

d. Process Control Block

Feedback

进程控制块