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

For which statements does it make sense to use a label?

0 Answers  


What are local interfaces? Describe.

0 Answers  


What is the diffrence between a local-tx-datasource and a xa-datasource?

0 Answers  


What is bean? Where can it be used?

0 Answers  


What is the difference between a static and a non-static inner class?

0 Answers  


What is private static final long serialVersionUID = 1L;

3 Answers   Google,


What is the applet sandbox?

1 Answers  


How is serialization used generally ?

3 Answers  


how the mapping can be done from jsp to actionservlet?

2 Answers   SolutionNET,


Do we need to override service() method

0 Answers  


How many JSP scripting elements and what are they?

4 Answers   TCS,


What are the disadvantages of using threads?

3 Answers   Oracle, SFS,


Categories