Differentiate between a logical address and a physical address in computer memory management. b. Explain the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Differentiate between a logical address and a physical address in computer memory management. b. Explain the role of the base register and limit register in address translation. [2 marks] An operating system needs to load four (4) jobs into memory. The memory blocks [2 marks] available are Block 1-800 KB, Block 2-910 KB, Block 3-200 KB, Block 4-60 KB., Block 5-55 KB. Each program and its memory requirements are shown in Table 2. c. ii. Job A B C D Memory needed 57 KB 920 KB 50 KB 701 KB Table 2: Memory requirements for processes. With the aid of a diagram each, indicate how each of the four jobs will be allocated memory using first fit, best fit, worst fit and next fit allocation algorithms. [4 marks] Calculate the total internal fragmentation for any three (3) of the allocation algorithms. [3 marks] Calculate the total external fragmentation for the three (3) allocation algorithms you chose in ii. [3 marks] d. A 32-bit computer uses 2 KB page sizes. How many bits are used to represent the page number and the offset? If a program of size 72,766 Bytes needs to be loaded into memory, how many pages will it require and what is the total internal fragmentation? [6 marks] Differentiate between a logical address and a physical address in computer memory management. b. Explain the role of the base register and limit register in address translation. [2 marks] An operating system needs to load four (4) jobs into memory. The memory blocks [2 marks] available are Block 1-800 KB, Block 2-910 KB, Block 3-200 KB, Block 4-60 KB., Block 5-55 KB. Each program and its memory requirements are shown in Table 2. c. ii. Job A B C D Memory needed 57 KB 920 KB 50 KB 701 KB Table 2: Memory requirements for processes. With the aid of a diagram each, indicate how each of the four jobs will be allocated memory using first fit, best fit, worst fit and next fit allocation algorithms. [4 marks] Calculate the total internal fragmentation for any three (3) of the allocation algorithms. [3 marks] Calculate the total external fragmentation for the three (3) allocation algorithms you chose in ii. [3 marks] d. A 32-bit computer uses 2 KB page sizes. How many bits are used to represent the page number and the offset? If a program of size 72,766 Bytes needs to be loaded into memory, how many pages will it require and what is the total internal fragmentation? [6 marks]
Expert Answer:
Answer rating: 100% (QA)
b Logical address vs physical address A logical address is an address generated by the CPUIt is the address that the CPU uses to reference memory loca... 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 accounting questions
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
Read the case study "Southwest Airlines," found in Part 2 of your textbook. Review the "Guide to Case Analysis" found on pp. CA1 - CA11 of your textbook. (This guide follows the last case in the...
-
In Exercises find the derivative of the function. y = x(x + 1)
-
The occupancy probability function (Eq. 41-6) can be applied to semiconductors as well as to metals. In semiconductors the Fermi energy is close to the midpoint of the gap between the valence band...
-
Vidhi is investing in some rental property in Collegeville and is investigating her income from the investment. She knows the rental revenue will increase each year, but so will the maintenance...
-
A certain wire has a circular cross section of radius \(R\) and carries a current \(I\). Suppose that the charge carriers all move along the cylindrical surface of the wire, not through its...
-
Maria Mendez is division controller and James Dalton is division manager of the Hestor Shoe Company. Mendez has line responsibility to Dalton, but she also has staff responsibility to the company...
-
In the space provided, 150- to 350-word summary of your financial analysis from Part 2: Financial Ratio Calculations. Include the following in your summary: Make final recommendations as to whether...
-
Suppose that a metal pin has a diameter that has a uniform distribution between 4.182 mm and 4.185 mm. (a)What is the probability that a pin will lit into a hole that has a diameter of 4.184 mm'.'...
-
Over the last quarter, 742 shots were administered at a walk-in clinic. To be treated properly, patients must be given the correct dosage of the correct medication. During the quarter in question, it...
-
Understanding Diversification 1. Look in The Wall Street Journal, Businessweek, or other business publication and find a company looking to expand through diversificationeither greenfield entry or...
-
Explain briefly two ways in which substantive analytical procedures may be used as substantive tests.
-
Explain briefly the significance of the Joint Stock Companies Act 1844 to the development of auditing.
-
Is the DMAIC approach more applicable to projects focusing on incremental change or radical change? Why?
-
Given that rural and urban wages are fixed, the only variable that can adjust is the rate of urban unemployment. From the earlier information on Wu and Wr, find the specific rate of urban employment...
-
Experiment: Tossing four coins Event: Getting three heads Identify the sample space of the probability experiment and determine the number of outcomes in the event. Draw a tree diagram when...
-
In this exercise, we examine how data dependences affect execution in the basic 5-stage pipeline described in Section 4.5. Problems in this exercise refer to the following sequence of instructions:...
-
In this exercise, we examine how pipelining affects the clock cycle time of the processor. Problems in this exercise assume that individual stages of the datapath have the following latencies: Also,...
-
When a program is adapted to run on multiple processors in a multiprocessor system, the execution time on each processor is comprised of computing time and the overhead time required for locked...
-
Copeland Hotels Ltd provide three levels of rooms in their hotels. The following planning data are provided for the year ended 31 December 2020: Fixed hotel overhead costs are $24 360 000 per year,...
-
Define and give examples of relational needs, identity needs, informational needs, and instrumental needs that communication can help us meet.
-
What types of noise are we likely to encounter in a professional environment? Are they physical, psychological, or physiological?
Study smarter with the SolutionInn App