Question
Please answer this correctly Computer systems have four major components, operating system being one of them. What are the other three? Please draw an illustration
Please answer this correctly
Computer systems have four major components, operating system being one of them. What are the other three? Please draw an illustration graph to show the possible interaction among all four.
5. In operating systems, each process is represented with a Process Control Block (PCB).
a) Please list the major contents of PCB.
b) Assume there are two processes, P0 and P1, with PCB0 and PCB1. CPU was running on P0 and switches to P1 before switching back to P0. Use a graph to illustrate how this is done.
6. Explain the difference of FCFS CPU Scheduling and RR CPU Scheduling.
7. Including the initial process, how many processes altogether will be created when the following program is executed? Use a graph to illustrate.
#include
#include
int main()
{
// fork a child process
fork();
// fork another child process
fork();
//fork yet another child process
fork();
return 0;
}
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started