• edited by
3,341 views
0 0 votes

5 Answers

1 1 vote
logical address
no. of pages P page size

now no. of pages are P of logical address is further used for 1st level table...as

P
  P1( no. of pages of page table)12bit  P2(page size of page tableIi.e 4KW)12 bit

  no . of frames = p.a.s/ frame size
frame size =  p.a.s/ no. of frames 
frame size = 128MW/ 214 = 213 W
 now frame size same as page size...
page size = 213 W

so P = P1 +P2

AND  page size of logical address is same as frame size

logical addess
P1+P2= 12+12= 24 BIT  PAGE SIZE = FRAME SIZE==>13 BIT                         

LOGICAL ADDRESS = 37 BIT

0 0 votes

Please see if this approach is right or wrong.

Let Logical Address Space be x words.

Now, Page Size =  Frame Size = $\frac{Physical Address Space}{No. of Frames}$ = $\frac{2^{27}}{2^{14}}$ = 213 words.

Number of Pages = $\frac{x}{2^{13}}$

Page Table Entry = Number of bits to address each frame = 14bits = 1.75B

Number of pages in inner Page Table = $\frac{x * 1.75}{2^{13} * 2^{12}}$ (Each page of a Page Table is 4KW)

Now, $\frac{x * 1.75}{2^{13} * 2^{12}}$ = 212 (Page Table is divided into 212 Pages)

Solving, we get, x = 1.14 * 236 $\approx$ 21 * 36 = 237 = 37bits.

Please check this!!

0 0 votes
PAS = $2^{27}$W

with $2^{14}$ Frames

$\Rightarrow $ size of frame$ = $ size of Page $ =2^{13}$W

LAS =$13+12+12=37$ bits
0 0 votes
Logical address- p1+p2+d

We have d =13 bits and p2=12bits p1=12bits
Frame size=page size= PAS/no of frames = 128Mw/2^14=2^13
 

So LA= 37bits.

P1 is no of pages in first page table.

P2 is offset of each page of first page table.

d= offset value of page
Position:
Show:

Related questions

0 0 votes
0 0 answers
838
838 views
2 2 votes
2 2 answers
156
156 views
GO Classes asked Aug 12
156 views
Which of the following statements about virtual memory is correct?The LRU algorithm selects for replacement the page for which the longest time has elapsed since its last...
0 0 votes
0 0 answers
222
222 views
tarunmundriya asked Dec 27, 2025
222 views
Consider the page table for a system with 16-bit virtual and physical addresses and 4,096-byte pages.The reference bit for a page is set to 1 when the page has been ref- ...
0 0 votes
1 1 answer
205
205 views
tarunmundriya asked Dec 27, 2025
205 views
Consider the page table for a system with 12-bit virtual and physical addresses and 256-byte pages.The list of free page frames is D, E, F (that is, D is at the head of t...