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

  Explain how crc works at the data link layer

What are two reasons errors may occur at the data link layer?

  Describe the components of the ethernet frame in detail

Describe the components of the Ethernet frame in detail

  Research methods for information technology

Research methods for information technology involved in Mobile platforms and social media

  Evidence handling is important in computer forensics

Evidence handling is important in computer forensics.

  Determine general security architecture for the company

Determine the most important assets of the company, which must be protected, Determine general security architecture for the company

  What encryption methods should be used

Each frame in the 802.11 wireless protocol contains the MAC addresses of the sender and receiver. Thus, both sender and receiver are identified in every frame, giving more data to an interceptor who might want to spoof either party. Are both da..

  What types of threats does the tool mitigate?

At work, keeping your data safe and your computers up and running is your primary concern. What can employees do to protect against intrusion and attacks?

  Searches of textual documents and database querying

Your company has been hired to design a product that will provide searches of textual documents and database querying. Your design team has not developed a product like this before

  Determine value t (n) and expand the recurrence relation

Consider the following recurrence relation: T (1) = 6, and for n > 1, T (n) = 1 + 2T ([n/2]) Note. [x] is the the floor function. It rounds x down to the nearest integer.

  Extreme environmental condition

Using the internet, find a thermal sensor for operation in some type of extreme environmental condition. You can do this by looking for a device used in a particular industry (oil and gas/petrochemical, for instance) or by looking for a device for a ..

  Technology and job design

Advancements in technology have certainly made our lives easier over the last twenty years. They've also changed the nature of how many of us do our jobs. A great example is right here in this course...professors can teach from home!

  Explains how hackers can hide their own ip address

Explains how hackers can hide their own IP address when attacking other computers, and how administrators can thwart this type of cracking

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