subject

Consider an operating system that have three process states, READY, BLOCKED, and RUN- NING. The READY state means that the process is waiting to be assigned to a processor. The RUUNING state means that instructions of the process are being executed on the CPU. The BLOCKED state means that the process is waiting for an I/O completion event. Answer the following questions:
(a) Draw a process state transition diagram.
(b) Explain what may cause a process to enter each state, and when a scheduling decision must be made to switch to a different process.
(c) Explain the concept of context switch and the source of context switch cost.
(d) Can the operating system support preemptive scheduling?
2. Let us consider the following C program running in a POSIX system. int main() { fork() fork) fork() return 0;
(a) How processes will be created?
(b) Justify your answer.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 13:00
Which part of the cpu accepts data?
Answers: 1
question
Computers and Technology, 23.06.2019 06:00
Respond to the following in three to five sentences. select the workplace skill, habit, or attitude described in this chapter that you believe is most important for being a successful employee.
Answers: 1
question
Computers and Technology, 23.06.2019 06:00
How can a user delete a drawing object
Answers: 1
question
Computers and Technology, 24.06.2019 18:30
Dereck works for long hours on his computer.  he frequently experiences physical strain by the end of the day because he does not follow an important rule of ergonomics with respect to the use of keyboards.  which of the following actions of dereck could lead to physical strain? a.  placing the keyboard exactly in front of him while typingb.  keeping hands and wrists straight while typingc.  using wrist pads throughout the dayd.  pounding at the keys on the keyboard while typinge.  resting his hands on the keyboard when he is not typing
Answers: 1
You know the right answer?
Consider an operating system that have three process states, READY, BLOCKED, and RUN- NING. The READ...
Questions
Questions on the website: 13722367