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 15:30
Why would a programmer use the logical operator and in an if statement? a: when an action is to be taken that requires both conditions to be falseb: when an action is to be taken that requires both conditions to be truec: when an action is to be taken that requires the first condition to be falsed: when an action is to be taken that requires the second condition to be truei took the test and the answer is b.
Answers: 3
question
Computers and Technology, 24.06.2019 18:50
Which style did jack use on the vocabulary words in reports?
Answers: 2
question
Computers and Technology, 25.06.2019 05:00
Which of the following statements best deceive the relationship between carrying capacity and population size
Answers: 1
question
Computers and Technology, 25.06.2019 05:50
Acolor class has three public, integer-returning accessor methods: getred, getgreen, and getblue, and three protected, void-returning mutator methods: setred, setgreen, setblue, each of which accepts an integer parameter and assigns it to the corresponding color component. the class, alphachannelcolor-- a subclass of color-- has an integer instance variable, alpha, containing the alpha channel value, representing the degree of transparency of the color. alphachannelcolor also has a method named dissolve (void-returning, and no parameters), that causes the color to fade a bit. it does this by incrementing (by 1) all three color components (using the above accessor and mutator methods) as well as the alpha component value. write the dissolve method.
Answers: 2
You know the right answer?
Consider an operating system that have three process states, READY, BLOCKED, and RUN- NING. The READ...
Questions
question
Mathematics, 22.04.2020 02:51
question
Mathematics, 22.04.2020 02:52
question
Mathematics, 22.04.2020 02:52
question
Mathematics, 22.04.2020 02:52