Which of the following is a feature of a preemptive multitasking system? MCQ with Answer and Explanation

Which of the following is a feature of a preemptive multitasking system?
A. Processes must voluntarily yield CPU
B. Only one process runs at a time
C. No process can be interrupted once started
D. The OS can interrupt a process to give CPU time to another
Answer: Option D
Solution (By JKSSB Mock Tests)
Preemptive multitasking allows the OS to forcibly preempt a running process to allocate CPU to another, ensuring responsiveness.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Operating Systems Questions

Question #1
Which mechanism ensures that only one process can execute inside a critical section of code at any given time?
A. Context Swapping
B. Mutual Exclusion
C. Spooling Routine
D. Paging Allocation

Correct Answer: Option B


Explanation:
Mutual Exclusion (Mutex) guarantees that if a process is executing inside its critical section, no other processes are permitted to enter that code path.

This question belongs to: Computer Operating Systems
Question #2
In Linux, the command 'rm -rf' is used to:
A. Read a file forcefully
B. Rename a file
C. Remove empty directories only
D. Forcefully remove directories and their contents recursively

Correct Answer: Option D


Explanation:
rm -rf (remove recursively and forcefully) deletes directories and files without confirmation, so it's dangerous.

This question belongs to: Computer Operating Systems
Question #3
Which utility in Android handles the composition of various display layers (windows, status bars, applications) onto a single framebuffer for rendering?
A. PackageManager
B. SurfaceFlinger
C. ActivityManager
D. Zygote

Correct Answer: Option B


Explanation:
SurfaceFlinger is the system-wide graphics compositor in Android that accepts surface buffers from multiple sources and combines them for the display.

This question belongs to: Computer Operating Systems