Want this question answered?
as
_ A process is waiting for an event to occur and it does so by executing instructions. _ A process is waiting for an event to occur in some waiting queue (e.g., I/O, semaphore) and it does so without having the CPU assigned to it. _ Busy waiting cannot be avoided altogether.
The repeated execution of a loop of code while waiting for an event to occur is called busy-waiting. The CPU is not engaged in any real productive activity during this period, and the process does not progress toward completion.
In computing, if a processor is running and doing a number of activities, those activities are known as its states. As a processor executes, its state changes. There are number of states like New state i.e. creation of new process, Running state i.e. execution of instructions, Waiting state i.e. its a state where processor is waiting for some activity to occur, Ready state i.e. in this a particular process has acquired the resources and is waiting to be assigned to a processor, Terminated state i.e. the execution of a process has completed.
It is possible to have an event that causes more than one hazardous process to occur. An example is the landslide in Myanmar. Because of the heavy rains, a flood and landslide can both occur. Another example can be seen in the game Sim City. If there is an earthquake in the town, the earthquake can cause fires by the power lines.
Basically,this is a need in case of multiprogramming.For optimum utilization of CPU it should be utilised in the meanwhile time when some process is in waiting state for some I/O or waiting for some event to occur. So,for this many programs should be in memory in waiting state so that CPU can be allocated to some other process for optimum utilization of CPU. A schedule(time table in broad sense) which will decide Cpu will be allocated to which process when some previous process is in waiting state. Now this schedule is designed according to some criteria(algorithm) to decide CPU will be allocated to which process. Some Algorithms: 1.First Come First Serve(FCFS) 2.Shortest Job Scheduling(SJS) 3.RoundRobin Scheduling(RRS)
The chance that a given event will occur usually expressed between the number 0 will not and 1 the event will occur
Probability is the mathematical chance that an event will occur.
The probability that an event will occur plus the probability that it will not occur equals 1.
Probability of success is a mathematical chance that an event will occur.
The chance that a given event will occur, usually expressed between the number 0 (will not occur) and 1 (will occur) is called probability.
How likely it is for an event to occur.