On which events is the CPU scheduler invoked for a kernel with cooperative scheduling ? Group of answer choices when an I/O interrupt occurs and the running process switches from the running state to the ready state when a process calls exit() when a process makes a read system call to read from a file when the time slice of a process expires
Added by Carol B.
Step 1
Let's think step by step. Show more…
Show all steps
Your feedback will help us improve your experience
James Kiss and 98 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Select the correct alternative from the given choices. Select the correct sequence of steps taken by the processor when an interrupt occurs (i) Switch from user mode to kernel mode. (ii) Set the program counter to the first instruction of the interrupt handling routine. (iii) Save the current context. $(\mathrm{A})$ (i), (ii), (iii) (B) (i), (iii), (ii) (C) (iii), (ii), (i) (D) (ii), (i), (iii)
OPERATING SYSTEM
PROCESSES AND THREADS
Select the correct alternative from the given choices. What will be the response of the CPU, on receiving an interrupt from an input/output device? (A) It hands over the control of address bus and data bus to the interrupting device. (B) It branches off to the interrupt service routine after completion of the current instruction. (C) It halts for a predetermined time. (D) It branches off to the interrupt service routine immediately.
Computer Organization and Architecture
Memory Interface, I/O Interface
Aparna S.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD