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.
-
Create the below Source Code [EX1.txt]:
-
program My_Pgm
i = j (Value of j provided below)
for n = 1 to j
x = i * n
next
end
*****************************
Steps to perform:
-
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.
-
Load the executable code in memory.
-
Create processes from program in the OS simulator and note down process id of each of the process that is created.
-
Select FCFS/Round Robin.
-
Start executing the processes.
-
Use visualization tools to see PCB, process statistics, resources, resource utilization, Log, process states and process statistics.
-
Use J = 50, J= 25 J =15.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
