Converting Between Binary and Hexadecimal (AQA GCSE Computer Science): Flashcards
📚Flashcards
Practise the cards
12 cards from this deck
ShowHide
Practise the cards
12 cards from this deck
How many binary digits per hex digit?
How many binary digits per hex digit?
Exactly 4 (a nibble)
What is a nibble?
What is a nibble?
A 4-bit binary number
Hexadecimal base
Hexadecimal base
Base 16 ()
Symbols in hexadecimal
Symbols in hexadecimal
0-9 and A-F (16 symbols)
Value range of a nibble (decimal)
Value range of a nibble (decimal)
0 to 15
1st step: binary to hex
1st step: binary to hex
Split into 4-bit groups from right
If leftmost group <4 bits (binary→hex)
If leftmost group <4 bits (binary→hex)
Add leading zeros
Method: hex to binary
Method: hex to binary
Each hex digit → 4 binary digits, combine all
Hex A in binary
Hex A in binary
1010
Hex F in binary
Hex F in binary
1111
GCSE hex range
GCSE hex range
00 to FF
GCSE binary range (8-bit)
GCSE binary range (8-bit)
00000000 to 11111111
