Discussion
The essential difference between traps and interrupts is
Answer: B
The essential difference is that traps are synchronous and interrupts are asynchronous with the program. A trap is raised by the program itself, for example by an error such as division by zero or by a system call, and always happens at the same point when the program is run again. An interrupt comes from outside, for example from an I/O device, at an unpredictable moment.
Option A reverses the two, and option C ties interrupts to I/O devices only, which is not the defining contrast with the program.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development