Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a C Or C++ programBy saving the 30 arrival time and burst time to the program. not key in the value , but need

Write a C Or C++ programBy saving the 30 arrival time and burst time to the program. not key in the value, but need to save in program,so user can run the program without key in 30 values of jobs

the calculation of completion ,turnaround, waiting time should involve the arrival time and burst time.(arrival time and burst time should include in calculation for turnaround and waiting)

User need to key in the quantum number and get the answer for completion time waiting time and turnaround time.

The job number are constant 30 jobs.no need key in. this program only key in the quantum number to calculate the waiting and turnaround time since the arrival and burst time is saving in program already.

final answer should has average waiting time and turnaround time

the user can run the program with different quantum number without key-in the 30 values each time run program.(5,10,15,20,30,40)

please (i don't want answer from google please ) If u dont know the answer please dont answer it coz I will give dislike to your work.

the arrival time should include in calculation of waiting time please dont ignore .must use arrival time in calculation of WT @@@@@@read carefully.Dont copy others answer since I get many rubbish answer

arrival -----burst time

1-4

2-9

3-8

6-7

4-5

and so on add the jobs to 30 jobs lists...continue with any value

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