Operating system structure are given below ๐
Operating system structure are given below ๐
Multiprogramming :-
The operating keeps several jobs in main memory.Set of jobs can be a subset of jobs kept in job pool.
Multitasking:-
In this CPU executes multiple jobs by switching among them but the switches occur so frequently that the user can interact with each program while it is running.
Process:-
A process is simply defined as program under execution.The difference between process and program is that program is a passive entity whereas process is active entity.
New:-
The process is being created.
Running:-
Instructions are being executed.
Waiting:-
The process is waiting for some event to occur (such as completion of I/O operations or reception of a signal).
Ready:-
The process is waiting to be assigned to a processor.
Terminated:-
Finished its execution is represented in operating system by a process control block (PCB) also known as task central block.
Context Switch:-
The operating system to change a CPU from its current task and to run a kernel routine.The kernel saves the context of the old process in its PCB and loads the saved context of the new process schedule to run.
Process scheduling:-
Only one process can run at a time any other must wait until the CPU is free and can be rescheduled.
CPU I/O burst cycle:-
The number of cycles the process is engaged with I/O operations is called I/O burst time.
Bhai or bhi post dalo
ReplyDelete