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

  Create a new string to represent the corresponding full name

Create a new string to represent the corresponding full name, and display it on screen in format: Lastname, Firstname, Middle name.

  Write an isr in c to add the signed value on port t (ptt)

Write an ISR, in C, to add the signed value on PORT T (PTT) to the byte value stored in location data1.

  Discuss some of the emerging trends in information

discuss some of the emerging trends in information technology e.g. computer hardware software data analysis. what

  Use two arrays of integers to store two test scores

You must use 2 arrays of integers to store the 2 test scores for each student. You must use a third array to store the average and a fourth array to store the letter grade.

  Let the predicate

11. Let the predicate ">" be defined as follows: Let a and b be integers. "a > b" if and only if a = b + k where k is an integer > 0. Using only this definition, prove that ">" is transitive, i.e., if x, y, and z are integers and x > y and y >..

  Benefits of binary file called registry

Write down the benefits and disadvantages of configuration in binary file called registry.

  Report steps necessary evidence and protect company

Jonathan Simpson owns a construction company. Write a one-page report detailing the steps Jonathan and you need to take to obtain the necessary evidence and protect the company.

  Write a main program which will prompt the user

Write a Main Program which will prompt the user for how many numbers they which to enter as an integer counter (numcount) variable. The program should then prompt the user to enter each number using a loop and then output the average of the number..

  Research the major middleware providers

The language to use if need is Java. Make sure you cite references and adhere to the academic guidelines for writing a research paper.

  What is a hash value

What is a hash value, and why do you think it is important?

  Sort the array in the descending order using pointers

Create functions for the following tasks and make sure to pass a pointer to the table (array) as an argument to each of them.

  Examine each of the principles discussed

Examine each of the principles discussed in Sec. 2.1.4 and tell whether they are so important (assuming that high performance is still desired).

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