Processes Flashcards

Learn processes and purposes

1
Q

What is a Process and what do they include?

A

An instance of a program that is being executed. It includes;
• current values of the program counter, registers and variable
• instruction code and current data inputs

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

What is a Foreground process?

A

Interacts with users and perform work for them.

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

What is a Background process?

A

Not associated with users.

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

What is a Process Tree?

A

Processes create other processes

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

What are the options of Process Creation?

A

•System Initialisation•
When a system boots –> several processes are made

•Execution of Process Creation by Running Process (parent > child)•
Running process can generate system calls to create a new process.

•Processes Generated by Users•
New processes generated when user starts a program

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

What is an Interrupt?

A

Where a process discontinues it’s task and transfers execution to a specific Interrupt service routine.

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

What are the 3 process states?

A

Running
Ready
Blocked

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

What is a Running Process state?

A

A running process that uses a CPU. Only one process can run at any one time.

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

What is a Ready process state?

A

A process ready to run but can not access the CPU

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

What is a Blocked state?

A

A process unable to run until an external event has taken place.

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

What is a Process Manager?

A

Determines when a process will run.

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

What is a Memory Manager?

A

Determines where a process will run

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

What are the functions of a Memory Manager?

A
  • allocates memory to processes
  • protect memory areas from interference
  • overcome the “First Law” by simulating extra memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly