Number-Systems 662e2885851e6
Number-Systems 662e2885851e6
System
Name Base
Binary 2
Decimal 10
Octal 8
Hexadecimal 16
Decimal Number System
• Base is 10
• Symbols 0,1,2,3,4,5,6,7,8,9
• Each position in a decimal number represents a power of the base 10
1 5 3 6
(103 * 1)0 (102 * 5)03 (101 * 3)0
3 (100 * 6)03 3 * (
1000 + 500 + 30 + 6
𝐴𝑛𝑠𝑤𝑒𝑟: 153610
Binary Number System
• Base of Binary Number system is 2
• Symbols 0,1
• Each position in a binary number represents a power of the base 2.
• The binary or base 2 number system uses only the digits 0 and 1 .
• These binary digits are called bits
10112
LSB
MSB
Last Significant Bit
Most Significant Bit
Octal Number System
• Base of Binary Number system is 8
• Symbols 0,1,2,3,4,5,6,7
• Each position in a binary number represents a power of the base 8.
37048
Hexadecimal Number System(Hex)
• Base is 16
• Symbols 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
• Each position in a hexadecimal number represents a power of the base
16
• Ex: 3𝐹7𝐴 16
• Decimal Equivalents od hexadecimal numbers
Converting Numbers
Decimal To Binary
Convert the 1510 to binary equivalent.
Decimal To Binary Cont.
i. Convert the 37 10 to binary equivalent.
ii. Convert the 83 10 to binary equivalent.
iii. Convert the 65 10 to binary equivalent.
Decimal To Octal
Decimal To Octal
1.Convert 45610 to Octal
2.Convert 21210 to Octal
3.Convert 10110 to Octal
4.Convert 5210 to octal.
5.Convert (127)10 to Octal.
6.Convert 10010 to octal.
Decimal To Hex
Decimal To Hex
I. 42 10
II. 3725 10
III. 75 10
IV. 2048 10
V. 910 10
Binary To Decimal
Ex:
Binary To Decimal
1. Convert 111102 into a decimal number system.
2. Convert 01102 into a decimal system.
3. What is the equivalent decimal system of the binary number 1111 2?
4. How to convert the binary number 1110110 2 into a decimal number system?
5. Convert the binary number 01010012 into a decimal system.
6. Convert 11101012 into the decimal number system.
7. Convert the given binary number 100001 2 into a decimal number system.
8. Find the equivalent decimal system for the binary number 110011001 2.
9. Determine the equivalent decimal system for the binary system 111 2.
10. Convert 10010100012 into the decimal number system.
Binary To octal
• Separate the given binary number into 3 -bit groups
(Always starting from the LSB)
• Find the decimal equivalent of each 3 -bit group
Binary To octal
• 011111000100
• 1111110
• 111110011102
Binary To Hex
• Separate the given binary number into 4-bit
groups (Always starting from LSB)
• Find the decimal equivalent of each 4-bit group
• 1110102
• 110010012
Octal To Binary
I. 65218
II. 37048
Octal To Decimal
Octal To Decimal
I. Suppose 2158 is an octal number, then it’s decimal form will be,
II. Let 125 is an octal number denoted by 1258. Find the decimal
number.
III. 17658
IV. 7438
V. 37788
Octal To Hex
I. 116916
II. 𝐴40𝐹16
III. 9216
IV. 2𝐶016
Hex To Binary
• Keep on dividing the decimal number by the base of the desired number system until 0 is
obtained for the quotient.