The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+4 votes
4.2k views

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
asked in Operating System by Veteran (99.8k points) | 4.2k views

2 Answers

+14 votes
Best answer

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

answered by Boss (45.1k points)
selected by
0
with assumption of memory is byte addressable.
0
generally it is word addressable but here Byte.
+4
Generally it is byte addressable - it is more common.
+1 vote
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
answered by Boss (24.9k points)


Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

38,115 questions
45,622 answers
132,338 comments
49,308 users