CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
Question

If in a computer ; 16 bits are used to specify address in a RAM, the number of addresses will be

A
216
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
65,536
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
64K
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
Any of the above
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B 65,536

If in a computer ; 16 bits are used to specify address in a RAM, the number of addresses will be 65,536.

A 16-bit integer can store 216 (or 65,536) distinct values. In an unsigned representation, these values are the integers between 0 and 65,535; using two's complement, possible values range from −32,768 to 32,767. Hence, a processor with 16-bit memory addresses can directly access 64 KB of byte-addressable memory.

Yes, on a 32bit machine the maximum amount of memory usable is around 4GB. Actually, depending on the OS it might be less due to parts of the address space being reserved: On Windows you can only use 3.5GB for example. On 64bit you can indeed address 2^64 bytes of memory.


flag
Suggest Corrections
thumbs-up
0
mid-banner-image
mid-banner-image
Join BYJU'S Learning Program
Select...
similar_icon
Related Videos
thumbnail
lock
Evolution of Numbers
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
Select...