Operating System Quiz Reviewer
Operating System Quiz Reviewer
Process Process ID
• A process is basically a program in execution. The execution of Unique identification for each of the process in the operating
a process must progress in a sequential fashion. system.
Start This includes the amount of CPU used for process execution,
time limits, execution ID etc.
This is the initial state when a process is first started/created.
O status information
Ready
This includes a list of I/O devices allocated to the process.
The process is waiting to be assigned to a processor. Ready
processes are waiting to have the processor allocated to them by Operating System -Process Scheduling
the operating system so that they can run.
The process scheduling is the activity of the process manager
Running that handles the removal of the running process from the CPU
and the selection of another process on the basis of a particular
Once the process has been assigned to a processor by the OS strategy.
scheduler, the process state is set to running and the processor
executes its instructions. Categories of Scheduling
Schedulers
Long-Term Scheduler
Short-Term Scheduler
Medium-Term Scheduler
• Program Counter The loader generates these addresses at the time when a
program is loaded into main memory.
• Scheduling information
Static vs Dynamic Loading
• Base and limit register value
The time of loading, with static loading, the absolute program (and data) is
• Currently used register loaded into memory in order for execution to start.
• Changed State If you are using dynamic loading, dynamic routines of the library are
stored on a disk in relocatable form and are loaded into memory only when
• I/O State information they are needed by the program.
• Accounting information
Symbolic addresses