Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A job J consists of three tasks A , B and C . All three tasks are CPU bound. Job J completes when its last

A job J consists of three tasks A, B and C. All three tasks are CPU bound. Job J completes when its last task completes its execution.
Task A arrives at t=0s, B arrives at t=19s and C arrives at t=25s. The service time (aka CPU time) for A is 20s, for B 10s, and for C 10s.The CPU is available at t=0s and there are no other task (or jobs) other than the ones introduced in the system.
A multitasking system is utilized with a Quantum of 5s starting at t=0s; context switch time is 0s. First quantum [0s,5s] is immediately assigned to task A to assist you.
(a) What is the turnaround time Tr(A)?
(b) What is the turnaround time Tr(B)?
(c) What is the turnaround time Tr(C)?
(d) What is the response time R(B) for B ?
(e) What is the respnse time R(C) for C?
(f) What is the cpu utilization for J ?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Evaluate three pros and three cons of e-prescribing

Answered: 1 week ago

Question

Why is the System Build Process an iterative process?

Answered: 1 week ago