1.1 Data Representation-2
1.1 Data Representation-2
Objectives
• represent positive numbers in hexadecimal notation
• convert positive hexadecimal integers to and from denary (a
maximum of four hexadecimal digits will be required)
• convert positive hexadecimal integers to and from binary (a
maximum of 16 bit binary numbers will be required)
1
11/08/2022
2
11/08/2022
Solve-1
Convert the following denary numbers to hexadecimal
a) 101
b) 1551
c) 65
d) 168
e) 20
3
11/08/2022
4
11/08/2022
Solve-2
Convert the following hexadecimal numbers to denary
a) 15
b) 1AB
c) E9
d) 2F2
e) 23
5
11/08/2022
Solve-3
Convert the following hexadecimal numbers to binary
a) 15
b) 1AB
c) E9
d) 2F2
e) 23
6
11/08/2022
Solve-4
Convert the following binary numbers to hexadecimal
a) 10101100
b) 110110110111
c) 100110011000
d) 11001010
e) 111110011
References/Resources
https://www.mathsisfun.com/binary-decimal-hexadecimal-converter.html