Question: How to write a program that simulates the FCFS algorithm WITH MULTIPLE CPU and I/O with linked lists in C++? Outputs include: Current Execution time

How to write a program that simulates the FCFS algorithm WITH MULTIPLE CPU and I/O with linked lists in C++? Outputs include:

Current Execution time

Running process at the current time

The Ready queue, with the CPU burst time for each process

The Processes in I/O with the remaining time for every process for its I/O burst completion

Indicate if a process has completed its total execution.

Total time needed to complete all processes.

CPU utilization - [%] (U).

Waiting times for each process and the average waiting time for all processes (WT)

Turnaround time for each process and the average turnaround time.(TT)

Response time for each process and the average response time (RT).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!