What is number system?
• The number system is simply a system to
represent or express numbers. There are
various types of number systems and the
most commonly used ones are
decimal number system, binary number
system, octal number system, and
hexadecimal number system.
• Each number system is characterized by its
base.
Decimal to binary
&
binary to decimal
conversion
()10 ()2
Convert (35)10 into binary
2 35 Remainder (100011)2
2 17 1
2 8 1
2 4 0
2 2 0
2 1 0
0 1
Convert (88)10 into binary
(88)10=(1011000)2
2 88 Remainder
2 44 0
2 22 0
2 11 0
2 5 1
2 2 1
2 1 0
0 1
Convert (88.625)10 into binary
(88.625)10 = (1011000.101)2
(.625)10 into binary---
.250 0.500
.625
* 2 * 2 * 2
1.250 0.500 1.000
1 01
Convert the following decimal into binary
A. (38.125)10 = (100110.001)2
B. (25.5) 10 = (11001.1) 2
C. (10.625) 10 = (1010.101) 2
D. (132.825) 10 = (10000100.110) 2
Convert (1100110)2 into decimal
0+2+4+0+0+32+64 =(102)10
1100110
0*20 = 0
1*21 = 2
1*22 = 4
0*23 = 0
0*24 = 0
1*25 = 32
1*26 = 64
Convert (1100110.111)2 into decimal
(1100110.111)2 = (102.875)10
.1 1 1
1 * 2 -3 =1 *1/8 0.125
+
1 * 2 -2 =1 *1/4 0.250
+
1 * 2 -1 =1 *1/2 0.500
0.875
Convert the following binary into decimal
A. 11001.110
B. 1100.100
C. 101100.001
D. 1101.111