Machine-translated by Google. Questions are authored in English.
Top

Discussion

Interrupt which arises from illegal or erroneous use of an instruction or data is

  • A.Software interrupt
  • B.Internal interrupt
  • C.External interrupt
  • D.All of the above

Answer: B

An interrupt which arises from the illegal or erroneous use of an instruction or of data is an internal interrupt, also called a trap. Examples are an overflow, a division by zero, an invalid operation code or a violation of protection. The answer is (B).

A software interrupt is caused deliberately by an instruction such as a supervisor call, and an external interrupt comes from a device outside the processor such as an I/O unit or a timer. Option (D) is wrong since only the internal type arises in this way.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.