Q. Can you show Binary Number Formats?
We in general write binary numbers as a sequence of bits (bits is short for binary digits) and we have defined boundaries for these bits. These boundaries are:
Name
|
Size (bits)
|
Example
|
Bit
|
1
|
1
|
Nibble
|
4
|
0101
|
Byte
|
8
|
0000 0101
|
Word
|
16
|
0000 0000 0000 0101
|
Double Word
|
32
|
0000 0000 0000 0000 0000 0000 0000 0101
|
In any of the number base, we may add as many leading zeroes as we wish without changing its value. Though, we normally add leading zeroes to adjust the binary number to a desired size boundary.
For illustration, we can represent the number five as:
Bit
|
101
|
Nibble
|
0101
|
Byte
|
0000 0101
|
Word
|
0000 0000 0000 0101
|