Docsity

ECE 267 Fall 2005 - Interrupts Sample Final Exam Questions, Exams of Computer Architecture and Organization

Toggle sidebar
bg1
ECE 267 - Computer Organization and Programming
Sample Final Exam Problems − Interrupts
Fall 2005 Semester
Answer the following questions:
a) What is the difference between a hardware interrupt and a software interrupt?
b) In a computer running an operating system, what is the primary use for software
interrupts?
c) What is the difference between a foreground and a background process?
d) How does an operating system create the illusion that multiple programs are
running simultaneously?
e) How is the system stack involved when interrupts are serviced? Under what
conditions may there be stack overflow?
f) Why are some interrupts assigned a higher priority than others?
g) Read the code given to you as Program 4 template, and find the software interrupt
instruction used to move the mouse pointer to a specified (row,column) position on
the pixel graphics screen. Write code to move the mouse to coordinate (200,100):

Partial preview of the text

Download ECE 267 Fall 2005 - Interrupts Sample Final Exam Questions and more Exams Computer Architecture and Organization in PDF only on Docsity!

ECE 267 - Computer Organization and Programming Sample Final Exam Problems − Interrupts Fall 2005 Semester

Answer the following questions:

a) What is the difference between a hardware interrupt and a software interrupt?

b) In a computer running an operating system, what is the primary use for software interrupts?

c) What is the difference between a foreground and a background process?

d) How does an operating system create the illusion that multiple programs are running simultaneously?

e) How is the system stack involved when interrupts are serviced? Under what conditions may there be stack overflow?

f) Why are some interrupts assigned a higher priority than others?

g) Read the code given to you as Program 4 template, and find the software interrupt instruction used to move the mouse pointer to a specified (row,column) position on the pixel graphics screen. Write code to move the mouse to coordinate (200,100):