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:
進程控制塊