操作系統(tǒng)第3章_第1頁(yè)
操作系統(tǒng)第3章_第2頁(yè)
操作系統(tǒng)第3章_第3頁(yè)
操作系統(tǒng)第3章_第4頁(yè)
操作系統(tǒng)第3章_第5頁(yè)
已閱讀5頁(yè),還剩3頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、Operating Systems, 5th ed.Test Bank Chapter 3 Chapter 3 Process Description and ControlTrue / False Questions:1. T / F The principal function of the processor is to execute machine instructions residing in main memory.處理器的主要功能是處理駐留在主存中的指令。ANS:T2. T / F A process trace is a listing of the sequence of

2、 instructions that execute for that process.進(jìn)程指令追蹤就是這個(gè)進(jìn)程的指令序列的列表。ANS:T3. T / F The principal responsibility of the operating system is to control the execution of processes.操作系統(tǒng)的主要任務(wù)是控制進(jìn)程的執(zhí)行。ANS:T4. T / F When one process spawns another, the spawning process is referred to as the child process and t

3、he spawned process is referred to as the parent process.當(dāng)一個(gè)進(jìn)程派生出另一進(jìn)程時(shí),產(chǎn)生進(jìn)程的進(jìn)程是子進(jìn)程,被產(chǎn)生的進(jìn)程是父進(jìn)程。ANS:F (opposite is true)5. T / F Round-Robin processing refers to a method of thread prioritization for scheduling.輪轉(zhuǎn)是一種線(xiàn)程優(yōu)先級(jí)調(diào)度方法。ANS:F (not prioritized)6. T / F The primary difference between the Two-State

4、Process Model and the Five-State Process Model is that the latter splits the Running state into two new states: Ready and Blocked.兩狀態(tài)處理模型和五狀態(tài)處理模型主要區(qū)別是后者將運(yùn)行態(tài)分割成就緒和阻塞態(tài)。ANS:F (splits the Not Running state)7. T / F One solution to the problem of limited main memory space is swapping, which involves movi

5、ng all or part of a process from main memory to secondary memory. 一種解決主存空間有限的方法是交換,這種交換包括將一個(gè)進(jìn)程的全部或部分從主存轉(zhuǎn)移到輔存。ANS:T 8. T / F In order to define the control structures (e.g., tables) that the O/S needs to manage processes and resources, it must have access to configuration data during initialization.為

6、了定義操作系統(tǒng)控制進(jìn)程和資源所需要的控制結(jié)構(gòu),操作系統(tǒng)在初始化的時(shí)候必須擁有對(duì)設(shè)備數(shù)據(jù)的控制權(quán)。ANS:T 9. T / F The Process Image refers to the binary form of the program code. 進(jìn)程映像指的是二進(jìn)制形式的程序碼。ANS:F (refers to process elements: program, data, stack & attributes)10. T / F The portion of the Process Control Block that consists of the contents of th

7、e processor registers is called the Process Control Information.進(jìn)程控制塊中包含處理器寄存器的部分是進(jìn)程控制信息。ANS:F (processor state information portion of the PCB contains registers)11. T / F The less-privileged processor execution mode is often referred to as kernel mode.沒(méi)有特權(quán)的處理器執(zhí)行模式通常被叫做內(nèi)核模式。ANS:F (user mode)12. T /

8、F The primary process table contains one entry per process, unless the process spawns a new process, in which case the table contains multiple entries for the parent process. 主進(jìn)程表中每個(gè)進(jìn)程有一個(gè)入口,除非進(jìn)程產(chǎn)生了子進(jìn)程,這種情況下表中會(huì)有多個(gè)到父進(jìn)程的入口。ANS:F (only one entry for the parent process)13. T / F One kind of system interr

9、upt, the trap, relates to an error or exception condition in the currently running process.陷阱,一種系統(tǒng)中斷,是涉及當(dāng)前進(jìn)程中的錯(cuò)誤或異常條件。ANS:T14. T / F In the Nonprocess Kernel approach to defining the relationship between the O/S and the User Process, the O/S code is executed as a separate entity that operates in pri

