Thursday, 14 September 2017

JANUARY 2017 - OPERATING SYSTEM QUESTION - PAPER III




JANUARY 2017 – PAPER III

OPERATING SYSTEM QUESTIONS

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

Ans:- 3

Explanation:

Always page size = frame size for minimizing the internal fragmentation.

Text Box: Number of bits for logical address = Number of bits to represent pages + Number of bits to represent bytes per page size.LOGICAL ADDRESS CALCULATION






In the above question, number of pages = 64, and 512 bytes page size.

64 = 26 . So, number of bits to represent pages = 6.

512=29. So, number of bits to represent bytes per page size = 9.

So, the number of bits for logical address = 6 + 9 = 15

PHYSICAL ADDRESS CALCULATION

Text Box: Number of bits for physical address = Number of bits to represent frames + Number of bits to represent bytes per frame size.

 


In the above question, number of page frames = 32, and frame size is the same as page size which is 512 bytes.
32 = 25. So, number of bits to represent frames = 5.

512=29. So, number of bits to represent bytes per frame size = 9.

So, the number of bits for physical address = 5 + 9 = 14.

Therefore, the number of bits required in logical and physical address are 15 and 14 respectively.

So, the correct answer is 3.












4 comments:

  1. I truly like to reading your post. Thank you so much for taking the time to share such a nice information. I'll definitely add this great post in my article section.
    11 Plus Leap

    ReplyDelete
  2. Hey admin, I found some really interesting things. Thank you so much for sharing this. Quick Solutions to Error Codes on Canon Printer

    ReplyDelete
  3. Such an Amazing post. I am so grateful for you. Much thanks again. Keep reading How to Troubleshoot Brother Printer Error Code E54

    ReplyDelete