四川大學(xué)操作系統(tǒng)選擇題.docx_第1頁
四川大學(xué)操作系統(tǒng)選擇題.docx_第2頁
四川大學(xué)操作系統(tǒng)選擇題.docx_第3頁
四川大學(xué)操作系統(tǒng)選擇題.docx_第4頁
四川大學(xué)操作系統(tǒng)選擇題.docx_第5頁
已閱讀5頁,還剩29頁未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

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

文檔簡介

第一章1. 窗體頂端窗體底端The general role of an operating system is to:選擇一個(gè)答案a.Provide a set of services to system usersb.Manage files for application programsc.Act as an interface between various computersd.None of the aboveInformation that must be saved prior to the processor transferring control to the interrupt handler routine includes:選擇一個(gè)答案a. Processor Status Word (PSW) & Contents of processor registersb.None of the abovec.Processor Status Word (PSW)d.Processor Status Word (PSW) & Location of next instructionIn a uniprocessor system, multiprogramming increases processor efficiency by:選擇一個(gè)答案a.Increasing processor speedb.Eliminating all idle processor cyclesc.All of the aboved.Taking advantage of time wasted by long wait interrupt handlingAs one proceeds down the memory hierarchy (i.e., from inboard memory to offline storage), the following condition(s) apply:選擇一個(gè)答案a.Decreasing capacityb.Increasing cost per bitc.Increasing access timed.All of the aboveSmall, fast memory located between the processor and main memory is called選擇一個(gè)答案a.Cache memoryb.CD-RW memoryc.WORM memoryd.None of the aboveWhen a new block of data is written into cache memory, the following determines which cache location the block will occupy:選擇一個(gè)答案a.Cache sizeb.None of the abovec.Write policyd.Block sizeThe four main structural elements of a computer system are:選擇一個(gè)答案a. Processor, Registers, Main Memory & System Busb.None of the aboveb. d.Processor, Registers, I/O Modules & Main Memoryc. Processor, Main Memory, I/O Modules & System BusThe two basic types of processor registers are:選擇一個(gè)答案a.None of the aboveb.User-visible and user-invisible registersc.Control and Status registersd.User-visible and Control/Status registersAddress registers may contain選擇一個(gè)答案a.Memory addresses of instructionsb.Partial memory addressesc.Memory addresses of datad.All of the aboveA Control/Status register that contains the address of the next instruction to be fetched is called the:選擇一個(gè)答案a.Program Counter (PC)b.Program Status Word (PSW)c.Instruction Register (IR)d.All of the aboveThe two basic steps used by the processor in instruction processing are:選擇一個(gè)答案a.Fetch and Instruction cyclesb.Instruction and Execute cyclesc.Fetch and Execute cyclesd.None of the aboveA fetched instruction is normally loaded into the:選擇一個(gè)答案a.Instruction Register (IR)b.Accumulator (AC)c.None of the aboved.Program Counter (PC)A common class of interrupts is選擇一個(gè)答案a.I/Ob.Timerc.All of the aboved.ProgramWhen an external device becomes ready to be serviced by the processor, the device sends this type of signal to the processor:選擇一個(gè)答案a.Halt signalb.None of the abovec.Handler signald.Interrupt signal窗體頂端窗體底端One accepted method of dealing with multiple interrupts is to:選擇一個(gè)答案a.Define priorities for the interruptsb.Service them in round-robin fashionc.None of the aboved.Disable all interrupts except those of highest priority第二章A primary objective of an operating system is:選擇一個(gè)答案a.Ability to evolveb.Conveniencec.Efficiencyd.All of the aboveThe paging system in a memory management system provides for dynamic mapping between a virtual address used in a program and:選擇一個(gè)答案a.A virtual address in main memoryb.A real address in main memoryc.None of the aboved.A real address in a programRelative to information protection and security in computer systems, access control typically refers to:選擇一個(gè)答案a.The flow of data within the systemb.Proving that security mechanisms perform according to specificationc.None of the aboved.Regulating user and process access to various aspects of the systemA common problem with full-featured operating systems, due to their size and difficulty of the tasks they address, is:選擇一個(gè)答案a.Sub-par performanceb.All of the abovec.Latent bugs that show up in the fieldd.Chronically late in deliveryA technique in which a process, executing an application, is divided into threads that can run concurrently is called:選擇一個(gè)答案a.Symmetric multiprocessing (SMP)b.Multiprocessingc.None of the aboved.MultithreadingWIN2K supports several types of user applications, including:選擇一個(gè)答案a.None of the aboveb.System 10c.Linuxd.WIN32Key to the success of Linux has been its character as a free software package available under the auspices of the:選擇一個(gè)答案a.World Wide Web Consortiumb.Berkeley Software Distributionc.Free Software Foundationd.None of the aboveOperating systems must evolve over time because選擇一個(gè)答案a.All of the aboveb.Hardware must be replaced when it failsc.New hardware is designed and implemented in the computer systemd.Users will only purchase software that has a current copyright dateThe operating system is unusual in its role as a control mechanism, in that:選擇一個(gè)答案a.None of the aboveb.It never relinquishes control of the system processorc.It frequently relinquishes control of the system processor and must depend on the processor to regain control of the systemd.It runs on a special processor, completely separated from the rest of the systemThe operating system provides many types of services to end-users, programmers and system designers, including:選擇一個(gè)答案a.Relational database capabilities with the internal file systemb.Built-in user applicationsc.Error detection and responsed.All of the aboveA major problem with early serial processing systems was: 選擇一個(gè)答案 a. Inability to get hardcopy output b. Lack of input devicesc. All of the aboved. Setup time An example of a hardware feature that is desirable in a batch-processing system is選擇一個(gè)答案 a. A completely accessible memory area b. Large clock cycles c. None of the above d. Privileged instructions A computer hardware feature that is vital to the effective operation of a multiprogramming operating system is: 選擇一個(gè)答案 a. All of the above b. I/O interrupts and DMA c. Very large memory d. Multiple processors The principle objective of a time sharing, multiprogramming system is to選擇一個(gè)答案 a. Provide exclusive access to hardware b. Maximize response time c. None of the above d. Maximize processor use Which of the following major line of computer system development created problems in timing and synchronization that contributed to the development of the concept of the process? 選擇一個(gè)答案 a. Real time transaction systems b. All of the above c. Multiprogramming batch operation systems d. Time sharing systems Which of the following major line of computer system development created problems in timing and synchronization that contributed to the development of the concept of the process? 選擇一個(gè)答案 a. Real time transaction systems b. Multiprogramming batch operation systems c. All of the above d. Time sharing systems 第三章The behavior of a processor can be characterized by examining:選擇一個(gè)答案a.The interleaving of the process tracesb.A single process tracec.Multiple process tracesd.All of the aboveThe Process Image element that contains the modifiable part of the user space is called the:選擇一個(gè)答案a.None of the aboveb.User Programc.Process Control Blockd.System StackThe processor execution mode that user programs typically execute in is referred to as:選擇一個(gè)答案a.System modeb.Kernel modec.User moded.None of the aboveOne step in the procedure for creating a new process involves:選擇一個(gè)答案a.Allocating space for the processb.Assigning a unique identifierc.All of the aboved.Initializing the process control blockA process switch may occur when the system encounters an interrupt condition, such as that generated by a:選擇一個(gè)答案a.Memory faultb.Trapc.All of the aboved.Supervisor callIn the Process Based O/S:選擇一個(gè)答案a. Major kernel functions are organized as separate functionsb. None of the abovec. O/S code and data are contained in the shared address spaced.The User Process Image includes a kernel stackIn a typical UNIX system, the element of the process image that contains the processor status information is the:選擇一個(gè)答案a.Register contextb.System-level contextc.All of the aboved.User-level contextThe behavior of an individual process can be characterized by examining:選擇一個(gè)答案a.All of the aboveb.Multiple process tracesc.The interleaving of the process tracesd.A single process traceThe basic Two-State Process Model defines two possible states for a process in relationship to the processor:選擇一個(gè)答案a.Running and Executingb.Executing and Waitingc.Running and Not Runningd.None of the aboveThere are a number of conditions that can lead to process termination, including:選擇一個(gè)答案a.All of the aboveb.Bounds violationc.Normal completiond.Parent terminationIn the Five-State Process Model, the following represents a valid state transition:選擇一個(gè)答案a.New - Runningb.Running - Blockedc.All of the aboved.New - BlockedIn a Process Model that implements two suspend states, a valid state transition is represented by:選擇一個(gè)答案a.Running - Ready/Suspendb.Ready - Ready/Suspendc.All of the aboved.Ready/Suspend - ReadyThe 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:選擇一個(gè)答案a.Prioritizationb.Round-Robinc.LIFOd.All of the aboveA Memory Table is an O/S control structure that is used by the O/S to:選擇一個(gè)答案a.Provide information about system filesb.Manage I/O devicesc.None of the aboved.Manage processesThe Process Image element that contains the collection of attributes needed by the O/S to control a particular process is called the:選擇一個(gè)答案a.System Stackb.None of the abovec.Process Control Blockd.User Data第四章The concept of a process in an operating system embodies two primary characteristics, one of which is:選擇一個(gè)答案a.Resource ownershipb.None of the abovec.Multithreadingd.Symmetric multiprocessingEarly operating systems that were designed with little concern about structure are typically referred to as:選擇一個(gè)答案a.Monolithic operating systemsb.All of the abovec.Kernel operating systemsd.Layered operating systemsA benefit of the microkernel organization is:選擇一個(gè)答案a.Flexibilityb.Portabilityc.Extensibilityd.All of the aboveIn low-level microkernel memory management, an example of an operation that can support external paging and virtual memory management is the:選擇一個(gè)答案a.Map operationb.All of the abovec.Flush operationd.Grant operationIn 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:選擇一個(gè)答案a.None of the aboveb.Standby statec.Waiting stated.Transition stateIn a Solaris system, a User-Level Thread (ULT) that enters the active state is assigned to a:選擇一個(gè)答案a. Light-Weight Process (LWP)b. Heavy-Weight Process (HWP)c. Kernel threadd.None of the aboveAn example of a system that implements a single process with multiple threads is:選擇一個(gè)答案a.All of the aboveb.Javac.Solarisd.WIN 2000Which of the following is true regarding the relationship between processes and threads:選擇一個(gè)答案a.All of the aboveb.It takes far less time to create a new thread in an existing process than to create a new processc.It takes less time to switch between two different processes than to switch between two threads within the same processd.It takes less time to terminate a process than a threadThe 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:選擇一個(gè)答案a.Spawn operationb.Unblock operationc.Block operationd.None of the aboveOne of the disadvantages of User-Level Threads (ULTs) compared to Kernel-Level Threads (KLTs) is:選擇一個(gè)答案a.When a ULT executes a system call, all threads in the process are blockedb.Thread switching does not require kernel mode privilegesc.All of the aboved.Scheduling is application specificIn 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:選擇一個(gè)答案a.1:1b.1:Mc.M:Nd.None of the aboveThe computer system category where a single processor executes a single instruction stream to operate on data stored in a single memory is called:選擇一個(gè)答案a.Single Instruction Multiple Data (SIMD) streamb.Multiple Instruction Single Data (MISD) streamc.Single Instruction Single Data (SISD) streamd.None of the aboveIn 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:選擇一個(gè)答案a.Synchronization mechanism problemb.Cache coherency problemc.Interconnection mechanism problemd.None of the aboveKey issues involved in the design of multiprocessor operating systems include:選擇一個(gè)答案a.All of the aboveb.Synchronizationc.Reliability and fault toleranced.SchedulingIn a Linux system, when a new process is cloned, the two processes share the same:選擇一個(gè)答案a.All of the aboveb.Process identifierc.task_struct data structured.Virtual memory第五章Concurrency plays a major part in which of the following specific contexts:選擇一個(gè)答案a.Multiple applicationsb.Structured applicationsc.O/S structured.All of the aboveIn order to implement mutual exclusion on a critical resource for competing processes, only one program at a time should be allowed選擇一個(gè)答案a.To Exhibit cooperationb.In the critical section of the programc.To perform message passingd.None of the aboveThe following requirement must be met by any facility or capability that is to provide support for mutual exclusion:選擇一個(gè)答案a.Only one process at a time can be allowed into a critical code sectionb.No assumptions can be made about relative process speedsc.A process remains in its critical code section for a finite time onlyd.All of the aboveProcesses that are designed to be able to pass execution control back and forth between themselves are referred to as選擇一個(gè)答案a.Coroutinesb.Busy waiting processesc.None of the aboved. ThreadsIn a uniprocessor system, mutual exclusion can be guaranteed by選擇一個(gè)答案a.All of the aboveb.Interleaving processesc.Disabling interruptsd.Overlapping processesA semaphore that does not specify the order in which processes are removed from the queue is called a選擇一個(gè)答案a.None of the aboveb.Weak semaphorec.Strong semaphored.Binary semaphoreThe finite circular buffer is used to implement which of the following basic queuing strategies選擇一個(gè)答案a.FILOb.FIFOc.LIFOd.None of the aboveA chief characteristic of a monitor is:選擇一個(gè)答案a.A maximum of two processes may be executing in a monitor at a timeb.All of the abovec.A process enters the monitor by invoking one of its proceduresd.Local data variables of the monitor are accessible by any procedure requesting use of the monitorIn synchronization involving message passing, the sender of a message can be選擇一個(gè)答案a.Either blocking or non-blockingb.All of the abovec.Only non-blockingd.Only blockingIn a system employing message passing, when a message is sent to a shared temporary data structure, this general approach is known as選擇一個(gè)答案a.None of the aboveb.Direct addressingc.Indirect addressingd.BlockingIn a system employing message passing, the typical message is divided into two primary sections選擇一個(gè)答案a.None of the aboveb.Destination ID and Source IDc.Header and mailboxd.Body and mailboxThe Reader/Writer problem requires that certain conditions be satisfied, such as:選擇一個(gè)答案a.Multiple writers may write to the file simultaneouslyAny number of readers may simultaneously read from the fileb.Readers may read from the file while writers are writing to itc.Any number of readers may simultaneously read from the filed.None of the aboveA reason why the Producer/Consumer problem cannot be considered a special case of the Reader/Writer problem with a single writer (the producer) and a single reader (the consumer) is:選擇一個(gè)答案a.None of the aboveb.The Producer/Consumer problem doesnt deal with concurrency issuesc.The producer and consumer must be both reader and writerd.The consumer must perform writes while the reader performs readsExamples of solutions to the concurrency problem that do not involve busy waiting are the following:選擇一個(gè)答案a.Message passing and cachingb.None of the abovec.Semaphores and monitorsd.Producers and consumersA basic echo procedure (that echoes a typed character to the screen) running on a multiprocessor system can produce e

溫馨提示

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

最新文檔

評(píng)論

0/150

提交評(píng)論