10、vileged mode. 采用無(wú)進(jìn)程內(nèi)核方法來(lái)定義操作系統(tǒng)和用戶(hù)進(jìn)程的區(qū)別:操作系統(tǒng)代碼是作為獨(dú)立的整體在特權(quán)模式下運(yùn)行。ANS:T15. T / F A typical UNIX system employs two Running states, to indicate whether the process is executing in user mode or kernel mode.典型的UNIX系統(tǒng)采用兩種運(yùn)行態(tài)來(lái)表示進(jìn)程是運(yùn)行在用戶(hù)模式還是內(nèi)核模式。ANS:TMultiple Choice Questions:1. The behavior of a processor ca

11、n be characterized by examining:一個(gè)處理器的行為可以通過(guò)對(duì)進(jìn)程的交錯(cuò)的觀察來(lái)衡量.A A single process traceB Multiple process tracesC The interleaving of the process traces D All of the aboveANS:C2. The behavior of an individual process can be characterized by examining:一個(gè)單獨(dú)進(jìn)程的行為可以通過(guò)觀察此進(jìn)程的痕跡來(lái)描述.A A single process traceB Mult

12、iple process tracesC The interleaving of the process traces D All of the aboveANS:A3. The basic Two-State Process Model defines two possible states for a process in relationship to the processor:基本的兩狀態(tài)進(jìn)程模型定義了一個(gè)進(jìn)程與處理器關(guān)系可能的兩種狀態(tài):進(jìn)行態(tài)和非運(yùn)行態(tài). A Running and ExecutingB Running and Not RunningC Executing and

13、WaitingD None of the aboveANS:B4. There are a number of conditions that can lead to process termination, including:導(dǎo)致進(jìn)程終止的條件有:正常結(jié)束,越界,父進(jìn)程終止.A Normal completionB Bounds violationC Parent termination D All of the aboveANS:D5. In the Five-State Process Model, the following represents a valid state tran

14、sition:在五狀態(tài)模型中,下列哪一項(xiàng)是有效的轉(zhuǎn)換:運(yùn)行阻塞.A Running - BlockedB New - RunningC New - BlockedD All of the aboveANS:A6. In a Process Model that implements two suspend states, a valid state transition is represented by: 在兩個(gè)掛起態(tài)的進(jìn)程執(zhí)行模型中,有效的轉(zhuǎn)換是:就緒掛起就緒,進(jìn)行就緒掛起,就緒就緒掛起.A Ready/Suspend - Ready B Running - Ready/SuspendC

15、Ready - Ready/SuspendD All of the aboveANS:D7. 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.一種調(diào)度策略,每個(gè)在隊(duì)列中的進(jìn)程給一定的時(shí)間執(zhí)行,然后返回隊(duì)列,除非被阻塞,這個(gè)策略叫輪轉(zhuǎn).A Prioritization B Round-RobinC

16、 LIFOD All of the aboveANS:B8. A Memory Table is an O/S control structure that is used by the O/S to: 存儲(chǔ)頁(yè)表是用來(lái)追蹤主存和和輔存的操作系統(tǒng)控制結(jié)構(gòu).A Manage I/O devicesB Manage processes C Provide information about system filesD None of the aboveANS:D (used to keep track of main “real” and secondary “virtual” memory)9.

17、The Process Image element that contains the collection of attributes needed by the O/S to control a particular process is called the:操作系統(tǒng)控制一個(gè)特定的進(jìn)程所需包含一系列進(jìn)程屬性的映象元素叫進(jìn)程控制塊.A User DataB System StackC Process Control BlockD None of the aboveANS:C10. The Process Image element that contains the modifiable

18、part of the user space is called the:進(jìn)程控制元素中包含可修改部分的用戶(hù)空間叫用戶(hù)數(shù)據(jù).A User ProgramB System StackC Process Control BlockD None of the aboveANS:D (User Data)11. The processor execution mode that user programs typically execute in is referred to as:執(zhí)行用戶(hù)程序的處理器執(zhí)行方式叫用戶(hù)模式.A User mode B System modeC Kernel modeD

