Join 60,000+ competitive exam aspirants
Number of Hex digits needed to represent the 20-bit address of a memory location are______.
20
16
5
4
5
To represent a binary address in hexadecimal, the binary bits are grouped into sets of four. Since each hexadecimal digit corresponds to exactly four binary digits (bits), a 20-bit address requires 20 divided by 4, which equals 5 hexadecimal digits.
To represent a binary address in hexadecimal, the binary bits are grouped into sets of four. Since each hexadecimal digit corresponds to exactly four binary digits (bits), a 20-bit address requires 20 divided by 4, which equals 5 hexadecimal digits.
Hex┬аDigits=4NтАЛ тАФ where N is the number of bits in the address
The hexadecimal number system is base-16, where 16=2┬░4. Because four binary bits are represented by a single hexadecimal digit (ranging from 0-F), any n-bit memory address can be converted to hexadecimal by dividing the total number of bits by 4. For a 20-bit address, the conversion is 420тАЛ=5 hex digits.
Hexadecimal is a base-16 system.
Binary representation uses base-2 (2┬░4=16).
Each group of 4 binary bits maps uniquely to one hex character (0тИТ9,AтИТF).
The 8085 microprocessor uses a 16-bit address (4 hex digits), while 8086 uses a 20-bit address (5 hex digits).
Reduces the length of long binary strings significantly.
Easier for humans to read and write memory addresses.
Requires conversion logic for hardware/software interaction.
Not directly understood by digital logic gates which operate on binary.
Memory addressing in microprocessors.
Representation of machine code and opcodes.
Debugging and system architecture documentation.
A 20-bit address space allows for 2┬░20 locations, which is equivalent to 1 Megabyte of memory.
Option D (4) is incorrect as it only accounts for 16-bit addresses (e.g., 8085 processor).
C is correct тАФ A 20-bit address requires 5 hexadecimal digits because each hex digit represents a 4-bit nibble.
Remember that for any N-bit address, the number of hex digits is always ceil(N/4); this is a standard recurring question in exams like GATE and ISRO.