10,791 views
6 votes
6 votes

If there are 32 segments, each size 1 k bytes, then the logical address should have

  1. 13 bits
  2. 14 bits
  3. 15 bits
  4. 16 bits

2 Answers

Best answer
15 votes
15 votes

Answer : 15 bits

To specify a particular segment, 5 bits are required. How 2^5 = 32 ===> so 5 bits

To select a particular byte after selecting a page, 10 more bits are required. Hence 15 bits are required.

How 1 KByte ===> 2^10

So Total is 10+5 =15

selected by
3 votes
3 votes
Format of logical Address:       segment number           Block offset

32 segments, In order to represent these segments we require 5 bits

Block offset = 1 Kbytes = 2^10 bytes  =10 bits require for offset

5 + 10 =15 bits (C) will be answer
Answer:

Related questions

6 votes
6 votes
3 answers
3
Cruise Device asked Jan 26, 2016
3,486 views
Which page replacement policy sometimes leads to more page faults when size of memory is increased?A] OptimalB] LRUC] FIFOD] None of these.
0 votes
0 votes
1 answer
4
Cruise Device asked Jan 26, 2016
2,423 views
Match the pairs in the following questionPair - 1A. Virtual MemoryB. Shared MemoryC. Look-ahead bufferD. Look-aside bufferPair - 2P. Temporal localityQ. Spatial localityR...