Processes (Part II) Flashcards

1
Q

An operating system controls the course of execution that involves the process of determining an interleaving pattern for execution and allocating resources to processes. This can neither be in a running state or in a not running state

A

Two-State Process Model

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

When the OS creates a new process, it creates a process control block for the new process and adds the new process. Then, the process waits for an opportunity to execute

A

Not running state

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

The dispatch portion of the OS selects a particular process to run. Intermittently, the currently running process will be interrupted and the dispatch portion has to select other processes to run. The interrupted process returns to the queue in the not running state, while a completed process exits the system

A

Running state

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

The queue in the not running state would be in what arrangement?

A

First-in-first-out (FIFO)

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

What are the processes in the Five-State Process Model?

A
  • New State
  • Ready State
  • Running State
  • Blocked state/Waiting state
  • Exit State
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A process that has just been created and has not yet been admitted to the pool of executable processes by the OS

A

New State

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

A process that is prepared to execute when given the opportunity

A

Ready State

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

The process that is currently being executed

A

Running State

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

A process that cannot execute until some event occurs, such as the completion of an I/O operation

A

Block state/Waiting state

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

A process that has been released from the pool of executable processes by the OS, either because it halted, or it was terminated

A

Exit State

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

What are the three (3) principle states?

A
  • Ready
  • Running
  • Blocked
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

A process can be placed in a suspended state by any of the following:

A
  • The process itself
  • A parent process
  • The operating system
How well did you know this?
1
Not at all
2
3
4
5
Perfectly