An operating system also has to be able

练习题库2022-08-02  44

问题 An operating system also has to be able to service peripheral( ),such as timers,motors,sensors,communicationdevices,disks,etc.All of those can request the attention of the OS( ),i.e.at the time that they want to use the OS,theOS has to make sure it's ready to service the requests.Such a request for attention is called an interrupt.There are twokinds of interrupts:Hardware interrupts and Software interrupts.The result of an inteiTup:is also a triggering of theprocessor,so that it jumps to a(请作答此空)address.Examples of cases where software interrupts appear are perhaps a divide by zero,a memory segmentation fault,etc.So this kind of interrupt is not caused by a hardware event but by a specificmachine language operation code.Many systems have more than one hardware interrupt line,and the hardwaremanufacturer typically assembles all these interrupt lines in an interrupt( ).An Interrupt( )is a piece of hardware that shields the OS from the electronic details of the interrupt lines,so that interrupts can be queued and none of themgets lost.A.randomB.pre-specifiedC.constantD.inknown

选项 A.random
B.pre-specified
C.constant
D.inknown

答案 B

解析
转载请注明原文地址:https://tihaiku.com/congyezige/2424337.html

最新回复(0)