Which of the following statement(s) is/are correct regarding short term and…

Which of the following statement(s) is/are correct regarding short term and long term scheduling?

Answer: A. Short-term selects from jobs in memory those jobs that are ready to execute and allocates the CPU to them.; B. Long-term determines which jobs are brought into memory for processing.Correct statements: Short-term selects from jobs in memory those jobs that are ready to execute and allocates the CPU to them. Long-term determines which jobs…

  1. A.

    Short-term selects from jobs in memory those jobs that are ready to execute and allocates the CPU to them.

  2. B.

    Long-term determines which jobs are brought into memory for processing.

  3. C.

    Short-term determines which jobs are brought into memory for processing.

  4. D.

    Long-term selects from jobs in memory those jobs that are ready to execute and allocates the CPU to them.

Attempted by 157 students.

Show answer & explanation

Correct answer: A, B

Correct statements: Short-term selects from jobs in memory those jobs that are ready to execute and allocates the CPU to them. Long-term determines which jobs are brought into memory for processing.

  • Short-term (CPU) scheduler: selects a process from the ready queue (processes already in memory) and allocates the CPU. It runs frequently and handles context switching and CPU allocation decisions.

  • Long-term (job) scheduler: decides which jobs are admitted into the system (brought into memory) and thus controls the degree of multiprogramming. It runs less often than the short-term scheduler.

Incorrect statements: Short-term determines which jobs are brought into memory for processing. Long-term selects from jobs in memory those jobs that are ready to execute and allocates the CPU to them.

  • Why the first incorrect statement is wrong: Bringing jobs into memory is admission control handled by the long-term scheduler, not the short-term scheduler.

  • Why the second incorrect statement is wrong: Allocating the CPU to ready jobs is the role of the short-term scheduler; the long-term scheduler does not perform CPU allocation.

Explore the full course: Operating System

Loading lesson…