Multiple Choice Questions 4
Question1
The concept of a process in an operating system embodies two primary characteristics, one of which is:
選擇一個答案
a. None of the above |
b. Resource ownership |
c. Symmetric multiprocessing |
d. Multithreading |
Feedback:
資源所有權、調度/執行
Question2
Early operating systems that were designed with little concern about structure are typically referred to as:
選擇一個答案
a. Monolithic operating systems |
b. Kernel operating systems |
c. All of the above |
d. Layered operating systems |
Feedback:
單體結構的操作系統
Question3
A benefit of the microkernel organization is:
選擇一個答案
a. Flexibility |
b. All of the above |
c. Portability |
d. Extensibility |
Feedback:
一致接口、可擴展性、靈活性、可移植性、可靠性、分佈式系統支持、對面向對象操作系統的支持
Question4
In low-level microkernel memory management, an example of an operation that can support external paging and virtual memory management is the:
選擇一個答案
a. Map operation |
b. Flush operation |
c. Grant operation |
d. All of the above |
Feedback:
三個微內核操作支持內核外的分頁和虛存管理
授權、映射、刷新 P129
Question5
In a W2K system, the state that a thread enters when it has been unblocked and the resource for which it has been blocked is not yet available is called the:
選擇一個答案
a. Waiting state |
b. Standby state |
c. None of the above |
d. Transition state |
Feedback:
過渡態
Question6
In a Solaris system, a User-Level Thread (ULT) that enters the active state is assigned to a:
選擇一個答案
a. Heavy-Weight Process (HWP) |
b. Light-Weight Process (LWP) |
c. None of the above |
d. Kernel thread |
Feedback:
輕量級進程
Question7
In a Linux system, when a new process is cloned, the two processes share the same:
選擇一個答案
a. Process identifier |
b. Virtual memory |
c. task_struct data structure |
d. All of the above |
Feedback:
克隆後共享同一個虛存
Question8
An example of a system that implements a single process with multiple threads is:
選擇一個答案
a. WIN 2000 |
b. All of the above |
c. Solaris |
d. Java |
Feedback:
P 113
Question9
Which of the following is true regarding the relationship between processes and threads:
選擇一個答案
a. It takes less time to switch between two different processes than to switch between two threads within the same process |
b. It takes far less time to create a new thread in an existing process than to create a new process |
c. It takes less time to terminate a process than a thread |
d. All of the above |
Feedback:
Nothing~
Question10
The basic thread operation related to the change in thread state that occurs when a thread needs to wait for an event is referred to as the:
選擇一個答案
a. Unblock operation |
b. None of the above |
c. Spawn operation 派生 |
d. Block operation |
Feedback:
顯然阻塞
Question11
One of the disadvantages of User-Level Threads (ULTs) compared to Kernel-Level Threads (KLTs) is:
選擇一個答案
a. All of the above |
b. When a ULT executes a system call, all threads in the process are blocked |
c. Scheduling is application specific |
d. Thread switching does not require kernel mode privileges |
Feedback:
P 119/120
Question12
In the Linux O/S, multiple threads may be created and executed within a single process. This is an example of the following Thread-to-Process relationship:
選擇一個答案
a. 1:M |
b. 1:1 |
c. None of the above |
d. M:N |
Feedback:
Thread :Process = M :1
Question13
The computer system category where a single processor executes a single instruction stream to operate on data stored in a single memory is called:
選擇一個答案
a. Single Instruction Multiple Data (SIMD) stream |
b. None of the above |
c. Single Instruction Single Data (SISD) stream |
d. Multiple Instruction Single Data (MISD) stream |
Feedback:
單指令單數據流
Question14
In a SMP system, each processor maintains a local cache and must alert all other processors that a change to cache update has taken place. This is referred to as the:
選擇一個答案
a. Cache coherency problem |
b. Interconnection mechanism problem |
c. None of the above |
d. Synchronization mechanism problem |
Feedback:
高速緩存的一致性問題 P124
Question15
Key issues involved in the design of multiprocessor operating systems include:
選擇一個答案
a. All of the above |
b. Synchronization |
c. Scheduling |
d. Reliability and fault tolerance |
Feedback:
P 125