Difference between Preemptive scheduling vs. Time slicing?



Difference between Preemptive scheduling vs. Time slicing?..

Answer / Pravindra Kumar Chaturvedi

Preemptive scheduling allows the OS to interrupt a running process and switch to another one before its time slice is up. It's proactive in nature and improves system responsiveness. Time slicing, on the other hand, gives each process a fixed amount of CPU time before it gets interrupted whether or not it has finished executing. It's reactive and can lead to starvation if not managed properly.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

why java is not supporting multiple inheritence?

3 Answers  


Can an unreferenced object be referenced again?

1 Answers  


Can we convert stringbuilder to string in java?

1 Answers  


What do you mean by data type?

1 Answers  


How can be define MARKER interfce in java

1 Answers  


Is a char always 1 byte?

1 Answers  


explain the concept of virtual method invocation in polymorphism in detail?

1 Answers   TCS,


What is assembly condition codes?

1 Answers  


What is the difference between compiler and jvm?

1 Answers  


Why java doesn’t support multiple inheritances?

1 Answers  


What is entry set in java?

1 Answers  


How variables are declared?

1 Answers  


Categories