Example of logical addresses

Assignment Help Basic Computer Science
Reference no: EM13835297

Problem 1: Consider a computer system with the following five fixed-sized memory partitions (arranged In that order) and the memory requirements of the given four processes.

Memory Partitions

100KB

400KB

200KB

400KB

600KB


Process

P1

P2

P3

P4

Memory required

230 KB

370 KB

190 KB

595 KB


a. First-fit technique
b. Best-fit technique
c. Worst-fit technique
d. Which algorithm makes the most efficient use of memory?

Problem 2: The following page table Is for a system with 16-bit virtual and physical addresses and with 4,096-byte pages. The reference bit is set to 1 when the page has been referenced. Periodically. a thread zeroes out all values of the reference bit. A dash for a page frame Indicates the page Is not In memory. The page-replacement algorithm Is localized LRU. and all numbers are provided In decimal.

Page

Page Frame

Reference Bit

0

9

0

1

1

0

2

14

0

3

10

0

4

-

0

5

13

0

6

8

0

7

15

0

8

0

0

9

-

0

10

5

0

11

4

0

12

-

o

13

3

0

14

-

0

15

2

0

a. Convert the following virtual addresses (in hexadecimal) to the equivalent physical addresses (provide answers in hexadecimal AND decimal). Also set the reference bit for the appropriate entry in the page table. (3)

i. Ox8C2C

ii. Ox00ED

iii. OxEA14

IV. 0x6901

V. Ox23A1 OxA999

b. Using the above addresses as a guide. Provide an example of logical addresses (in hexadecimal) that result in a page faults. (2)

c. From what set of page frames will the LRU page-replacement algorithm choose in resolving a page fault?

Reference no: EM13835297

Questions Cloud

Diversity of citizenship lawsuit in federal court : A classic car auto repair shop is located in Santa Fe, New Mexico. Parts are hard to obtain and must often be ordered from suppliers in other states. must sue in a court in New Jersey. is permitted to bring a diversity of citizenship lawsuit in fed..
Describe one way these two psychologist may agree : Describe one way these two psychologist may agree and one way they may disagree in their explanation of the presidents behavior.
Choose a research article that uses a qualitative methodolog : Choose a research article that uses a qualitative methodology
Calculators to generate carbon emissions impacts : Describe -  assess and recommend sustainability improvements to aspects of NMIT policy - strategic plans and how are the site/building and operations working and What are its environmental impacts?
Example of logical addresses : Using the above addresses as a guide. Provide an example of logical addresses (in hexadecimal) that result in a page faults. From what set of page frames will the LRU page-replacement algorithm choose in resolving a page fault?
What is a trade secret : What is a trade secret? What types of actions constitute misappropriation under trade secret law? What are the remedies available for the civil enforcement of trade secrets
How believe social interaction is in socialization process : you believe social interaction is in the socialization process
Manufacturing process requires machining and finishing : A small business produces 3 types of cables: A, B, and C. The cost of in-house production is estimated to be $6, $12, and $10 per foot of A, B, and C respectively. The manufacturing process requires machining and finishing. The machining and finis..
Role of alternative investments in portfolio construction : Alternative Investment Classes and their Role in Investment Portfolios - Discussion and understanding of the various types of alternative investment classes available on financial and other markets.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  How can you minimize the quantization error

How can you minimize the quantization error - Just a simple and quick answer and please no copy and paste.

  Jewelers company might derive from a new system

Suggest at least five (5) expected business benefits that Especially for You Jewelers company might derive from a new system. Provide a rationale for your suggestions.

  Explain finding a feasible assignment as a shortest path

We say that a course assignment is a feasible assignment if every faculty member teaches either their first or second choice course. Formulate the problem of finding a feasible assignment as a shortest path, max flow, or min-cost flow problem.

  What factors are involved in selecting architecture

Under what architecture would you classify technologies such as virtualization, cloud computing, and Web-based applications? Last, what factors are involved in selecting the architecture that is right for your organization?

  Using the types of entities found in the henry

Using the types of entities found in the Henry Books database (books, authors, and publishers), create an example of a table that is in first normal form but not in second normal form and an example of a table that is in second normal form but ..

  What is an html text editor

Windows NotePad is a simple text editor. What is the difference between a text editor and a word processor?" What is an HTML Text Editor? What is it used for and how does it compare to a regular text editor

  Creating truly anonymous electronic cash requires a bank to

1. refers to preventing data delays or denials.integritysecrecynecessityreadinessnbspquestion 2 refers to protecting

  Using the sql schema generation feature of the modeling tool

Consider the description of UNIVERSITY database below. Using the SQL schema generation feature of the modeling tool, generate the SQL schema and diagram for an Oracle database.

  Explain a pro or a con in a computer

Since the beginning, computers have trended to larger word sizes, 8 to 16 to 32 and now some 64 bit computers. Explain a pro or a con in a computer with a larger word size, or comment on someone else's pro or con.

  What are some business uses for inserting a canvas

Write a response that answers the following: What are some business uses for inserting a canvas in a Microsoft® Word document. From these uses, propose a strategy that may help users overcome formatting issues.

  Implement unsigned 8-bit multiplication and division algorit

Implement unsigned 8-bit multiplication and division algorithms in MIPS assembly language. You need to follow the multiply and divide algorithms as given in the textbook or the slides. You must NOT use any MIPS multiplication or division instru..

  Create a mailmerge

Create a Mailmerge-Your form letter must include an inserted picture or graphic and should give the address of a web site

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