Hexadecimal means 16. So that 4 binary bits are represented by a hexadecimal number.
0000 = 0 1000 = 8
0001 = 1 1001 = 9
0010 = 2 1010 = A
0011 = 3 1011 = B
0100 = 4 1100 = C
0101 = 5 1101 = D
0110 = 6 1110 = E
0111 = 7 1111 = F
Chat with our AI personalities
four
1. represent every individual digit of given hexadecimal in binary form like this 4---------> 0100 8---------> 1000 7---------> 0111 2. combine the individual binary digits in order to get the binary of given hexadecimal number 487 ------------> 0100 1000 0111 ( required binary number )
You could first convert it to binary, and then to hexadecimal. Because octal and hexadecimal bases are both powers of two, the conversion between those bases and binary is quite easy. To go from octal to binary, take each digit in the number, and convert it to three binary digits: 5 -> 101 3 -> 011 2 -> 010 4 -> 100 So the binary version of the number is: 101 011 011 010 100 In order to convert to hexadecimal, your number of digits needs to be divisible by four (as 24 = 16). To get that, we need to add a digit, which will be a zero as our leftmost digit: 0101 0110 1101 0100 Now we can convert each of those sets of four binary digits into single hexadecimal digits, giving us our final answer: 9AD8
Each 4 bits of binary can make 1 hexadecimal digit. There are 16 hexadecimal characters including zero. This can be shown by the equation 2^4 = 16.
8