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

  Design a basic jsp page

Submit your JSP page along with your screenshots that show what your code has produced

  Make a plan to deploy several visual basic.net

Your supervisor has asked you to develop a plan to deploy several Visual Basic.NET applications to users in your company. Discuss the important considerations in this effort and give a summary of the technical approach you would use to deploy thes..

  Utilize server manager to install dns role

Utilize Server Manager to install DNS role

  What dependencies there may be

For each one justify why you would select the particular file format and what dependencies there might be.

  How did you find out the dotted quad address that is what

the current ip address standard is 32 bits. ipv6 will increase the address length to 128 bits. an ip socket address is

  Express what makes one algorithm better than another

A non-technical friend has asked whether some algorithms are better than others. express what makes one algorithm better than another.

  1 how big is the mac address space the ipv4 address space

1 how big is the mac address space? the ipv4 address space? the ipv6 address space?nbspnote the size of an address

  Board of your business it network for discussion

In another year, after all projects are completed, you plan to convert back to a volunteer basis with AllTechComm, and to find out more profitable employment, preferably with a major corporation. You are doing all of the research and networking yo..

  A new column would be added to the table

A table was created, Whse.IStock. This table contains a column, SKU that holds stock numbers. The SKU column was created as a data type char(20) and right-justified the stock numbers with leading blanks.

  Creating the c program

Write down a program which accepts a name for example, chocolate bluberries price per pound, and number of the pounds sold in average month .

  Discuss the elements of the site that work particularly well

Evaluate how well the design of the First IB web site meets the needs of a potential small business customer.

  Assume monetary benefits of an information system of 40000

assume monetary benefits of an information system of 40000 the first year and increasing benefits of 10000 a year for

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