how do u convert binary to hex by splitting it into nibbles? stuck in my computing lesson

Guest Sep 26, 2016

#1**0 **

how do u convert binary to hex by splitting it into nibbles? stuck in my computing lesson

take this binary number

11001110101110111

I am going to split it into groups of 4 from the right

1 1001 1101 0111 0111

1 | 1001 | 1101 | 0111 | 0111 | |

1 | 2^3 + 1 | 2^3+2^2+1 | 2^2+2+1 | 2^2+2+1 | |

digit base 16 | 1 | 9 | D (13base10) | 7 | 7 |

base 10 converion | 1*16^4 | 9^16^3 | 13*16^2 | 7*16 | 7 |

base 10 | 65536 | 36864 | 3328 | 112 | 7 |

Add this altogether and you get

65536+36864+3328+112+7 = 105847

so

\(11001110101110111_2=105847_{10}\)

.Melody Sep 26, 2016