Why would items move from a slower layer to a faster layer

Assignment Help Computer Engineering
Reference no: EM13188823

1. (You may use up to two pages and single-space for this question) Consider a skate rental shop that has two rental agents, a counter, and a waiting area that can accommodate up to four customers on a bench and provides standing room for additional patrons. By law the shop has a maximum customer capacity of 10. The rental agent fills a patrons request to rent a pair of skis.

A customer cannot enter the shop if it is filled to capacity. If the previous condition is false, a customer will either take a seat on the bench or stand if the bench is full. As soon as a server is free, the customer that has been on the bench the longest is served and if any patrons are standing, the one that has been in the shop the longest takes a seat on the bench.

When a pair of skates is rented, the rental agent accepts payment then serves the next patron (if one is present). Your task is to write a program in pseudo-code using semaphores. The rental agent is a task as well as each customer.

2. Given a four level hierarchical storage system consisting of: cache, primary storage, secondary storage, and tertiary storage. Assume the following: programs may be executed on any of the four levels; each level consists of the same amount of real storage and the range of addresses on each level is identical. The speed at which programs are run is grouped from slowest (tertiary storage) to fastest (cache), where each layer is 10 times faster than the previous lower layer. There exists one CPU in this system, which may run one program at a time. Programs may be shuttled from any layer to any layer.

a) Why might the operating system choose to move information from a faster level to a slower level, bypassing an intermediate level, IE. from cache to secondary storage?

b) Why would items move from a slower layer to a faster layer?

e) Should Information be allowed to move from any level to any level or should transfers only occur from adjacent levels? Explain in detail.

3. Determining the time quantum for a job is a critical task. Given the assumptions that the average switching time between processes is s, and the average amount of time an 110 bound process uses before generating an I/O request is t (t » s). Discuss the effect of each of the following quantum settings denoted by q.

a)  q = infinity

b)  q is slightly greater than zero

c)  q = s

d)  s<q<t

e)  q=t

f)   q > t

4. Dr. Zeus provided an extensive analysis of the dependability properties of operating systems. Her report included the relative value of the manageability of an operating system and a potential set of metrics that directly relate manageability to the dependability of that operating system. Unfortunately Dr. Zeus won the lottery, took off for parts unknown and in the process did not provide her report- some say she is writing books for children (the word on the street is that the books do not include operating system topics). Your task is to provide your metric for system manageability to substitute for the Zeus on the Loose Report. Be advised that Dr. Zeus produced detailed and supported work prior to her disappearance.

5. A virtual storage system has page size p, block size b, and fixed-length record size r. Discuss the various relationships among p, b, and r that make for the most efficient system. Give a detailed account of your explanation.

Reference no: EM13188823

Questions Cloud

What is the probability of selecting a freshman : Adams High School has 151 freshman, 198 sophomores, 221 juniors, and 242 seniors. If two students are selected at random without replacement, what is the probability of selecting a freshman on the first selection and a senior on the second selecti..
What is per worker production function in terms of capital : Suppose initially (period 0) the economy is endowed with $5 (billion) of capital stock and 10 (thousand) workers (let's ignore the units). We know that saving rate s is 0.15, population growth rate n is 0.01 and depreciation rate d is 0.09. Suppos..
Solve an increasing number of complex problems : Autonomous (intelligent) software agents are used in Artificial Intelligence to solve an increasing number of complex problems and discuss their main applicability as well as their advantages, limitations and current research trends in the area.
Find the dimensions of the new corral : a rancher wants to enlarge an existing rectangular corral such that the total area of the new corral is 1.5 times that of the original corral. the current corral's dimensions are 250 feet by 160 feet. The rancher wants to increase each dimension b..
Why would items move from a slower layer to a faster layer : Determining the time quantum for a job is a critical task. Given the assumptions that the average switching time between processes is s, and the average amount of time an 110 bound process uses before generating an I/O request is t (t » s). Discus..
Determine the angle of the launch to obtain maximum length : Determine the angle of the launch to obtain the maximum length of the trajectory. Let v0 = 96 feet per second
Who is likely to benefit from the quota : People sometimes argue that imports should be limited by government policy. Suppose a government quota on the quantity of imports causes net exports to rise. Using the circular flow diagram as a guide, explain why total expenditures and national o..
What is the probability that all the numbers are even : Five numbers are chosen at random from the set {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13}, without replacement. What is the probability that all the numbers are even?
Is the demand curve elastic or inelastic : a price change causes the quantity demanded of a good to decrease by 30percent , while the total revenue of that good increases by 15 percent . is the demand curve elastic or inelastic explain.

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