CSC204 - Chapter 3.1 (new 2023)
CSC204 - Chapter 3.1 (new 2023)
PRACTICAL APPROACH
OF OPERATING SYSTEM
What is a program ??
Inactive @ passive entity, such as a file stored on
a disk.
What is a program To an operating system, a
program/job/ task is a unit of work that has been
submitted by user.
“Job” is usually associated with batch systems.
“Task” is usually associated with multitasking
systems.
What is a process ??
A process is a program in execution.
Active entity, which requires a set of resources,
including a processor and special registers to
perform its function.
3.1 PROCESS
MANAGEMENT
3.1.1 Process Concepts
A process includes :-
3.1 PROCESS
MANAGEMENT
3.1.1 Process Concepts
2 types of process :-
O/S process = executes system
codes
User process = executes user codes
Ready Running
Job pool
Scheduler
I/O or dispatch
event I/O or
completio
Handled by Process event wait
Waiting
Scheduler n
Handled by Job Scheduler
difference between Process
scheduler and Job Scheduler
(illustration)