四川大学雨课堂操作系统选择题,部分题目及选项带有解释
第一章(15)
(A 1.4)1.when an external device becomes ready to be serviced by the processor, the device sends this type of signal to the processor:(1.0分)
A.interrupt signal(中断信号) B.halt signal
C.handler signal D.none of the above
(D 1.4)2. a common class of interrupts is(1.0分)
A.program B.timer C.i/o **D.all of the above **
(包括Program, Timer, I/O, Hardware failure等)
(A 1.3)3. a fetched instruction(取指指令) is normally loaded into the:(1.0分)
A.instruction register (ir) (取到的指令放在IR中)
B.program counter (pc)
C.accumulator (ac)
D.none of the above
(C 1.3)4. the two basic steps used by the processor in instruction processing are:(1.0分)
A.fetch and instruction cycles
B.instruction and execute cycles
C.fetch and execute cycles(一个指令周期包括取指阶段和执行阶段)
D.none of the above
(B 1.2, 1.6)5. a control/status register that contains the address of the next instruction to be fetched is called the:(1.0分)
A.instruction register (ir)
B.program counter (pc) pc:保存下一次取的指令地址
C.program status word (psw)
D.all of the above
(D 1.2)6. address registers may contain(1.0分)
A.memory addresses of data
B.memory addresses of instructions
C.partial memory addresses
D.all of the above(地址寄存器以上都包含)
(A 1.2)7. the two basic types of processor registers are:(1.0分)
A.user-visible and control/status registers(用户程序可见寄存器and控制和状态寄存器)
B.control and status registers
C.user-visible and user-invisible registers
D.none of the above
(C 1.1)8. the four main structural elements of a computer system are:(1.0分)
A.processor, registers, i/o modules & main memory
B.processor, registers, main memory & system bus
C.processor, main memory, i/o modules & system bus(四大基本结构:CPU,内存,I/O,总线)
D.none of the above
(D 1.5)9. when a new block of data is written into cache memory, the following determines which cache location the block will occupy:(1.0分)
A.block size B.cache size C.write policy D.none of the above
(正确答案:mapping function映射策略)
(B 1.5)10. small, fast memory located between the processor and main memory is called(1.0分)
A.worm memory
B.cache memory(高速缓存)
C.cd-rw memory
D.none of the above
(C 1.5)11. as one proceeds down the memory hierarchy(分级储存体系) (i.e., from inboard memory to offline storage), the following condition(s) apply:(1.0分)
A.increasing cost per bit(价格应该降低)
B.decreasing capacity(容量应该提升)
C.increasing access time(访问时间增加)
D.all of the above
(B 1.4)12. in a uniprocessor(单处理器) system, multiprogramming(多道程序设计) increases processor efficiency by:(1.0分)
A.increasing processor speed
B.taking advantage of time wasted by long wait interrupt handling(用中断节约时间)
C.eliminating all idle processor cycles
D.all of the above
(A 1.4)13. one accepted method of dealing with multiple interrupts(处理多个中断) is to:(1.0分)
A.define priorities(优先级) for the interrupts
B.disable all interrupts except those of highest priority
C.service them in round-robin fashion(循环执行)
D.none of the above
(B 1.4)14. information that must be saved prior to the processor(处理器) transferring control(移交控制) to the interrupt handler routine(中断处理程序) includes:(1.0分)
A.processor status word (psw) (程序状态字)
B.processor status word (psw) & location of next instruction(PC,程序计数器) .
C.processor status word (psw) & contents of processor registers(内存寄存器)
D.none of the above
(B)15. the general role of an operating system is to:(1.0分)
A.act as an interface(接口) between various computers
B.provide a set of services to system users
C.manage files for application programs (管理应用程序文件)
D.none of the above
第二章(15)
(D)1. A primary objective(主要目标) of an operating system is:(1.0分)
A.Convenience B.Efficiency
C.Ability to evolve(迭代能力) D.all of the above
(D)2. 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?(1.0分)
A.multiprogramming batch operation systems 多道批处理
B.time sharing systems 分时系统
C.real time transaction systems 实时交易系统
D.all of the above
(D)3. the principle objective of a time sharing, multiprogramming system is to(分时,多程序的主要目标)(1.0分)
A.maximize response time (是time sharing主要目标)
B.maximize processor use (是Batch Multiprogramming的主要目标)
C.provide exclusive access to hardware
D.none of the above (答案应该是为了与多个用户交互)
(C )4. a computer hardware feature硬件功能 (that is vital to the effective operation of a multiprogramming operating system定语:对于进程并发操作系统的有效运行至关重要的) is:(1.0分)
A.very large memory B.multiple processors
C.i/o interrupts and DMA 中断和直接内存存取 D.all of the above
(A)5. an example of a hardware feature that is desirable in a batch-processing system批处理 is(1.0分)
A.privileged instructions 特权指令
B.a completely accessible memory area
C.large clock cycles
D.none of the above
(还有内存保护,定时器,中断)
(A)6. a major problem with early serial processing systems串行处理主要问题 was:(1.0分)
A.setup time准备时间 B.lack of input devices
C.inability to get hardcopy output D.all of the above
(问题包括:准备时间,调度)
(C )7. operating systems must evolve over time随时间发展 because(1.0分)
A.hardware must be replaced when it fails
B.users will only purchase software that has a current copyright date
C.new hardware is designed and implemented in the computer system
D.all of the above
(包括硬件升级,新的服务,纠错)
(B)8. the operating system is unusual in it’s role as a control mechanism, in that:(1.0分)
A.it runs on a special processor, completely separated from the rest of the system
B.it frequently relinquishes control释放控制 of the system processor and must depend on the processor to regain control of the system
C.it never relinquishes control of the system processor
D.none of the above
(操作系统是由处理器执行的一段程序,它会经常释放控制,必须依赖处理器才能恢复控制)
(B)9. the operating system provides many types of services to end-users, programmers and system designers, including:(1.0分)
A.built-in user applications
B.error detection and response错误检测和响应
C.relational database capabilities with the internal file system
D.all of the above
(B)10. key to the success of linux has been it’s character as a free software package available under the auspices of the:(1.0分)
A.world wide web consortium B.free software foundation免费软件基金
C.berkeley software distribution D.none of the above
(A)11. win2k supports several types of user applications, including:(1.0分)
A.win32 B.linux C.system 10 D.none of the above (书上没找到,只能记啦)
(A)12. a technique in which a process进程, executing an application执行应用程序, is divided into threads线程 that can run concurrently并发 is called:(1.0分)
A.multithreading 多线程
B.multiprocessing 多处理
C.symmetric multiprocessing (smp) 对称多处理
D.none of the above
(D)13. a common problem with full-featured operating systems, due to their size and difficulty of the tasks they address, is:(1.0分)
A.chronically late in delivery 长期延迟分发
B.latent bugs that show up in the field 潜在的bug
C.sub-par performance 低于标准的表现
D.all of the above (又是一个没找到的)
(C )14. relative to information protection and security in computer systems, access control typically refers访问控制通常指 to:(1.0分)
A.proving that security mechanisms perform according to specification
B.the flow of data within the system
C.regulating user and process access to various aspects of the system 规范用户和进程对系统各个方面的访问
D.none of the above
(B)15. the paging system分页系统 in a memory management system内存管理系统 provides for dynamic mapping动态映射 between a virtual address虚地址 used in a program and:(1.0分)
A.a virtual address in main memory
B.a real address in main memory内存中的实地址
C.a real address in a program
D.none of the above