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
  • 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...

  • For part A: convert the virtual address into page numbers and offset, and then into hexadecimal...

    For part A: convert the virtual address into page numbers and offset, and then into hexadecimal numbers. Redraw the page table showing which pages were referenced and in any needed to be loaded into memory and what frame was selected. Assume frames 6,7,11,and 12 are available. 9.22 The page table shown in Figure 9.32 is for a system with 16-bit virtual and physical addresscs and with 4,096-byte pages. The reference bit is been referenced. Periodically, a thread zeroes out all...

  • 3. Virtual Memory (20 points) An ISA supports an 8 bit, byte-addressable virtual address space. The...

    3. Virtual Memory (20 points) An ISA supports an 8 bit, byte-addressable virtual address space. The corresponding physical memory has only 256 bytes. Each page contains 32 bytes. A simple, one-level translation scheme is used and the page table resides in physical memory. The initial contents of the frames of physical memory are shown below. VALUE address size 8 bit byte addressable each byte of addressing type memory has its own address 32 B page size physical memory size 256...

  • NAME: The total number of pages that make up the executable program is shown (no fragmentation) T...

    NAME: The total number of pages that make up the executable program is shown (no fragmentation) The total size of a frame is equal to 1024 bytes The CPU accesses the next line of code to be executed The first four bits are the op code The size of a word in the system is 32 bits (16 bits) total program logical address pages page table 0 13 3 4 15 12 6 19 A. What is the logical page...

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
ADVERTISEMENT