Advertisements
Advertisements
Question
Explairt the process of Multiprogramming in Process Management with help of an example.
Solution
(1) The number of processes running simultaneously competing for CPU is called multiprogramming.
(2) Multiprogramming is used for increasing the CPU utilization and reducing the idleness of CPU.
(3) In multiprogramming CPU can execute multiple processes at a time.
e.g. When process1 waits for an external event (I/O operation), the processor executes process 2.
(4) The switching time between two processes is called as context switching
(5) Context means storing the status of process. In that memory contents and registers like Program
Counter, Instruction Register, Accumulator, general purpose registers are stored. Each process has a
register save area and in that area context for the process is stored.
(6) Suppose Process A is under execution and it requires I/O operations, then process B should start. So
there would be context switching from A to B. The context of process A is stored and restores the
process B status which is already in memory. When process A is scheduled again, then it is restored in
CPU and continues from the leftover point.
APPEARS IN
RELATED QUESTIONS
Give features of Windows 98 Operating System.
State any four Memory Management System.
List and explain types of File Systems used in OS.
Explain following terms in case of Process Scheduling
1) Turn-around Time
2) Waiting Time
3) Terminal Response Time
4) Event Response Time
Explain the function of the following in Operating system:
1) Virus Detection
2) Virus Removal
3) Virus Prevention
Write a short note on Paging.
With reference to process management, explain the term:
External Priority
Name the following and complete the diagram.
The Operating system is a ______.
Write a note on Recycle bin.