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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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