Processes Flashcards
Learn processes and purposes
What is a Process and what do they include?
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
What is a Foreground process?
Interacts with users and perform work for them.
What is a Background process?
Not associated with users.
What is a Process Tree?
Processes create other processes
What are the options of Process Creation?
•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
What is an Interrupt?
Where a process discontinues it’s task and transfers execution to a specific Interrupt service routine.
What are the 3 process states?
Running
Ready
Blocked
What is a Running Process state?
A running process that uses a CPU. Only one process can run at any one time.
What is a Ready process state?
A process ready to run but can not access the CPU
What is a Blocked state?
A process unable to run until an external event has taken place.
What is a Process Manager?
Determines when a process will run.
What is a Memory Manager?
Determines where a process will run
What are the functions of a Memory Manager?
- allocates memory to processes
- protect memory areas from interference
- overcome the “First Law” by simulating extra memory