educative.io

Educative

Q5 - seems to be an incorrect answer?


Isn’t non-cooperative approach a timer set by OS, which interrupts if process runs too long and did not return control to OS yet?

Option D depends on how long the process is taking to run and can be both cooperative and non-cooperative. However, an infinite loop always needs a non-cooperative approach to return control to the CPU.