1 votes 1 votes Page Table is divided into 8K pages and each page contain 2k entries. Page table entry size is 4 bytes and page size is 1 K words Q find out a)Logical address b)no of pages in LAS c)1st level page table size d)2nd level page table size Meenakshi Sharma asked Sep 11, 2017 Meenakshi Sharma 418 views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply stblue commented Sep 12, 2017 i edited by stblue Sep 12, 2017 reply Follow Share Didn't notice page size is given in "word", so here is updated answer Since it's given page table is divided into 8K pages each page contain 2k entries, size of each entries will be 4 bytes, so page size will be 2k * 4 bytes = 8 KB. So we can conclude here 1 word = 8 Bytes a) 13 (1st level page table) + 11 (2nd level page table offset) + 13 (page size) = 37 bits b) No of pages in LAS =$\frac{2^{37}}{2^{10}}$ = 227 c) 8 k * 4 bytes = 32 KB d) 8 k * 2k * 4 bytes = 64 MB 1 votes 1 votes joshi_nitish commented Sep 12, 2017 reply Follow Share @stblue page size = 210 bytes inner page table size = 211*4 bytes = 213 bytes, shouldn't be inner page table fit in one page!! it is occupying more than one page. 0 votes 0 votes stblue commented Sep 12, 2017 reply Follow Share @joshi_nitish page size should be 213 Bytes, even i didn't notice its given in words, when i first read the question. Yes logically we need one more page table, for proper addressing. Right now inner and outer page table occupies more than one page . 0 votes 0 votes joshi_nitish commented Sep 12, 2017 reply Follow Share @stblue i think it should be like 2 (1st) 11 (2nd) 11 (3rd) 13 (offset) 1st page table need 2 index bits and second page table needs 11 bits, because it is nowhere mentioned that only 2 page tables are present, moreover taking only 2 page tables with above configuration is invalid. 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes page size is given in words , it first has to be converted to bytes right? A_i_$_h answered Sep 12, 2017 A_i_$_h comment Share Follow See all 0 reply Please log in or register to add a comment.