Question: I want it easy on way basic and small Question #1 (7 marks) A Process Scheduler schedules different processes to be assigned to the CPU

I want it easy on way basic and small
 I want it easy on way basic and small Question #1

Question #1 (7 marks) A Process Scheduler schedules different processes to be assigned to the CPU based on particular scheduling algorithms. One of such scheduling algorithms is "First-Come, First-Served (FCFS) Scheduling". Its implementation is based on FIFO queue. Write a C++ program to implement such a queue of processes. Each process has the following private members : process id(int), process name(string), user id(int) and a public method process_info0 which shows all the details of a process. Our queue of process can hold maximum s processes at a time. Create 5 processes of your choice and demonstrate the queue. Please implement without STL Figure below illustrates the expected output. 00 MS Word 100 101 MS Excel 100 102 M Chronc 55101 100 MS Access 04 Fire Fox I 101 ress any key to continue . . . Expected output of the program

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!