Process Flashcards

1
Q

What are the two classes of exceptions?

A

I.Synchronous
II.Asynchronous

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What causes a synchronous exception?

A

The currently executing program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what are the 3 sub classes of synchronous exceptions?

A
  1. Traps
  2. Faults
  3. Aborts
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

traps

A

intentionally triggered by a system call and usually recoverable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Faults

A

Are usually unintentional and may or may not be recoverable. (segmentation fault, protection fault) return from fault results in retrying the faulting instruction.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Aborts

A

They are unintentional and irrecoverable , usually goes hand in hand with terminating program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Whar causes Asynchronous exceptions?

A

Events outside of the current instruction external of it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are asynchronous exceptions known as when they are hardware initiated?

A

Interrupts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what are some examples of interrupts?

A

control c , ctrl- alt- del, power button

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what are interrupts associated with?

A

Specific hardware processor pins , checked after every cpu cycle. Associated with handler functions via interrupt vector.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly