Question 2. Consider the following set of jobs to be scheduled for execution on a single CPU system. Arrival time burst time J1 123456 0 10 J2 2 8 J3 3 3 J4 10 4 J5 12 1 J6 15 4 Compute the turnaround time and total waiting time for each job using each of the following CPU schedulers: FCFS scheduling a. b. SJF scheduling b. C. Preemptive SJF scheduling MLFQ scheduling with three queues as follows: • Queue 1: 3 time slices • Queue 2: 6 time slices • Queue 3: FCFS (First-Come, First-Served)

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter11: Operating Systems
Section: Chapter Questions
Problem 8RQ
icon
Related questions
Question

SEE IMAGE this is for operating systems class


Consider the following set of jobs to be scheduled for execution on a single CPU system.
Arrival time burst time
J1 0 10
J2 2 8
J3 3 3
J4 10 4
J5 12 1
J6 15 4
Compute the turnaround time and total waiting time for each job using each of the following CPU
schedulers:
a. FCFS scheduling
b. SJF scheduling
b. Preemptive SJF scheduling
c. MLFQ scheduling with three queues as follows:
• Queue 1: 3 time slices
• Queue 2: 6 time slices
• Queue 3: FCFS (First-Come, First-Served

Question 2.
Consider the following set of jobs to be scheduled for execution on a single CPU system.
Arrival time
burst time
J1
123456
0
10
J2
2
8
J3
3
3
J4
10
4
J5
12
1
J6
15
4
Compute the turnaround time and total waiting time for each job using each of the following CPU
schedulers:
FCFS scheduling
a.
b.
SJF scheduling
b.
C.
Preemptive SJF scheduling
MLFQ scheduling with three queues as follows:
•
Queue 1: 3 time slices
•
Queue 2: 6 time slices
• Queue 3: FCFS (First-Come, First-Served)
Transcribed Image Text:Question 2. Consider the following set of jobs to be scheduled for execution on a single CPU system. Arrival time burst time J1 123456 0 10 J2 2 8 J3 3 3 J4 10 4 J5 12 1 J6 15 4 Compute the turnaround time and total waiting time for each job using each of the following CPU schedulers: FCFS scheduling a. b. SJF scheduling b. C. Preemptive SJF scheduling MLFQ scheduling with three queues as follows: • Queue 1: 3 time slices • Queue 2: 6 time slices • Queue 3: FCFS (First-Come, First-Served)
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781337097536
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
CompTIA Linux+ Guide to Linux Certification (Mind…
CompTIA Linux+ Guide to Linux Certification (Mind…
Computer Science
ISBN:
9781305107168
Author:
Jason Eckert
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage