![ashylynn2423](/avatars/38168.jpg)
ashylynn2423
31.07.2019 •
Computers and Technology
Consider a logical-address space of eight pages of 1024words each, mapped onto a physical memory of 32 frames.
a. how many bits are in the logical address?
b. how many bits are in the physical address?
Solved
Show answers
More tips
- S Science and Technology QR Code: How it Works and Why You Need it?...
- C Computers and Internet Dropbox: What is it and How to Use it...
- H Health and Medicine How to Increase Hemoglobin in the Blood...
- A Animals and plants How to Store Carrots: Tips for Homeowners...
- L Legal consultation Juvenile Justice: Who Needs It?...
- F Family and Home How to Choose the Best Diapers for Your Baby?...
- F Family and Home Parquet or laminate, which is better?...
- L Leisure and Entertainment How to Properly Wind Fishing Line onto a Reel?...
- L Leisure and Entertainment How to Make a Paper Boat in Simple Steps...
- T Travel and tourism Maldives Adventures: What is the Best Season to Visit the Luxurious Beaches?...
Ответ:
a)13 bits
b)15 bits
Explanation:
a)
It takes 10 bits to address within a 1024-word page because 1024= 2^10.
Since the logical address space is 8 = 2^3 pages,
We will add 10 bits for 1024 words
10 + 3 = 13 bits must be the logical addresses.
b)
There are 32 = 2^5 physical pages.
We will add 10 bits for 1024 words
Similarly, physical addresses are 5 + 10 = 15 bits long .
Ответ:
if( word ): # make sure word has characters
print( word[ 0 ] ) # print the first character (Python 3 syntax)