Question: Please use OS CPU simulator. Enter the following program in CPU-OS simulator and observe, analyse and report metrics in the sub questions with screenshots. Create

Please use OS CPU simulator.

Enter the following program in CPU-OS simulator and observe, analyse and report metrics in the sub questions with screenshots.

  1. Create the below Source Code [EX1.txt]:

  2. program My_Pgm

i = j (Value of j provided below)

for n = 1 to j

x = i * n

next

end

*****************************

Steps to perform:

  1. Enter the source code in the compiler using compilers PROGRAM SOURCE[INPUT] editor window and compile the source code to generate the executable Binary Code.

  2. Load the executable code in memory.

  3. Create processes from program in the OS simulator and note down process id of each of the process that is created.

  4. Select FCFS/Round Robin.

  5. Start executing the processes.

  6. Use visualization tools to see PCB, process statistics, resources, resource utilization, Log, process states and process statistics.

  7. Use J = 50, J= 25 J =15.

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!