Converting Binary & Hexadecimal Flashcards
All 3 cards in this deck
How many binary digits does one hexadecimal digit represent?
4 binary digits, so two hex digits represent one byte.
What are the steps to convert an 8-bit binary number to hexadecimal?
e.g. convert 11011010- Split into two groups of 4 bits: 1101 and 1010.
- Convert each group to decimal: 13 and 10.
- Write each as a hex digit: DA.
What are the steps to convert a 2-digit hexadecimal number to binary?
e.g. convert 4F- Take each hex digit separately.
- Convert each to 4 bits: 4 = 0100, F = 1111.
- Join them: 01001111.