reopened by
7,645 views
1 votes
1 votes

A memory management system has 64 pages with 512 bytes page size. Physical memory consists of 32 page frames. Number of bits required in logical and physical address are respectively:

  1. 14 and 15
  2. 14 and 29
  3. 15 and 14
  4. 16 and 32
reopened by

6 Answers

Best answer
1 votes
1 votes

we know, Number of page =Virtual adress space / Page size 

so virtual adrress space=Number of page*page size

                                  =26*29=215 

so we need 15 bit for VA

and Physical dress=Page size*frames =29*25=214

so 14 bit required for PA

C is correct answer Here

selected by
3 votes
3 votes

Ans will be (3) 15 and 14

Total pages =64 and bytes pe page =512 so total logical memory = 64x512=215  hence 15 bits are needed for logical memory

Total frames =32 and bytes per frame =512  so total physical memory =32x512=214  hence 14 bits are needed for physical memory

2 votes
2 votes

answer will be (c) because 

LAS: page no.(no.of bits required to represent pages) + page offset                                                           

page no.=log2(no.of pages) bits

              =6 bits

page offset=no. of bits required to represent page size

               =log2(512) bits

              =9 bits

 so for LAS 15 bits required

 PAS=  no. of bits required for represents frames+ page offset (page size=frame size)

              = log2(32) bits + 9 bits

               =14 bits

         

0 votes
0 votes

logical address : #pages (64->6 bit) + page size(512 ->9 bit)= 15 bit

physical address: #frame (32->5bit )+ page size(9bit)=14bit

option c is correct!

Answer:

Related questions

4 votes
4 votes
5 answers
1
go_editor asked Mar 24, 2020
1,684 views
Which of the following is incorrect for virtual memory?Large programs can be writtenMore I/O is requiredMore addressable memory availableFaster and easy swapping of proce...
0 votes
0 votes
4 answers
3
go_editor asked Mar 24, 2020
1,493 views
Match the following for Unix file system : $\begin{array}{clcl} & \textbf{List-I} & {} & \textbf{List-II} \\ \text{a.} & \text{Boot block} & \text{i.} & \text{Informat...