Chapter 3 Processes Flashcards

1
Q

Job queue

A

set of all processes in the system

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

Ready queue

A

set of all processes residing in main memory, ready and waiting to execute

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

Device queues

A

set of processes waiting for an I/O device

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

Long-term scheduler (or job scheduler)

A

selects which processes should be brought into the ready queue

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

Short-term scheduler (or CPU scheduler)

A

selects which process should be executed next and allocates CPU

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

When CPU switches to another process, the system must save the state of the old process and load the saved state for the new process via a

A

context switch

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

_________ of a process represented in the PCB

A

Context

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

Resource sharing

A

Parent and children share all resources

Children share subset of parent’s resources

Parent and child share no resources

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

Execution

A

Parent and children execute concurrently

Parent waits until children terminate

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

Generally, process identified and managed via a

A

process identifier (pid)

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

_______ process cannot affect or be affected by the execution of another process

A

independent

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

_______ process can affect or be affected by the execution of another process.

A

Cooperating

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

Advantages of process cooperation

A

Information sharing

Computation speed-up

Modularity

Convenience

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