Question

A 16 bit logical address is split into 5 bit page number and 11 bit page offset. Answer the following questions in the space provided:

a) The page size is ____ bytes

b) The page table size is ____

c) if the page table is as shown below, then the corresponding physical address for 0x174F is given by: ____.

Question 29 (3 points) Saved A 16 bit logical address is split into 5 bit page number and 11 bit page offset. Answer the foll

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Logical address contains two Things

1. Page Number :--> the number of bits to Represent a Page

2. Page Offset :--> the number of bits to Represent a word in Page

Part A)

Page offset = 11 bits

So page size = 2^11 Bytes = 2 KB

Page size is 2 KB

Part B)

Size of page table is = Number of pages x size of each page table entry

Now Page table entry has frame number as in the given page table we can see that one frame need 8 bits to represent like 0x1C

So size of page entry = 8 bits = 1 Byte

To get number of pages we have page number = 5 bits So we have 2^5 = 32 pages  

Page Table Size = 32 B

Part C)

Now To write Physical address of the given logical address

Physical Address = Frame Number + Page/Frame Offset

As we see in page table one frame needs 8 bits and Page offset = 11 bits

Physical Address = 19 bits

Now In Given Logical Address we have 0x 174F

174F in binary = 00010 11101001111

First five bits represent the page number

SO we have page number = 00010 = 2

In page table at page 2  we have frame as 0x 1E = 0001 1110

Now Physical address (19 bits) = 00011110 11101001111

Hence Physical Address for 0x 174F is = 00011110 11101001111 = in hex ( 16 bit number ) 0x F74F

This is the complete solution for the given problem

I hope that you understood the answer and if u have any doubt do mention in comment .I will be happy to answer

Thank You

Add a comment
Know the answer?
Add Answer to:
A 16 bit logical address is split into 5 bit page number and 11 bit page...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • page addressing (a) The following are virtual 16 Considered bit-addresses, with the upper 8th Bit the...

    page addressing (a) The following are virtual 16 Considered bit-addresses, with the upper 8th Bit the number of the page and the lower one 8th Bit represent the offset. The physical memory included in this example 256 Page frames ( frames ) to each 256 Bytes per page, ie physical addresses from 0x0000 to 0xFFFF, where frame 0 at 0x0000 starts. Given the following page table for a process that 10 Pages (page numbers 0 - 9), some of which...

  • Suppose that we have a computer system using 32-bit logical address and 46–bit physical address. It...

    Suppose that we have a computer system using 32-bit logical address and 46–bit physical address. It also uses paging for memory management with a single-level page table organization. The page size is 4K bytes and each page table entry is 32 bits or 4 bytes in size. Calculate the number of bits in each field in the logical address, the size in bytes of the page table, and the number of frames.

  • Paging Questions 1. A page is 1 KB in size. How many bits are required to...

    Paging Questions 1. A page is 1 KB in size. How many bits are required to store the page offset? 2. A page entry has 10 bits. What is the size of the page table? 3. A logical address is 32 bits long. The page size is 4 KB. Divide the address into its page number and offset. 4. The following hexadecimal addresses are used in a system with a 20-bit logical address where the page size is 256 bytes....

  • 6) Paging [26 pts] Suppose you have a computer system with a 38-bit logical address, page size of 16K, and 4 bytes per...

    6) Paging [26 pts] Suppose you have a computer system with a 38-bit logical address, page size of 16K, and 4 bytes per page table entry a) How many pages are there in the logical address space? Suppose we use two level paging and each page table can fit completely in a frame. [4 pts] How many pages? [2 pts] Show your calculations here: b) For the above-mentioned system, give the breakup of logical address bits clearly indicating number of...

  • 17. A computer system implements a paged virtual memory system. Assume a 16-bit virtual address space...

    17. A computer system implements a paged virtual memory system. Assume a 16-bit virtual address space and a 24-bit physical address space. Assume that the first 6 bits of a virtual address index the page table and the rest of the bits are the page offset. A process has the following indexed page table. Index Page Table Entry (PTE) 0x3800 0x3600 0x3200 0x1000 2 3 Each page table entry qives a hexadecimal page frame addresses. Translate the following two hexadecimal...

  • A logical address is divided into 3 bits segment number, 4 bits page number, and 9...

    A logical address is divided into 3 bits segment number, 4 bits page number, and 9 bits page offset. {(s,p,w) = (3,4,9)} Answer the following questions in relation to the address space. 1) The maximum number of segments per process is given by 2) The maximum number of pages per segment is given by 3) The maximum page size is given by 4) The maximum segment size is given by 5) The maximum size of the address space is given...

  • Consider the page table shown below for a system with 16-bit virtual and physical addresses and...

    Consider the page table shown below for a system with 16-bit virtual and physical addresses and with 4096-byte pages. All numbers below are given in hexadecimal. (A dash for a page frame indicates that the page is not in memory.) Page Number Physical Frame Number 0 - 1 2 2 C 3 A 4 - 5 4 6 3 7 - 8 B 9 0 How many bits are in the offset part of the address? How many hex digits...

  • Address Translation Question [8 points] Suppose a computing system uses paging with a logical add...

    Address Translation Question [8 points] Suppose a computing system uses paging with a logical address of 24 bits and a physical address of 32 bits. The page size is 4KB. Answer each of the following. If an answer is a power of 2, you can leave it in the form of a power of 2. ... 2. [20 points] Memory address translation and TLB performance [8 points] Suppose a computing system uses paging with a logical address of 24 bits...

  • 36.-Assume a 32 bit memory space with 16[KB] pages/frames and a two-level page table. Answer the...

    36.-Assume a 32 bit memory space with 16[KB] pages/frames and a two-level page table. Answer the following questions: a).-what is the size of the page table in bytes needed for a process that has only 64[MB] of code at the start of its virtual address range? b).-how many bits are used for address (frame) offset, and how many for page table indexing (total). Assume each page table entry has 32 bits. a).-Size of page table b).-Offset bits b).-Page table indexing...

  • 1. Assume that your machine uses 16-bit virtual address and 14-bit physical address with 4KB page...

    1. Assume that your machine uses 16-bit virtual address and 14-bit physical address with 4KB page size. To get full credit, show your work. a. Show bits of the virtual address and physical address. b. What is the maximum program size that can be run in this machine? c. What is the maximum physical memory that this machine can have? d. Show the numbers of virtual pages and page frames. e. What is the table size if a page entry...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT