adspace


Difference between Preemptive scheduling vs. Time slicing?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between break and continue statements?

1134


How to sort array in descending order in java?

1004


Is minecraft 1.15 out?

1055


explain different ways of using thread? : Java thread

1091


Differentiate between static and non-static methods in java.

1134


Realized?

2277


What do you mean by an interface in java?

1109


What is an object in java and how is it created?

1152


What is parsing in java?

1051


What is a classloader in java?

1100


How to create a base64 decoder in java8?

1151


What is a constructor overloading in java?

1135


Write a program to find the whether a number is an Armstrong number or not?

1110


Explain public static void main(string args[]) in java.

1088


What are the differences between heap and stack memory in java?

1151