2.6 Hexadecimal and denary Flashcards
1
Q
Hexadecimal place values
A
0 1 2 3 4 5 6 7 8 9 A B C D E F
2
Q
steps to convert denary to hexadecimal
A
- divide the number by 16
- round down the lowest integer
- x 16 by that number
- take it from the original
- write the remainder in the second column
3
Q
converting hexadecimal to denary
A
- multiply the first digit by 16
- add the second digit
4
Q
a) Convert the denary number 236 into a hexadecimal number. [1]
b) Convert the hexadecimal number 9C into a denary number. [1]
A
a) EC
b) 156
5
Q
In a colour selector in a graphics program, the code for a 24-bit colour called firebrick can be represented by the RGB code 178-34-34 consisting of 3 denary numbers.
How would the colour be represented in hexadecimal notation in the colour selector?
Explain your answer [3]
A
each denary number is converted to hexadecimal
178 = B2
34= 22
therefore the colour would be represented as B22222