Transitions between states of ready run and blocked

Assignment Help Computer Engineering
Reference no: EM13897211

1) The following state transition table is a simplified model of process management, with the labels representing transitions between states of READY, RUN, BLOCKED, AND NONRESIDENT.

 

READY

 

RUN

 

BLOCKED

 

NONRESIDENT

 

READY

 

-

 

1

 

-

 

5

 

RUN

 

2

 

-

 

3

 

-

 

BLOCKED

 

4

 

-

 

-

 

6

 

Give an example of an event that can cause each of the above transitions. Draw a diagram if that helps.

2) In a number of early computers, an interrupt caused the register values to be stored in fixed location associated with the given interrupt signal. Under what circumstances is this a practical technique? Explain why it is inconvenient in general.

3) You have executed the following C program:

main ()

int pid;

Pid = fork ();

Printf ("%d n , pid);

What are the possible outputs, assuming the fork succeeded?

4) It was pointed out that two advantages of using multiple threads within a process are that (1) less work is involved in creating a new thread within an existing process than in creating a new process, and (2) communication among threads within the same process is simplified. Is it also the case that a mode switch between threads within the same process involves less work than a mode switch between two threads in different processes?

5) In the discussion of ULTs verses KLTs, it was pointed out that a disadvantage of ULTs is that when a ULT executes a system call, not only is that thread blocked, but also all of the threads within the process are blocked. Why is that so?

6) If a process exits and there are still threads of that process running, will they continue to run? Explain.

Reference no: EM13897211

Questions Cloud

What is life cycle assessment and how is it conducted : What is Life Cycle Assessment and how is it conducted and What is the difference between cradle to grave, cradle to gate, and gate to grave?
What is the efficiency of the balanced line for wild widget : What is the efficiency of the balanced line? If demand decreased to 40 units per day, what changes would be  needed, if any?
Describe the data warehouse application : Describe the data warehouse application you propose to work with throughout the module. Your description should be brief and relatively formal
Refer to simon company''s balance sheets : Refer to Simon Company's balance sheets in Exercise 17-7. Analyze its year end short term liquidity position at the end of 2014, 2013, and 2012 by computing
Transitions between states of ready run and blocked : The following state transition table is a simplified model of process management, with the labels representing transitions between states of READY, RUN, BLOCKED, AND NONRESIDENT
Why should an organization conduct an environmental audit : Why should an organization conduct an environmental audit and If an audit is conducted - should any violations be self-reported?
The company''s income statements for the years ended december : The company's income statements for the years ended December 31, 2014 and 2013 follow. Assume that all sales are on credit and then compute:
Why is maintenance of environmental health quality important : Why is maintenance of environmental health quality important for human health? What ideals from the Christian Worldview help us to make concern for environmental health paramount and meaningful?
In what ways are drp and mrp similar and different : In what ways are DRP and MRP similar and how are they different? How have advances in computer technology changed the planning process? Why? What changes do you expect in the future?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd