Question

1. (5 points) 1.14 What is the purpose of interrupts? What are the differences between a trap and an interrupt? Can traps be

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution

1.14)

An interrupt is a hardware generated change of flow within the system.

An interrupt handler is summoned to deal with the cause of the interrupt; control is then returned to the interrupted context and instruction.

A trap is a software generated interrupt.

An interrupt can be used to signal he completion of an I/O(Input/Output) to obviate the need for device polling.

A trap can be used to call operating system routines or to catch arithmetic errors.

---

1.15)

f. Magnetic Tapes-slowest
c. Optical Disk
a. Hard-disk Drives
e. Nonvolatile Memory
d. Main Memory
g. Cache
b. Registers-fastest

---

all the best

Add a comment
Know the answer?
Add Answer to:
1. (5 points) 1.14 What is the purpose of interrupts? What are the differences between a...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT