Lecture 6 Flashcards

1
Q

What makes the 7 state model different?

A

Blocked/Suspend and Ready/Suspend are added as states

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

Steps for process creation

A
  1. Create process ID
  2. Allocate Space in MM
  3. Create the PCB
  4. Set appropriate linkages
  5. Expand the data structures
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the ready queue

A

Where the PCB goes, a dynamic linked list

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

User mode

A

PSW = 1

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

Kernel Mode

A

PSW =0

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

Process Switching occurs due to what?

A

Interrupts, (I/O, Clock) or traps (errors, exceptions)

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

When a mode switch occurs what happens?

A

Processor will save the PCB so the program can resume later

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

Mutual exclusion

A

One process uses each resource at a time

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

Concurrency

A

nothing should be left idle

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

Basic requirement of concurrency

A

Mutual exclusion enforcement

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