edited by
12,588 views
44 votes
44 votes

Which combination of the following features will suffice to characterize an OS as a multi-programmed OS?

  1. More than one program may be loaded into main memory at the same time for execution
  2. If a program waits for certain events such as I/O, another program is immediately scheduled for execution
  3. If the execution of a program terminates, another program is immediately scheduled for execution.
  1. (a)
  2. (a) and (b)
  3. (a) and (c)
  4. (a), (b) and (c)
edited by

5 Answers

Best answer
62 votes
62 votes

(A) and  (B) suffice multi-programming concepts. For multi-programming, more than one program should be in memory and if any program goes for IO another can be scheduled to use CPU as shown below:

So the answer is (B).

edited by
13 votes
13 votes

Based on

The primary reason multiprogramming operating system was developed and the reason they are popular, is that they enable the CPU to be utilized more efficiently. If the operating system can quickly switch the CPU to another task whenever the being worked in requires relatively slow input, output or storage operations, then CPU is not allowed to stand idle.

This mean that more can be accomplished a given amount of time. For example, if a disk drive that task can be delegated to channel and the CPU can be put to work in another program while the data are being read in multiprogramming is thus an effective way the fast-working CPU most busy with computations while slower input, output and storage operation are being carried out.

D will be correct choice

11 votes
11 votes
(a) More than one program may be loaded into main memory 
   at the same time for execution. 
True: Only done in a multiprogrammed OS, not in single
       programmed OS

(b) If a program waits for certain events such as I/O, 
   another program is immediately scheduled for execution.
True: Only done in a multiprogrammed OS, not in single
       programmed OS
 
(c) If the execution of program terminates, another program 
   is immediately scheduled for execution. 
False: Done in both Multiprogrammed and single
       programmed OSs

ref: http://www.geeksforgeeks.org/gate-gate-cs-2002-question-46/

1 votes
1 votes
The questions asks for sufficient conditions only

so A & B are sufficient

and C is done by every other type of OS if other processes are ready for execution.
Answer:

Related questions

25 votes
25 votes
1 answer
1
Kathleen asked Sep 15, 2014
4,169 views
We require a four state automaton to recognize the regular expression $(a\mid b)^*abb$Give an NFA for this purposeGive a DFA for this purpose
30 votes
30 votes
3 answers
2
Kathleen asked Sep 15, 2014
9,203 views
In $2's$ complement addition, overflowis flagged whenever there is carry from sign bit additioncannot occur when a positive value is added to a negative valueis flagged w...