h. Delete "a.out"
del c:\SSD2ExamA\a.out
2.
Interrupts
a. Define hardware interrupt.
An hardware interrupt is an asynchronous signal indicating the need for attention or a synchronous event indicating the need for a change in execution. Hardware interrupts were introduced as a way to avoid wasting the processor's valuable time in polling loops, waiting for external events. They may be implemented in hardware as a distinct system with control lines, or they may be integrated into the memory subsystem.
b. Given that the system is currently running a process, list the steps the system performs to process an interrupt and return to the original process.
The system will firstly cease the task at present and copies it to the RAM. The system copies the interrupt request from RAM to the registers, and begins processing the new instructions. The system finishes the interrupt request, and copies the previous process back until finished or interrupted.
c. What causes an interrupt?
The interrupt is caused whenever the I/O devices need attention.
d. What is interrupt priority?
It means that the interrupt requests have their different order to be settled by the computer system.
e. Give an example of a device that has a high interrupt priority and of a device that has a low interrupt priority.
The higher one would be a CD-RM driver, and the lower one would be a keyboard. f. How are priorities assigned to devices?
The priorities of devices are depended on their speeds. High-speed devices have higher priorities, while low-speed devices have lower priorities. 3.
Layers
SSD2-Exam1_工学_高等教育_教育专区。1. Hexadecimal a. Define hexadecimal notation. A notation that use 16 different characters which inc...
SSD2_EXAM2_工学_高等教育_教育专区。EXAM2,SSD2Take Assessment: Exam 2 Practical Please answer the following question(s). If the assessment includes ...
SSD2 exam3_工学_高等教育_教育专区 暂无评价0人阅读0次下载举报文档 SSD2 exam3_工学_高等教育_教育专区。软工 计导考试题 与答案...
47页 5财富值 SSD2_EXAM2 6页 5财富值 SSD2 部分答案 14页 5财富值搜你所想,读你所爱 拒绝盗版,营造绿色文库 如要投诉违规内容,请到百度文库投诉中心;...
2页 5财富值 SSD2_EXAM2 6页 5财富值 SSD2选择题答案 56页 2财富值 ssd2 exercise答案 45页 2财富值喜欢此文档的还喜欢 ssd2 exercise答案 45页 2财富...
SSD2 部分答案 1. Dictionary-based Compression Consider the message below: exam1, exam2, and exam3 are required exams. a. How many bytes does the ...
12页 免费 SSD2-Exam2 4页 2财富值搜你所想,读你所爱 拒绝盗版,营造绿色文库 如要投诉违规内容,请到百度文库投诉中心;如要提出功能问题或意见建议,请点击...
TAIYUAN UNIVERSITY OF SCIENCE AND TECHNOLOGY The College of Applied Science Department of Physics Engineering Physics November 2014 The Exam of Midsemester (...
ssd2 9页 5财富值 SSD2 部分答案 14页 5财富值 SSD2 Ex6 5页 5财富值 SSD2 Ex3 8页 5财富值 SSD2 Ex1 2页 5财富值 SSD2_EXAM2 6页 5财富值...
热门文档