DATA REPRESENTATION AND NUMBER SYSTEMS
BINARY OCTAL DECIMAL AND HEXADECIMAL NUMBER SYSTEMS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
1 Byte in data
|
|
1 Bit of data
|
|
8 bits of data
|
|
2 nibbles of binary values
|
Detailed explanation-1: -The 4-bit binary number is called a “nibble” which is equivalent to a hexadecimal digit. The byte is made up of 8-bits or two nibbles and as two hexadecimal digits represent such its equivalent. For example, the binary number (101001112) is split into two halves/ nibbles (1010 01112).
Detailed explanation-2: -Converting between hex and binary is easy, because each digit of a hexadecimal number “maps” to four bits (a bit being an individual binary digit) of a binary value. So a byte–eight binary digits–can always be represented by two hexadecimal digits.
Detailed explanation-3: -Each hexadecimal digit represents four bits (binary digits), also known as a nibble (or nybble). For example, an 8-bit byte can have values ranging from 00000000 to 11111111 in binary form, which can be conveniently represented as 00 to FF in hexadecimal.