Processes (Prelims) Flashcards
It can be defined in different ways, depending on its actual composition or utilization.
Process
Basic definitions of process:
- Program in execution
- Entity that can be assigned to and executed on a processor
- Unity of activity that executes a sequence of instructions
- Environment that consists of a number of elements for executing a user-level program
This can be shared with other processes that are executing the same program
Program code
It is associated with the program code
Set of data
Two (2) essential elements of a process:
- program code
- set of data
It can execute multiple processes at a time, thus supporting thousands of processes on a single system
Kernel
What are the five (5) process state?
- New
- Ready
- Running
- Waiting
- Terminated
It is unique for each process
Identifier
It indicates the current activity of a process
Process State
Process is being created
New
Process is waiting to be assigned to a processor
Ready
The instructions are being executed
Running
The process is waiting for a particular event to occur
Waiting
It refers to the priority level relative to the other processes
Priority
The process has finished the execution
Terminated