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

When a thread blocks on i/o?

0 Answers  


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

1 Answers  


Is “abc” a primitive value?

0 Answers  


Do I have to use jsps with my application?

0 Answers  


What is the relationship between an event-listener interface and an event-adapter class?

0 Answers  


what is a non-repeatable read?

0 Answers  


What is clustering? What are the different algorithms used for clustering?

0 Answers  


hi, All are saying that now software field position is not good and in 5-10yrs total software field ll be saturated . is it true? i am unable decide ii continue in this field or not please tell me?

19 Answers  


Why is main purpose of XML?

5 Answers  


Is the ternary operator written x : y ? Z or x ? Y : z ?

0 Answers  


What is synchronization and why is it important?

0 Answers  


What is the name of the state, when a thread is executing?

4 Answers  


Categories