
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

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):