Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
92 views
in General by (238k points)
closed by
Which of the following is a type of pre-emptive job scheduling done by the operating systems?
1. Shortest job next
2. Response ratio
3. Deadline
4. First come first serve

1 Answer

0 votes
by (240k points)
selected by
 
Best answer
Correct Answer - Option 2 : Response ratio

Explanation:

Depending upon how the process is executed (i.e whether the CPU is provided to a process completely or provided in cycles with breaks in between i.e the process is in the waiting or suspended state after a certain period of time).

scheduling is divided into two types:

  • Non-Preemptive Scheduling
  • Preemptive Scheduling

Preemptive Scheduling:

  • Preemptive scheduling allows a higher priority process to replace a currently running process, even its time slot is not completed or it has not requested any input/output. 
  • This requires context switching more frequently, thus reducing the throughput, but it is better suited for online, real-time processing where interactive users and high priority processes require immediate attention.
  • The operating system uses Response ratio Preemptive job scheduling.

Non-Preemptive Scheduling:

  • In this method, once the CPU is assigned to a process, the processor does not release it until the completion of that process.
  • It means that a running process has control of the CPU and other allocated resources until the normal termination of that process.
  • This means that even if a higher priority process enters the system, the running process can not be forced to give up control.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...