Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are preemptive scheduling and time slicing and what is
the difference between them?



What are preemptive scheduling and time slicing and what is the difference between them?..

Answer / prashanth001

Preemptive Scheduling is where one thread continues to
execute till such time its execution has completed or until
a thread of a higher priority comes into existence or the
priority of one of the waiting threads is increased.

Time Slicing is where each thread that is waiting to
execute will share the CPU time equally. One thread will
exeucte for n seconds or milliseconds, then go to the
waiting state again. the CPU scheduler will then determine
which of the other waiting threads will execute next.

Is This Answer Correct ?    11 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

What exceptions are thrown by RMI?

1 Answers  


difference between applicationserver and webserver

2 Answers   SolutionNET,


What is MOM?

1 Answers   Wipro,


What is waiting state? In what ways a thread can enter into waiting state?

2 Answers   Wipro,


What is the use of Semaphore?

3 Answers  


What is colon_pkg_prefixes and what is its use?

0 Answers  


When you will synchronize your code?

2 Answers  


Can a thread be a member of another thread?

2 Answers  


What is the difference between the session.get() method and the session.load() method?

0 Answers  


What are the different algorithms used for clustering?

0 Answers  


Do I have to use jsps with my application?

0 Answers  


What are the different class loaders used by jvm?

0 Answers  


Categories