adplus-dvertising
frame-decoration

Question

What are the two basic types of exceptions?

a.

Software and hardware exceptions

b.

Programming and system exceptions

c.

Fatal and non-fatal exceptions

d.

Synchronous and asynchronous exceptions

Posted under Reverse Engineering

Answer: (a).Software and hardware exceptions Explanation:The two basic types of exceptions are software exceptions and hardware exceptions. Hardware exceptions are generated by the processor, for example when a program accesses an invalid memory page or when a division by zero occurs. Software exceptions are generated when a program explicitly generates an exception in order to report an error.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What are the two basic types of exceptions?