Processes Flashcards

1
Q

The transition (running -> blocked) of a process p is caused by _____.

A

the process itself

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

The transition (running -> ready) of a process p is caused by _____.

A

the OS

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

The transition (blocked -> ready) of a process p is caused by _____.

A

some other process

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

When a blocked process p is suspended and the resource needed by p becomes available, p is moved to the ready state.

A

False

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

When a process p is moved from the current state (running, ready, or blocked) to the suspended state, then upon reactivation, ________.

A

p is moved to either the ready or the blocked state

it just depends on when the suspension occurred, it can be placed in whatever one it was in

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

The PCB contains an up-to-date copy of the CPU state of a process p _____ .

A

when p’s state is ready or blocked

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