answersLogoWhite

0

muje pta hota tho ish site par kya karti

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is the Limitations of implementing non-preemptive SJF algorithm?

i like moldy chess. cheese....shests


Can starvation occurs in SJF?

yes in the preemptive sjf where every time the system recieve job shorter than the current it stop the current and start the new one


Can you give a C program about SJF algorithm?

no.


Example of preemptive sjf scheduling?

find primitive sjf? with avg waiting time and TAW? P Bust TIme Arivel time p1 5 1 p2 3 0 p3 2 2 p4 4 3 p5 8 2


University solved slips for third year bsc computer science?

The university solved slips for third year Bsc Computer Science are usually issued after the students satisfy the conditions set out by the examination body. The students also have to meet the conditions set out by the senate.


What is difference between SJF and SRTF?

Shortest Job First (SJF) scheduling algorithm selects the process with the smallest burst time for execution next, which helps in reducing average waiting time. Shortest Remaining Time First (SRTF), on the other hand, preempts the currently running process if a new process with a smaller burst time arrives, resulting in even lower waiting times but with increased context switching.


What do you mean by non-preemptive shortest job first scheduling explain with an example?

Non pre-emptive means once CPU starts executing one process, it will not be taken out of the CPU until it is terminated or it has to wait for some event. In preemptive SJF scheduling, current running process is moved to the ready queue when a new process with a shorter CPU burst joins the ready queue.


What is Short job first?

short job first (SJF) is a job scheduling algorithm where shorter jobs are favored for being serviced first. this increases the overall system's number of processed jobs but has the disadvantage that long jobs can face starvation in waiting state irrespective to their wait time..


What is advantages and disadvantages of shortest job first?

Shortest Job First (SJF) scheduling prioritizes processes with the smallest execution time, leading to faster turnaround times for short jobs and improved overall system efficiency. However, it can lead to the "starvation" of longer jobs, as they may be perpetually preempted by shorter tasks. Additionally, accurately predicting job lengths can be challenging, potentially complicating the scheduling process. Overall, while SJF can optimize performance in some scenarios, it may not be suitable for all workloads.


What is the code for shortest job first?

It is SJF.


What is the difference between pre emptive and non preemptive scheduling?

in pre emptive scheduling. a limited time period is fixed for every process in the CPU. no matter whether the process is completed or not ... the resource assinged to it will be taken back back abd will be given to the next process in the queue.while in non preemptive the resorces are with a process untill it finishes completely others wait for their turn till then. this kind of scheduling has a high probability of going into a deadlock.


Could a scheduling algorithm maximizing a throughput?

Yes, a scheduling algorithm can be designed to maximize throughput, which refers to the number of tasks completed in a given time period. Such algorithms prioritize task execution based on factors like resource availability, task priority, and execution time, aiming to minimize idle time and maximize resource utilization. Examples include Shortest Job First (SJF) and Round Robin scheduling. However, achieving maximum throughput may require trade-offs, such as increased waiting times for some tasks.