Question

What is the other name for Shortest Job First Preemptive Algorithm? What are the 5 different...

  1. What is the other name for Shortest Job First Preemptive Algorithm?

  2. What are the 5 different states a process can be in scheduling (Look into process state

    diagram)?

  3. Shortest Job First is like Priority Scheduling with the priority based on ______ of the

    process?

  4. ________ effect is the primary disadvantage of First Come First Serve Scheduling

    algorithm.

  5. How does Multi Level Feedback queue prevent starvation of processes that waits too

    long in lower priority queue?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1. Other name of Shortest Job First Preemptive Algorithm is Shortest Remaining Time First (SRTF).

2. Five different states in which process can be in scheduling :

  • Created :- When a process is created.
  • Ready :- When process is ready to run and it is loaded in main memory.
  • Running :- Process is running and its instructions are being executed.
  • Blocked :- Process is blocked due I/O wait or lack or memory.
  • Terminated :- Either process is complete or killed using its PID.

3. Shortest Job First is like Priority Scheduling with the priority based on CPU Burst Time of the process.

4. Convoy effect is the primary disadvantage of First Come First Serve Scheduling algorithm.

5. To avoid starvation of process in Multi Level Feedback queue(MLFQ),we update the priorities of processes dynamically so that they don't have to wait for long time due to large processes .

     The following rule is used to update the priority of processes :

  • When a process enters the system, it is placed in the highest priority queue.
  • If priority of P1 process is equal to P2 process then both are run using round robin algorithm and have same time slice.
  • If a process is using entire time-slice while running,its priority is reduced.
  • If a process gives up the CPU before the time slice expires, it remains at the same priority level.

_________________________________________

Please comment in case you have any doubt.

Add a comment
Know the answer?
Add Answer to:
What is the other name for Shortest Job First Preemptive Algorithm? What are the 5 different...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • operation system please i need the answer now VULTUR Using FCFS (First-Come First-Served) scheduling algorithm, find...

    operation system please i need the answer now VULTUR Using FCFS (First-Come First-Served) scheduling algorithm, find the Average waiting time for the below processes Process Arrival time Service Time P2 P3 P4 TTT Anal 3(12pt) T- Pathp Can there be starvation in first come first serve based scheduling algorithm? Explain. TTT Arial v 3 (12pt) T. 5. 5. Path:p 18 How does Processor scheduling help us in achieving high throughput? Name the three types of Processor scheduling? TT T Arial...

  • The following processes P1, P2, P3, P4 and P5 arrive at the same time (t =...

    The following processes P1, P2, P3, P4 and P5 arrive at the same time (t = 0). Establish a timeline of the process scheduling for the following scheduling algorithms while also identifying start times for each process. FCFS (first come, first serve; assume order of P1, P2, P3, P4 and P5) SJF (shortest job first) Priority iv Round Robin (quantum = 1, assume order of P1, P2, P3, P4 and P5) Determine the average waiting time for each algorithm.

  • Given a system using the shortest-job-first algorithm for short-term scheduling and exponential a...

    Given a system using the shortest-job-first algorithm for short-term scheduling and exponential averaging with α=0.5, what would be the next expected burst time for a process with burst times of 5, 8, 3, and 5, and an initial value for e1 of 10?

  • Given the following set of processes with corresponding execution times (in ms), arrival times and priority...

    Given the following set of processes with corresponding execution times (in ms), arrival times and priority (1 – highest).  For each scheduling algorithm: Construct a table showing which process is active and for how long until all processes are completely serviced (as done in class). Calculate the average waiting time and turnaround time. Process ID Burst (ms) Arrival time P1 9 0 P2 12 0 P3 3 0 P4 30 0 P5 20 0 P6 10 0 First Come First Serve...

  • Design Principles Canvas Ā 8 pts Question 35 Five batch jobs, A, B, C, D, and...

    Design Principles Canvas Ā 8 pts Question 35 Five batch jobs, A, B, C, D, and E, arrive at a computer system at time 0, 1, 2, 3, 4, respectively. And they have service time of 7.1. 3,5, and 4, respectively. The new jobs arrive a little ahead of the expiration of time slices. For each of the following scheduling algorithms, determine the turnaround time for each process for all jobs. Ignore process switching overhead. • Round robin with a...

  • Implement the following 3 CPU scheduling algorithms Simulate and evaluate each with the set of eight...

    Implement the following 3 CPU scheduling algorithms Simulate and evaluate each with the set of eight processes below. Use any programming language. The program listing should be submitted with the report. FCFS (First Come First Serve) non-preemptive (partial results provided) SJF non-preemptive MLFQ Multilevel Feedback Queue (absolute priority in higher queues)             Queue 1 uses RR scheduling with Tq = 5             Queue 2 uses RR scheduling with Tq = 10             Queue 3 uses FCFS All processes enter first...

  • Assume that you have four different processes with the following attributes: Process   Arrival time.   CPU Burst....

    Assume that you have four different processes with the following attributes: Process   Arrival time.   CPU Burst.   I/O Burst Total CPU time A. 0 4 4 9 B 3 2 3 7 C 6 5 1 11 D 12 1 1 5 As we did in class, perform a scheduling simulation using these four processes according to the following algorithms: 1) First Come First Serve 2) Round Robin with time slice = 1 3) Round Robin with time slice = 3...

  • Answer the following question: A Multi Level Feedback (MLF) algorithm uses 5 priority levels. All levels...

    Answer the following question: A Multi Level Feedback (MLF) algorithm uses 5 priority levels. All levels are using Round Robin (RR) Scheduling algorithm with Quantum: 1 ms, 2 ms, 4 ms, 8 ms, 16 ms respectively. Processes start at highest priority (Q=1) and is down graded to the lower priority if it didn't finish within 1 quantum. The following processes are to be scheduled: Arrival Io Wait 0 3 Process P1 P2 P3 CPU Burst 2 4 15 4 1...

  • Operating Siytem Concepts Homework No. 1 Variant No. 1 Student Cristian Anchei Paraschine (academic group, name,...

    Operating Siytem Concepts Homework No. 1 Variant No. 1 Student Cristian Anchei Paraschine (academic group, name, surname) I got the task.... (date, signature) Homework Submission Date: November 6th, 2019 Assignment: Consider the following set of processes, with the length of the CPU burst time given in milliseconds!: Process CPU burst time, ms Arrival time, ms Priority P 2 2 2 7 Ps 3 3 Draw a Gantt chart that illustrates process scheduling for these algorithms: a) First Come - First...

  • This assignment requires you to create simulations for different scheduling algorithms commonly employed by operating systems...

    This assignment requires you to create simulations for different scheduling algorithms commonly employed by operating systems to achieve multiprogramming. All problems in this assignment assume the following: The simulations you will be creating are for a uniprocessor system (single CPU). Processes in these simulations will require CPU bursts of one or more time units followed by I/O bursts of one or more time units. For simplicity’s sake, when more than one process is executing its I/O burst at the same...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT