Beruflich Dokumente
Kultur Dokumente
Number System
Number System: A number System is a system that uses symbols to count the number of
items.
There are four Number Systems:
a) Decimal
b) Binary
c) Octal and
d) Hexadecimal.
Base or Radix of Number System:
Decimal = 10 (0,1,2,3,4,5,6,7,8,9)
Binary = 2 (0,1)
Octal = 8 (0,1,2,3,4,5,6,7)
Hexadecimal = 16 (0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F)
Base or Radix of a Number System:
Base or Radix of a Number System means there are 10 or 2 or 8 or 16 counting digits by
through which we can represent any quantity in that Number System.
Place Value or Position Value of Weight:
In base-10 (decimal) positional notation, there are 10 decimal digits and the number.
MSD
LSD
The digit to the extreme right is referred to as the Least Significant Digit (LSD).
The digit to the extreme left is referred to as the Most Significant Digit (MSD).
In base-2 (Binary) positional notation, there are 2 binary digits and the number (1001)2 = 1 2 3 + 0 2 2 + 0 21 +1 2 0 = (9)10
Conversion of Decimal Number into Binary Number:
312
152
72
32
12
Quotient
15
7
3
1
0
=
=
=
=
=
Remainder or Rest
1
1
1
1
1
+
+
+
+
+
(31)10 = (1111)2
Conversion of Binary Number into Decimal Number:
(11111)2
=1 2 4 +12 3 +1 2 2 +121 +1 2 0
=16
+8
+4
+2
+1
= (31 )10
(11111)2 = (31)10
Conversion of Decimal Number into Octal Number:
Quotient
47
5
0
3838 =
478 =
58
=
Remainder or Rest
7
7
5
+
+
+
(383)10 = (577)8
Conversion of Octal Number into Decimal Number:
(577)8
= 5 8 2 + 7 81 + 7 8 0
= 320 +56
= (383 )10
+7
=
=
=
Quotient
61
3
0
+
+
+
Remainder or Rest
2
13 (D)
3
(978)10 = (3D2)16
Conversion of Hexadecimal Number into Decimal Number:
(3D2)16
= 3 16 2 +13 16 1 +2 16 0
= 768
+ 208
= (978 )10
+2
(3D2)16 = (978)10
Conversion of fraction value from Decimal to Binary:
=0.656 2 =1.312 =0.312 with a carry
=0.312 2 =0.624 =0.624 with a carry
=0.624 2 =1.248 =0.248 with a carry
of 1
of 0
of 1
(0.656)10 = (0.10100)2
Conversion of Binary Number into Decimal Number:
(0.10100)2
= (1 2 1 +0 2 2 +1 2 3 +0 2 4 +0 2 5 )
= 0.5 +0 +0.125 +0 +0
= 0.625
(0.10100 ) 2 = (0.625 )10
of 5
of 1
of 7
of 6
= 5 8 1 +18 2 +7 8 3 +6 8 4
5
1
7
6
+
+
+
8 64 512
4096
= 0.625 +0.0156 +0.0137 +0.00146
=
= 0.6558
(0.5176 ) 8 = (0.6558 )10
= (0.9887 )10
1111
1000
1110
12(C) 15(F)
14 (E)
(1100111110001110)2 = (CF8E)16
Conversion of Octal Number into Binary Number:
(762)8
7
111
110
010
(762)8 = (111110010)2
Conversion of Hexadecimal into Binary Number:
(10A4)16
1
0001
0
0000
1010
0100
(10A4)16 = (0001000010100100)2
Binary Addition and Subtraction:
0+0=0
0+1=1
1+0=1
1 + 1 = 10
101
+101
1010
Binary Subtraction:
111
- 10
101
10
- 1
1
100
- 10
10
1010
- 110
100