Question: You are tasked to implement a PROCESS SCHEDULER SIMULATOR. The objective is to process COVID files from different cities as they arrive, one COVID file
You are tasked to implement a PROCESS SCHEDULER SIMULATOR. The objective is to process
COVID files from different cities as they arrive, one COVID file per city. The files are comma
delimited, each record line represents a COVID patients detail in the following order: row
number, the patients full name, age, country, city, and status of the patient. Using the table below,
attempt the following questions. Consider the following: record is equal to CPU cycle.
File Name Arrival Time Record Count
New York
London
Lagos
Johannesburg
Windhoek
Shanghai
Delhi
a Using the java programming language implement a nonpreemptive or preemptive
scheduling algorithm to process the COVID files. Per each file compute the following:
i Average age.
ii Minimum age
iii. Maximum age
iv Patients count per patient status.
Note: a successful implementation of a preemptive algorithm will earn you an extra
for the assignment.
b Your java code should compute and display both the turnaround time per each file and
the average turnaround time for all files using the figures provided.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
