Defence Exam  >  Defence Questions  >  Which of the following may be an example of p... Start Learning for Free
Which of the following may be an example of pre-emptive CPU scheduling?
  • a)
    Switching from running to ready state
  • b)
    Switching from running to waiting state due to an interrupt
  • c)
    Termination of a process
  • d)
    Unexpected abort () of a process
Correct answer is option 'A'. Can you explain this answer?
Verified Answer
Which of the following may be an example of pre-emptive CPU scheduling...
CPU-scheduling decisions may take place under the following four circumstances:
1. When a process switches from the running state to the waiting state.
2. When a process switches from the running state to the ready state.
3. When a process switches from the waiting state to the ready state.
4. When a process terminates. If no process is ready, a system-supplied idle process is normally run.
  • For situations 1 and 4, there is no choice in terms of scheduling. A new process (if one exists in the ready queue) must be selected for execution.
  • There is a choice, however, for situations 2 and 3. When scheduling takes place only under circumstances 1 and 4, we say that the scheduling scheme is nonpreemptive or cooperative; otherwise, it is pre-emptive.
View all questions of this test
Most Upvoted Answer
Which of the following may be an example of pre-emptive CPU scheduling...
CPU-scheduling decisions may take place under the following four circumstances:
1. When a process switches from the running state to the waiting state.
2. When a process switches from the running state to the ready state.
3. When a process switches from the waiting state to the ready state.
4. When a process terminates. If no process is ready, a system-supplied idle process is normally run.
  • For situations 1 and 4, there is no choice in terms of scheduling. A new process (if one exists in the ready queue) must be selected for execution.
  • There is a choice, however, for situations 2 and 3. When scheduling takes place only under circumstances 1 and 4, we say that the scheduling scheme is nonpreemptive or cooperative; otherwise, it is pre-emptive.
Explore Courses for Defence exam
Which of the following may be an example of pre-emptive CPU scheduling?a)Switching from running to ready stateb)Switching from running to waiting state due to an interruptc)Termination of a processd)Unexpected abort () of a processCorrect answer is option 'A'. Can you explain this answer?
Question Description
Which of the following may be an example of pre-emptive CPU scheduling?a)Switching from running to ready stateb)Switching from running to waiting state due to an interruptc)Termination of a processd)Unexpected abort () of a processCorrect answer is option 'A'. Can you explain this answer? for Defence 2024 is part of Defence preparation. The Question and answers have been prepared according to the Defence exam syllabus. Information about Which of the following may be an example of pre-emptive CPU scheduling?a)Switching from running to ready stateb)Switching from running to waiting state due to an interruptc)Termination of a processd)Unexpected abort () of a processCorrect answer is option 'A'. Can you explain this answer? covers all topics & solutions for Defence 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Which of the following may be an example of pre-emptive CPU scheduling?a)Switching from running to ready stateb)Switching from running to waiting state due to an interruptc)Termination of a processd)Unexpected abort () of a processCorrect answer is option 'A'. Can you explain this answer?.
Solutions for Which of the following may be an example of pre-emptive CPU scheduling?a)Switching from running to ready stateb)Switching from running to waiting state due to an interruptc)Termination of a processd)Unexpected abort () of a processCorrect answer is option 'A'. Can you explain this answer? in English & in Hindi are available as part of our courses for Defence. Download more important topics, notes, lectures and mock test series for Defence Exam by signing up for free.
Here you can find the meaning of Which of the following may be an example of pre-emptive CPU scheduling?a)Switching from running to ready stateb)Switching from running to waiting state due to an interruptc)Termination of a processd)Unexpected abort () of a processCorrect answer is option 'A'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Which of the following may be an example of pre-emptive CPU scheduling?a)Switching from running to ready stateb)Switching from running to waiting state due to an interruptc)Termination of a processd)Unexpected abort () of a processCorrect answer is option 'A'. Can you explain this answer?, a detailed solution for Which of the following may be an example of pre-emptive CPU scheduling?a)Switching from running to ready stateb)Switching from running to waiting state due to an interruptc)Termination of a processd)Unexpected abort () of a processCorrect answer is option 'A'. Can you explain this answer? has been provided alongside types of Which of the following may be an example of pre-emptive CPU scheduling?a)Switching from running to ready stateb)Switching from running to waiting state due to an interruptc)Termination of a processd)Unexpected abort () of a processCorrect answer is option 'A'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Which of the following may be an example of pre-emptive CPU scheduling?a)Switching from running to ready stateb)Switching from running to waiting state due to an interruptc)Termination of a processd)Unexpected abort () of a processCorrect answer is option 'A'. Can you explain this answer? tests, examples and also practice Defence tests.
Explore Courses for Defence exam
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev