Consider a virtual memory system based on a page size of 1024 bytes. Assume furthermore that...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider a virtual memory system based on a page size of 1024 bytes. Assume furthermore that the system supports 8 virtual pages and 4 physical pages. (a) Determine the number of address bits needed by programs using this system. (b) For each of the virtual addresses 0, 3728, 1023, 1024, 4096, and 7800, determine the virtual page number and associated page offset. Then use the page table below to determine the physical page number and from that, the complete physical address. Label a virtual address as "page fault" if the virtual address hasn't been loaded. Virtual page 0 1 2 3 4 5 6 7 Address range 0-1023 1024-2047 2048-3071 3072-4095 4096-5119 5120-6143 6144-7167 7168-8191 Page frame 3 1 Not loaded Not loaded 2 Not loaded 0 Not loaded Consider a virtual memory system based on a page size of 1024 bytes. Assume furthermore that the system supports 8 virtual pages and 4 physical pages. (a) Determine the number of address bits needed by programs using this system. (b) For each of the virtual addresses 0, 3728, 1023, 1024, 4096, and 7800, determine the virtual page number and associated page offset. Then use the page table below to determine the physical page number and from that, the complete physical address. Label a virtual address as "page fault" if the virtual address hasn't been loaded. Virtual page 0 1 2 3 4 5 6 7 Address range 0-1023 1024-2047 2048-3071 3072-4095 4096-5119 5120-6143 6144-7167 7168-8191 Page frame 3 1 Not loaded Not loaded 2 Not loaded 0 Not loaded
Expert Answer:
Answer rating: 100% (QA)
a Determine the number of address bits needed by programs using this system Since the system has 8 virtual pageswe need 3 bits to represent the virtual page number 23 8 Similarlysince the system has a ... View the full answer
Related Book For
Computer Organization and Design The Hardware Software Interface
ISBN: 978-0124077263
5th edition
Authors: David A. Patterson, John L. Hennessy
Posted Date:
Students also viewed these programming questions
-
The graph below displays the distribution of word lengths (number of letters) in the Gettysburg Address, which you explored in Exploration 2.1A. a. Describe the shape of this distribution. b. Based...
-
3. Find the regular expression for the language accepted by the following automaton. b
-
Estimate the cash value of a life insurance policy as of December 31, 2016 based on the following information: Cash value as of January 2016 $90,000 Total premium during the year $ 8,000 Term life...
-
A particle moves in the xy-plane. Its coordinates are given as functions of time by x(t) = R (wt sin wt) y(t) = R (1 cos wt) where Rand", are constants. (a) Sketch the trajectory of the particle....
-
A researcher has compiled a file of information on a random sample of 317 families that have chronic, long-term patterns of child abuse. Reported here are some of the characteristics of the sample,...
-
In 1988, the Upper Deck Company was a company with an idea for a better baseball card: one that had a hologram on it. By the 1990s, the firm was a major corporation worth at least a quarter of a...
-
Justin Zinder is a venture capitalist facing two alternative investment opportunities. He intends to invest $1 million in a start-up firm. He is nervous, however, about future economic volatility. He...
-
Regarding 1031 exchanges, which of these statements regarding debt load in an exchanged property is true? Unset starred question The 1031 exchange doesn't address debt load. The debt load for the new...
-
(a) Using the Consolidated Balance Sheets for Walgreen Co. for August 31, 2013 and 2012, prepare a common-size balance sheet. (b) Which current asset is the most significant? Which noncurrent asset...
-
Below is a CONCAVE hexagon with ?exterior angles? drawn and the top edge is parallel to the bottom edge. Suppose that angle 1 = angle 5 and angle 6 is 90?. Find the sum of the six angles. Show your...
-
Imagine that you were a new CFO of Beily Inc., a childrens bicycle manufacturer. The president, Mr. Zhao, started the business 2 years ago. The firm manufactures two types of products, bicycles for...
-
Top Performance has been operating for several years in the outskirts of Ostersund, Sweden, and is a new manufacturer of a top-of-the-line outdoor jacket. You are starting an internship as assistant...
-
The debt and equity section of the TOTAL Group balance sheet is shown here (in million euros). The current market price of the common shares is 200. Reconstruct the financial statement assuming that...
-
The General Meeting of Remy Cointreau SA, listed on Euronext Paris, held in July 2015, set the overall dividend at 1.53 per share. The Meeting decided to grant every shareholder payment of the...
-
Door Company sells products in cash and in credit as follows: cash sales are 60 percent of total sales, and credit sales are 40 percent. 10 percent of the credit sales are collected in the month of...
-
The final position and orientation of the cylindrical-RPY robot is given below. Assume that the sequences of cylindrical robot is a translation of r along the x-axis, a rotation of a about the...
-
Catherine (aged 42) and Johnson (aged 45) have been married for 12 years. Johnson is a project manager of an event company at a monthly salary of $55,000 with an additional one-month salary of...
-
Write the equations for the carry-lookahead logic for a 64-bit adder using the new notation from Exercise B.26 and using 16-bit adders as building blocks. Include a drawing similar to Figure B.6.3 in...
-
Repeat Exercise B.22, but for an unsigned divider rather than a multiplier. Data from in Repeat Exercise B.22 Section 3.3 presents basic operation and possible implementations of multipliers. A basic...
-
Another pitfall cited in Section 1.10 is expecting to improve the overall performance of a computer by improving only one aspect of the computer. Consider a computer running a program that requires...
-
The microfinance concept has been a blessing for many people in developing countries. Its success there causes some to wonder if it can spur growth in areas of developed nations that need...
-
An institution that many people know little about and some governments find worrisome is offshore financial centers. They operate with little oversight, few regulations, and often little taxation....
-
What is the appeal of the eurocurrency market?
Study smarter with the SolutionInn App