What mechanism does an operating system use to simulate an environment where multiple processes run concurrently on a single CPU core by switching between them rapidly? MCQ with Answer and Explanation
What mechanism does an operating system use to simulate an environment where multiple processes run concurrently on a single CPU core by switching between them rapidly?
A. Direct Memory Mapping
B. Time-Slicing (via Context Switching)
C. Defragmentation Scaling
D. Asymmetric Multiprocessing
Answer: Option B
Solution (By JKSSB Mock Tests)
Time-slicing leverages rapid, scheduled context switching to give users the illusion of smooth, concurrent application execution on a single core.
Explanation:
The Shortest Job First (SJF) scheduling policy chooses the process with the smallest CPU burst requirement next, minimizing average wait times.
No comments yet. Be the first to start the discussion!