The arrival time of the process PI, P2, and P3 and their CPU-Burst time (unit time) are shown in the following table. Answer the following questions: Proces CPU-Burst Time Arrival Time PI 20 P2 P3 When using FIFO scheduling algorithm, (1) The turmaround time of PI is: (b) (2) The turnaround time of P2 is: (b) (3) The turnaround time of P3 is: (b) 23 (4) The average tumaround time is: 23 (a) 20 23 (e) 24 (d) 22.3 (a) 20 23 (e) 24 (d) 22.3 (a) 20 (e) 24 (d) 22.3 (a) 20 (b) (e) 24 (d) 22.3

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
The arrival time of the process PI, P2, and P3 and their CPU-Burst time (unit time) are shown in
the following table. Answer the following questions:
CPU-Burst Time
Process
Arrival Time
PI
20
P2
P3
3.
When using FIFO scheduling algorithm,
(1) The turmaround time of Pl is:
(a) 20
(b)
23
(c)
24
(d)
22.3
(2) The turnaround time of P2 is:
(b)
(3) The turnaround time of P3 is:
(b)
(4) The average turnaround time is:
(b) 23
(a) 20
23
(c)
24
(d)
22.3
(a)
20
23
(c)
24
(d)
22.3
(a) 20
(c)
24
(d)
22.3
When using SJF scheduling algorithm,
(5) The turnaround time of PI is:
20
(a)
(b)
22
(c)
26
(d)
22.3
(6) The turnaround time of P2 is:
(a) 20
(7) The turmaround time of P3 is:
(b)
22
(c)
26
(d)
22.3
(b)
(8) The average turnaround time is:
(b)
(a)
20
22
(c)
26
(d)
22.3
(a) 20
22
(c)
26
(d)
22.3
When using SRF scheduling algorithm,
The turnaround time of P1 is:
(b) 5
(10) The turnaround time of P2 is:
(b) 5
(11) The turnaround time of P3 is:
(b) 5
(12) The average turnaround time is:
(b) 5
(9)
(a) 4
(c)
12
(d)
27
(a) 4
(c)
12
(d) 27
(a) 4
(c)
12
(d)
27
(a)
4
(c)
12
(d)
27
Transcribed Image Text:The arrival time of the process PI, P2, and P3 and their CPU-Burst time (unit time) are shown in the following table. Answer the following questions: CPU-Burst Time Process Arrival Time PI 20 P2 P3 3. When using FIFO scheduling algorithm, (1) The turmaround time of Pl is: (a) 20 (b) 23 (c) 24 (d) 22.3 (2) The turnaround time of P2 is: (b) (3) The turnaround time of P3 is: (b) (4) The average turnaround time is: (b) 23 (a) 20 23 (c) 24 (d) 22.3 (a) 20 23 (c) 24 (d) 22.3 (a) 20 (c) 24 (d) 22.3 When using SJF scheduling algorithm, (5) The turnaround time of PI is: 20 (a) (b) 22 (c) 26 (d) 22.3 (6) The turnaround time of P2 is: (a) 20 (7) The turmaround time of P3 is: (b) 22 (c) 26 (d) 22.3 (b) (8) The average turnaround time is: (b) (a) 20 22 (c) 26 (d) 22.3 (a) 20 22 (c) 26 (d) 22.3 When using SRF scheduling algorithm, The turnaround time of P1 is: (b) 5 (10) The turnaround time of P2 is: (b) 5 (11) The turnaround time of P3 is: (b) 5 (12) The average turnaround time is: (b) 5 (9) (a) 4 (c) 12 (d) 27 (a) 4 (c) 12 (d) 27 (a) 4 (c) 12 (d) 27 (a) 4 (c) 12 (d) 27
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Parallel Processing
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education