Computers and Technology

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.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 13:30, baeethtsadia
Asoftware company hired ray, a college graduate to work in their development team. ray is assigned to work in the coding phase of a project. what happens during the coding phase of a software development project? a. the customer receives a working model of the software. b. developers convert the program design into code. c. developers gather requirements directly from the stakeholders. d. testing teams check the product for quality.
Answers: 1
image
Computers and Technology, 23.06.2019 06:30, eddsworldfrantic
You have a small company and want to keep your costs low, but it is important your employees share data. which network would provide you with the most economical solution?
Answers: 1
image
Computers and Technology, 25.06.2019 03:30, sduihasoj1703
What best describes the purpose of occupational safety and health administration
Answers: 1
image
Computers and Technology, 25.06.2019 07:20, genyjoannerubiera
Acompany's intranet is set up on this type of server. application communication print web
Answers: 1
Do you know the correct answer?
Consider an operating system that have three process states, READY, BLOCKED, and RUN- NING. The READ...

Questions in other subjects:

Konu
Mathematics, 30.08.2021 20:30
Konu
History, 30.08.2021 20:30