19、None of the aboveANS:A12. One step in the procedure for creating a new process involves: 創(chuàng)建一個(gè)新進(jìn)程包括的步驟:初始化進(jìn)程控制塊,分配進(jìn)程空間,確實(shí)惟一的進(jìn)程標(biāo)志 號(hào) .A Initializing the process control blockB Allocating space for the processC Assigning a unique identifierD All of the aboveANS:D13. A process switch may occur when the s

20、ystem encounters an interrupt condition, such as that generated by a:當(dāng)遇到以下哪些情況下進(jìn)程會(huì)發(fā)生轉(zhuǎn)換:內(nèi)存缺頁(yè),系統(tǒng)調(diào)用,陷阱.A Memory faultB Supervisor callC TrapD All of the aboveANS: D14. In the Process Based O/S: 在基于操作系統(tǒng)的進(jìn)程中:主要的內(nèi)核函數(shù)是獨(dú)立組織的.A Major kernel functions are organized as separate functionsB The User Process Imag

21、e includes a kernel stackC O/S code and data are contained in the shared address spaceD None of the aboveANS:A15. In a typical UNIX system, the element of the process image that contains the processor status information is the:在一個(gè)典型的UNIX系統(tǒng)中,進(jìn)程映像元素中包含進(jìn)程身份的信息是寄存器上下文.A System-level contextB Register co

22、ntextC User-level contextD All of the aboveANS:BFill-In-The-Blank Questions:1. The listing of a sequence of instructions that execute for a particular process is called a _. 一個(gè)進(jìn)程的指令序列叫指令追蹤.ANS:trace2. The behavior of a processor can be characterized by examining the interleaving of the process _ for

23、 the processes currently running on the system. ANS:traces 處理器行為可以通過(guò)檢測(cè)當(dāng)前運(yùn)行進(jìn)程追蹤的交換來(lái)描述.3. The portion of the operating system that selects the next process to run is called the _.選擇下一進(jìn)程的操作系統(tǒng)部分叫調(diào)度器.ANS:dispatcher4. When the O/S creates a process at the explicit request of an existing process, the actio

24、n is referred to as _.當(dāng)操作系統(tǒng)在現(xiàn)有進(jìn)程的明確要求下創(chuàng)建了一個(gè)進(jìn)程,這種行為叫子進(jìn)程創(chuàng)建.ANS:process spawning5. A process that cannot execute until some event occurs is said to be in the _ state.一個(gè)進(jìn)程直到某些事件發(fā)生才能執(zhí)行,我們說(shuō)進(jìn)程處于阻塞態(tài).ANS:blocked6. In a system that implements two suspend states, a process that has been swapped out of main mem

25、ory and into secondary memory and that is also awaiting an event is in the _/_ state.一個(gè)兩掛起態(tài)的系統(tǒng),一個(gè)進(jìn)程從主存轉(zhuǎn)移到輔存并且等待一個(gè)事件的完成時(shí),處于阻塞掛起態(tài).ANS:Blocked/Suspend7. 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

26、blocked is referred to as _.一種調(diào)度策略,隊(duì)列中的每一進(jìn)程在不被阻塞的情況下給予一定的時(shí)間執(zhí)行,然后返回隊(duì)列,這種策略叫輪轉(zhuǎn).ANS:round-robin8. The O/S control structure that the O/S uses to manage system processes is called the _.操作系統(tǒng)用來(lái)控制進(jìn)程的控制結(jié)構(gòu)叫進(jìn)程控制表ANS:process table9. The User Data, User Program, System Stack and Process Control Block elements

27、collectively make up what is referred to as the _.用戶(hù)數(shù)據(jù),用戶(hù)程序,系統(tǒng)棧,進(jìn)程控制塊是進(jìn)程映象中的典型元素。ANS: process image10. The Process Identification, Processor State Information and the Process Control Information are the general categories that collectively make up what is referred to as the _.進(jìn)程標(biāo)識(shí),處理器狀態(tài)信息,進(jìn)程控制信息是進(jìn)程控制塊中的典型元素。ANS: process control block11. The processor typically maintains the current operating mode (i.e., user or kernel) in the _. 處理器在程序狀態(tài)字中記錄了當(dāng)前的操作模式。ANS: program status word (PSW)12. The first step in creating a new process is to assign a unique _ to th

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論