Which of the following is a scheduling algorithm that allows a process to run until it blocks or is preempted by a higher priority process? MCQ with Answer and Explanation

Which of the following is a scheduling algorithm that allows a process to run until it blocks or is preempted by a higher priority process?
A. Preemptive priority scheduling
B. Non-preemptive priority scheduling
C. Round Robin
D. Multilevel feedback queue
Answer: Option B
Solution (By JKSSB Mock Tests)
Non-preemptive priority scheduling allows a process to keep the CPU until it finishes or voluntarily yields, unless a higher priority process arrives (which would preempt in preemptive scheduling).

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
Which Linux command is used to kill a process by its name?
A. killall
B. kill
C. term
D. pkill

Correct Answer: Option D


Explanation:
pkill kills processes based on name or other attributes; killall is similar but may behave differently; kill uses PID.

This question belongs to: Computer Operating Systems
Question #2
Which of the following is a characteristic of a real-time operating system?
A. Preemptive multitasking
B. Deterministic response times
C. High throughput
D. Large storage support

Correct Answer: Option B


Explanation:
RTOS guarantees that critical tasks are executed within a specified time constraint (deterministic), essential for embedded systems.

This question belongs to: Computer Operating Systems
Question #3
In Linux, the 'dd' command is used for:
A. Duplicating files
B. Deleting directories
C. Copying and converting data at a low level
D. Displaying disk usage

Correct Answer: Option C


Explanation:
dd is a powerful utility for block-level copying, creating disk images, and data conversion.

This question belongs to: Computer Operating Systems