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

  Discuss the terms front-end and back-end of an application

discuss, in your own words, the terms front-end and back-end of an application. What role do procedures and functions play when designing and implementing front-end and back-end systems?

  Create two function in c++ with using arrays

create two function in C++ with using arrays.

  Suppose you are maintaining information on offices

explain the different ways of implementing one-to-one relationships. Assume you are maintaining information on offices (office numbers, buildings, and phone numbers) and faculty (numbers and names).

  How to use a sorting algorithm

Prompt the user for name and age of a group of people. The group's size is unknown at first , so the program must keep asking the user if they want to enter more data.

  Execute a recursive directory traversal

Execute a recursive directory traversal.

  Knowledge of agency level enterprise operating systems

information of advanced Relational Database management Systems (RDMS) operating over a wide-area network. (note: Please explain RDMS operating over a WAN.)

  Explain the design for the memory subsystem

Explain the design for the memory subsystem

  Queries in relational algebra

Queries in relational algebra.

  What mean to take a systems view of a project

What does it mean to take a systems view of a project? How does taking the systems view of a project apply to project management.

  Make use of string class methods to solve the problem

create and develop a program that validates the value a user enters into a TextBox control to ensure that the entry is a valid telephone number. The application should accept a maximum of 12 characters. When the user clicks a button, the program s..

  Find out the capability of all computers

find out the capability of ALL computers

  What kinds of documents are poor matches

What kinds of documents are poor matches

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