in Operating System edited by
1,875 views
1 vote
1 vote

Which of the following features will characterize an OS as multi-programmed OS?

  1. More than one program loaded into main memory at the same time.
  2. If a program waits for certain event another program is immediately scheduled
  3. If the execution of a program terminates, another program is immediately scheduled
    1. $\text{i only}$
    2. $\text{i and ii only}$
    3. $\text{i and iii only}$
    4. $\text{i, ii, and iii only}$
in Operating System edited by
1.9k views

2 Answers

1 vote
1 vote
Best answer

Answer : D

More than one program loaded into main memory at the same time.
If a program waits for certain event another program is immediately scheduled
If the execution of a program terminates, another program is immediately scheduled

In a multi-programming system there are one or more programs loaded in main memory which are ready to execute. Only one program at a time is able to get the CPU for executing its instructions (i.e., there is at most one process running on the system) while all the others are waiting their turn.
The main idea of multi-programming is to maximize the use of CPU time. Indeed, suppose the currently running process is performing an I/O task (which, by definition, does not need the CPU to be accomplished). Then, the OS may interrupt that process and give the control to one of the other in-main-memory programs that are ready to execute (i.e. process context switching). In this way, no CPU time is wasted by the system waiting for the I/O task to be completed, and a running process keeps executing until either it voluntarily releases the CPU or when it blocks for an I/O operation. Therefore, the ultimate goal of multi-programming is to keep the CPU busy as long as there are processes ready to execute.

Reference : Definition of Multiprogramming Operating System is Here

selected by

1 comment

option c is not always true
0
0
0 votes
0 votes

Ans  is D multiprogramming is used for max CPU utilization for this CPU idle time should be reduced 

it needs 1)more than one program in memory so that all can be executed by cpu

2)If a program waits for certain event another program is immediately scheduled so that CPU must busy

3)If the execution of a program terminates, another program is immediately scheduled                    by  the same reason 

Answer:

Related questions