ICT A/L O/L Pramodya Kodikara(070 200 62 63 ) Regency – Matale Isurusara – Matale
Conversion of other bases to Decimal numbers bases
Numbers and Alphabetic characters used
Number
System
Base
value
Number of
symbols in
the number
system (n)
Highet
value’s
symbol
(n-1)
Number and Alphabetic
character used
Binary 2 2 1 0,1,
Octal 8 8 7 0,1,2,3,4,5,6,7
Decimal 10 10 9 0,1,2,3,4,5,6,7,8,9
Hexa-
decimal
16 16 F (15) 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
What Is Number System ?
The number system is the system of
naming or representing numbers.
There are various types of number systems
in maths like binary, decimal, etc.
1 2
Most Significant Digit (MSD) and Least
Significant Digit (LSD)
5023
3
Most Significant Bit (MSB) and Least
Significant Bit (LSB)
110011 2
4
Converting Binary, Octal and Hexadecimal Numbers to Decimal Numbers
Binary Octal
Hexadecimal
Binary To Decimal
110110111 2 = 439
Octal To Decimal
5468=358
Hexadecimal To Decimal
456D16=17773
Converting Decimal Numbers to Binary, Octal and Hexadecimal Numbers (214 10 to other bases)
Decimal To Binary
11010110
Decimal To Octal
326
Decimal To Hexadecimal
D6
6
5
7
2
0
=1
2
1
=2
2
2
=4
2
3
=8
2
4
=16
2
5
=32
2
6
=64
2
7
=128
2
8
=256
2
9
=512
2
10
=1024
8
0
=1
8
1
=8
8
2
=64
8
3
=512
8
4
=4096
8
5
=32768
16
0
=1
16
1
=16
16
2
=256
16
3
=4096
16
4
=65536
16
5
=1048576
Unit 03
Data Reprentation of
Computer
(Number System)