GATE / CS ARCHIVE

GATE CSE 2002 / QUESTION 2.21

Features of multiprogramming

Operating Systems · Processes, Threads & System Calls · Full GATE CSE 2002 paper

GATE 2002, Q2.21 2 marks · MCQ
Report issue

Processes, Threads & System Calls

Question 2.21, GATE 2002: Which combination suffices to characterize a multiprogrammed operating system? Features: (i) Multiple programs may be loaded into main memory simultaneously for execution; (ii) when a program waits for an event such as I/O, another is immediately scheduled; (iii) when a program terminates, another is immediately scheduled.
(A) (i); (B) (i) and (ii); (C) (i) and (iii); (D) (i), (ii), and (iii).
Question 2.21, GATE 2002: Which combination suffices to characterize a multiprogrammed operating system? Features: (i) Multiple programs may be loaded into main memory simultaneously for execution; (ii) when a program waits for an event such as I/O, another is immediately scheduled; (iii) when a program terminates, another is immediately scheduled.
(A) (i); (B) (i) and (ii); (C) (i) and (iii); (D) (i), (ii), and (iii).
Tap to enlarge
Your answer
Answer & solution

Answer: B as the minimal defining combination (no official key was published)

Step 1: Test the weaker feature combinations.

Step 2: Multiple resident programs alone do not ensure the CPU switches away from a waiting one. Starting another program only after termination also describes a serial batch system that wastes time during I/O. Combining residency with switching on a wait supplies the distinguishing behavior. Adding termination scheduling does not logically destroy sufficiency, which is why the minimal-feature reading must be stated rather than pretending D is an impossible system.

Conclusion: Keeping multiple programs resident, (a), and switching to another ready program when one waits, (b), permit useful CPU work while I/O proceeds: the characteristic multiprogramming behavior. Thus the minimal defining combination is B. Scheduling another job after termination, (c), occurs in ordinary serial batch processing too. Literally D contains this sufficient combination as well; the usual question asks which features distinguish the model, not all logical supersets. An available ready job is implicit in the scheduling statements.

Original paper, page 5