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, 21.06.2019 20:00
2.)how does a graphical user interface (gui) on a touchscreen interface differ from a gui on a desktop or laptop? a.)a finger or stylus is used instead of a pointer. b.) a magic wand is used instead of a pointer. c.)users speak commands instead of using a pointer. d.)users visualize commands instead of using a pointer.
Answers: 1
question
Computers and Technology, 22.06.2019 22:00
Consider the following declarations (1, 2, 3, 5, 7)class bagtype{public: void set(string, double, double, double, double); void print() const; string getstyle() const; double getprice() const; void get(double, double, double, double); bagtype(); bagtype(string, double, double, double, double); private: string style: double l; double w; double h; double price; }; a.) write the definition of the number function set so that private members are set according to the parametersb.) write the definition of the member function print that prints the values of the data membersc.) write the definition of the default constructor of the class bagtype so that the private member variables are initialized to "", 0.0, 0.0, 0.0, 0.0, respectively d.) write a c++ statement that prints the value of the object newbag.e.) write a c++ statement that declares the object tempbag of type bagtype, and initialize the member variables of tempbag to "backpack", 15, 8, 20 and 49.99, respectively
Answers: 3
question
Computers and Technology, 22.06.2019 22:30
Who needs to approve a change before it is initiated? (select two.) -change board -client or end user -ceo -personnel manager -project manager
Answers: 1
question
Computers and Technology, 23.06.2019 01:30
For a typical middle-income family, what is the estimated cost of raising a child to the age of 18? $145,500 $245,340 $304,340 $455,500
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, 23.08.2019 08:30
Questions on the website: 13722361