Podcast
Questions and Answers
When does a process switch from the running state to the waiting state in CPU-scheduling?
When does a process switch from the running state to the waiting state in CPU-scheduling?
- When it is completed I/O operation (correct)
- When CPU is assigned to another process
- When an interrupt occurs
- When it terminates
What is the characteristic of preemptive scheduling for situations 1 and 4?
What is the characteristic of preemptive scheduling for situations 1 and 4?
- Random selection process
- No choice in scheduling (correct)
- User-defined selection process
- Multiple choices available
In preemptive scheduling, what happens when a process switches from running state to ready state due to an interrupt?
In preemptive scheduling, what happens when a process switches from running state to ready state due to an interrupt?
- It terminates
- It goes back to the waiting state
- It loses control of the CPU (correct)
- It continues running without interruption
What type of scheduling involves a situation where the current process loses control of the CPU when an interrupt occurs?
What type of scheduling involves a situation where the current process loses control of the CPU when an interrupt occurs?
What is the primary decision involved in preemptive scheduling when a process switches from running state to ready state due to an interrupt?
What is the primary decision involved in preemptive scheduling when a process switches from running state to ready state due to an interrupt?
Which type of scheduling provides choices for situations where a process switches from waiting state to ready state?
Which type of scheduling provides choices for situations where a process switches from waiting state to ready state?
In a non-preemptive scheduling scheme, when a process switches from the waiting state to the ready state (e.g., after completing an I/O operation), which process gets control of the CPU?
In a non-preemptive scheduling scheme, when a process switches from the waiting state to the ready state (e.g., after completing an I/O operation), which process gets control of the CPU?
What is the primary function of the dispatcher in an operating system?
What is the primary function of the dispatcher in an operating system?
In a preemptive scheduling scheme, which of the following situations can trigger a process switch?
In a preemptive scheduling scheme, which of the following situations can trigger a process switch?
Which of the following scheduling criteria is primarily concerned with the overall system performance and resource utilization?
Which of the following scheduling criteria is primarily concerned with the overall system performance and resource utilization?
In a heavily used system, what is the recommended range for CPU utilization according to the given information?
In a heavily used system, what is the recommended range for CPU utilization according to the given information?
Which of the following statements best describes the relationship between the scheduler and the dispatcher in an operating system?
Which of the following statements best describes the relationship between the scheduler and the dispatcher in an operating system?
Which of the following statements about the dispatcher is correct?
Which of the following statements about the dispatcher is correct?
What is the primary role of the short-term (CPU) scheduler?
What is the primary role of the short-term (CPU) scheduler?
Which of the following statements best describes preemptive scheduling?
Which of the following statements best describes preemptive scheduling?
What is the primary responsibility of the medium-term scheduler?
What is the primary responsibility of the medium-term scheduler?
What is the purpose of the dispatch latency?
What is the purpose of the dispatch latency?
Which of the following statements accurately describes the relationship between the scheduler and the dispatcher?
Which of the following statements accurately describes the relationship between the scheduler and the dispatcher?
Flashcards are hidden until you start studying