2.6 Hexadecimal and binary Flashcards
1
Q
converting binary to hexadecimal
A
- split the 8 bit byte into two 4 bit nibbles
- convert the bits in each nibble into denary numbers using the place values
- add these together to give the hexadecimal
2
Q
converting hexadecimal to binary
A
- each hexadecimal digit is converted to denary
- each denary number is converted into a nibble
- the nibbles are combined
3
Q
use of hexadecimal
A
- used to help humans cope with long strings of binary digits as they are shorter in hexadecimal
- MAC addresses are given in hexadecimal form
- when a computer malfunctions, error code numbers are given in hex
- hex is also used to represent numerical values in assembly language
4
Q
true colour and hex
A
true colour uses 24 bits to code every available colour variation, 2[24] = 16 777 216 (over 16 mill)
each one is represented by three 8 bit numbers that can be simplified to three 2-digit hexadecimal ones
it is easier to remember and enter the hexadecimal number than the 24 digit binary number
5
Q
Convert the bit pattern 10110111 into hexadecimal. [1]
A
B7
6
Q
Convert the hexadecimal number E9 into a binary number. You must show your working. [2]
A
11101001