What are preemptive scheduling and time slicing and what is
the difference between them?
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 |
For which statements does it make sense to use a label?
What are local interfaces? Describe.
What is the diffrence between a local-tx-datasource and a xa-datasource?
What is bean? Where can it be used?
What is the difference between a static and a non-static inner class?
What is private static final long serialVersionUID = 1L;
What is the applet sandbox?
How is serialization used generally ?
how the mapping can be done from jsp to actionservlet?
Do we need to override service() method
How many JSP scripting elements and what are they?
What are the disadvantages of using threads?