Nonpreemptive vs Preemptive Scheduling in Operating Systems
8 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is responsible for selecting processes from scheduling queues for execution?

  • Job scheduler
  • CPU scheduler
  • Device queue
  • Short-term scheduler (correct)

Which scheduler must select a new process for the CPU frequently?

  • Device queue
  • Long-term scheduler
  • Short-term scheduler (correct)
  • Job scheduler

What is the primary distinction between the long-term and short-term schedulers?

  • Disk allocation
  • Process creation
  • Frequency of execution (correct)
  • Device queue management

Where are processes kept for later execution in a batch system?

<p>Mass-storage device (C)</p> Signup and view all the answers

Which type of scheduler can afford to take more time to decide which process should be selected for execution?

<p>Long-term scheduler (B)</p> Signup and view all the answers

What is the role of the long-term scheduler in the process hierarchy?

<p>Loading processes into memory for execution (D)</p> Signup and view all the answers

How frequently does the short-term scheduler typically execute in a batch system?

<p>At least once every 100 milliseconds (C)</p> Signup and view all the answers

What is the distinguishing factor between I/O bound and CPU bound processes?

<p>Resource usage pattern (A)</p> Signup and view all the answers

More Like This

Use Quizgecko on...
Browser
Browser