How many pages are needed to store the entire job

Assignment Help Basic Computer Science
Reference no: EM13555795

4. Assume a program has 510 bytes and will be loaded into page frames of 256 bytes each, and the instruction to be used is at byte 377, answer the following questions:
a. How many pages are needed to store the entire job?

b. Compute the page number and exact displacement for each of the byte addresses where the data is stored.

5. Given that main memory is composed of only three page frames for public use and that a seven-page program (with pages a, b, c, d, e, f, g) that requests pages in the following order:
a, c, a, b, a, d, a, c, b, d, e, f

a. Using the FIFO page removal algorithm, indicate the movement of the pages into and out of the available page frames (called a page trace analysis) indicating each page fault with an asterisk (*). Then compute the failure and success ratios.

b. Increase the size of memory so it contains four page frames for public use. Using the same page requests as above and FIFO, do another page trace analysis and compute the failure and success ratios.

c. What general statement can you make from this example? Explain your answer.

Given that main memory is composed of only three page frames for public use and that a
program requests pages in the following order:
a, c, b, d, a, c, e, a, c, b, d, e
a. Using the FIFO page removal algorithm, indicate the movement of the pages into and out of the available page frames (called a page trace analysis) indicating each page fault with an asterisk (*). Then compute the failure and success ratios.
b. Increase the size of memory so it contains four page frames for public use. Using the same page requests as above and  FIFO, do another page trace analysis and compute
the failure and success ratios.
c. What general statement can you make from this example? Explain your answer

 

Reference no: EM13555795

Questions Cloud

Lack of friction between his shoes and the ice : A 1110 N man stands in the middle of a frozen pond of radius 4.18m. He is unable to get to the other side because of a lack of friction between his shoes and the ice.
Estimate the intensity level in decibels at that distance : An outside loudspeaker (considered a small source) emits sound waves with a power output of95W. Find the intensity level in decibels at that distance
Posting transactions into t-accounts in the ledger : A company raised $50,000 in cash by taking a one-year loan of $10,000 and a 5-year loan of $40,000. Which of the following is the correct journal entry to record this transaction?
Find the speed at which the second vaulter clears the bar : Two pole-vaulters just clear the bar at the same height. The first lands at a speed of 7.84 m/s, while the second lands at a speed of 8.32 m/s. find the speed at which the second vaulter clears the bar
How many pages are needed to store the entire job : How many pages are needed to store the entire job?
Determine what is her speed at the bottom : a girl and her bicycle have a total mass of 40 kg. at the top of the hill her speed is 5.0 m/s. what is her speed at the bottom
Evaluate the acceleration of gravity on the surface : One of the asteroids, Ida, looks like an elongated potato. Surprisingly it has a tiny (compared to Ida) spherical moon! Find the acceleration of gravity on the surface of this little moon
Indirect method of presenting cash flows - portable luggage : Prepare a statement of cash flows, using the indirect method of presenting cash flows from operating activities.
Determine what must your orbital speed be : One of the asteroids, Ida, looks like an elongated potato. Surprisingly it has a tiny (compared to Ida) spherical moon! what must your orbital speed be

Reviews

Write a Review

Basic Computer Science Questions & Answers

  How asymptotic notation can be used to rank the efficiency

To illustrate how asymptotic notation can be used to rank the efficiency of algorithms, use the relations "Ì" and "=" to put the orders of the following functions into a sequence, where e is an arbitrary real constant, 0

  How many kegs of nails should low order at one time

Using the EOQ method, how many kegs of nails should Low order at one time? EOQ = square root 2DB/IC.

  Use jsp to display current date & time

Fail authentication page will ask user to create the new account if the user does not have an account on the system.

  Fluid mechanics

Consider a two-dimensional velocity ?eld V~ = aˆi + by2ˆj, where a = 1 m/s and b = 2 m?1s-1

  How many total broadcast domains exist on the switch

A switch has been divided using separate VLANs for each of the following departments: Marketing, Engineering, Sales, and Administration. How many total broadcast domains exist on the switch?

  Draw a state diagram for the state machine

Draw a state diagram for the state machine that checks if a binary number has an even or odd number of 0s.

  Write using the summation notation

Write using the summation notation

  Determine the monthly charges for checking accounts

The billing department at the bank has asked for your team's help. They want to develop a program that will determine the monthly charges for checking accounts.

  State of six conditional flags after instructions executes

Forecast the state of six 8086 conditional flags after each of instructions which are given below executes. MOV AL,AH b. ADD BL,CL c. ADD CL,DH d. OR CX,BX

  Make the contents of your script resident in memory

Modify your whoisthere function so that you can enter "These are the folks logged in:" as an argument to appear before your list of who is logged in to the system.

  Program that will accept a real number

Create a program that will accept a real number from the user and then display its whole and fractional parts. (For example, if the input is 5.32, the outputs should be the integer value

  Declare a deque container

Declare a deque container. Using keyboard to input several floating point numbers, say at least five floating point numbers; find the median number and display the result.

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