In our bag, 1/2 is peanuts, 1/4 is chocolate and 1/4 is dried fruit.
The likelihood of drawing a chocolate therefore is 1/4.
The likelihood of drawing a peanut is 1/2 and the likelihood of drawing a dried fruit is 1/4.
Thus, D is the correct answer because the 1/4 likelihood of drawing a chocolate is less than the 1/2 chance of drawing a peanut.
A web application starts when a client sends a request to a server
What is that I never heard of that before
Answer:
The answer is A
Explanation:
Basically, Shortest job first (SJF) is a scheduling policy that selects jobs on queue for execution within a short execution time.
From the definition of SJF above, it means that there are a lot of process on queue and the (SJF) job is to receive processes on queue to execute within a short execution time.
Therefore, if all the jobs or process arrives at the SJF at the same time, the SJF will forfeit one of its major purpose which is scheduling of jobs.
That will therefore not make Non-preemptive Shortest Job First (SJF) not function at its optimal point.