Process · Operating System
11 questions · asked in 9 of 27 years (2000–2026)
MCQ 8 · MSQ 2 · NAT 11-mark 10 · 2-mark 1
Questions 6–10 of 11
Now consider the following statements:
I. If a process makes a transition D, it would result in another process making transition A immediately.
II. A process P2 in blocked state can make transition E while another process P1 is in running state.
III. The OS uses preemptive scheduling.
IV. The OS uses non-preemptive scheduling.
Which of the above statements are TRUE?
Answer: (C)
- I is false. When a process makes D, it leaves the CPU. A ready process (there is always one) then makes transition B, not A. A is the arrival of a new process, which does not depend on D.
- II is true. A blocked process moves to Ready by E when its event completes. This can happen while another process is running.
- III is true. Transition C takes a running process back to Ready without it finishing or blocking, so the OS can preempt a process. That is preemptive scheduling.
- IV is false, since III is true.
So II and III are true.
Answer: (C)
Answer: (B)
(A) can be true: when a process blocks, the CPU goes to another ready process, which is how multiprogramming works.
(B) must be false, because preemption needs a Running Ready transition.
(C) is true for the same reason.
(D) can be true or false: the diagram does not say how many users there are, and several processes do not mean several users.
Answer: (B)
Answer: (B)
- (A) Temporary html pages are ordinary files, not swap.
- (C) The super-block is file system data kept in the file system itself.
- (D) Device drivers are kept as normal files or in the kernel.
Answer: (B)
Answer: (D)
The scheduler is not an interrupt source. It is a part of the OS that runs after the running process has already left the CPU (by a timer interrupt, an I/O request or exit), and it then picks the next process.
Answer: (D)
Answer: (B)
Option (B) is correct.
Swap space is a part of the hard disk. It is part of the Virtual Memory of the machine. Virtual Memory is made of the usable physical memory (RAM) and the swap space. Swap space holds memory pages that are inactive, for a short time. The system uses swap space when active processes need physical memory and there is not enough free physical memory. If the system needs more memory, inactive pages in physical memory are moved to the swap space. This frees that physical memory for other uses. Swap is slower to access, so do not treat it as a full replacement for physical memory. Swap space can be a dedicated swap partition (recommended), a swap file, or both together.
Keep practising