0% found this document useful (0 votes)
5 views10 pages

Number System

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views10 pages

Number System

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 10

Number System

NUMBERING SYSTEM
A numbering system is identified by
it’s base.
Base indicates two things

Number of digits in that numbering
system

The Coefficient of every digit
For example “Decimal numbering
system” has the base 10, it means
it has 10 digits.
The Coefficient of every digit in
decimal numbering system is 10
NUMBERING SYSTEM
Decimal Binary Octal Hexadecimal

0 0000 0 0 A
1 0001 1 1 B
2 0010 2 2
3 0011 3 3 C
4 0100 4 4 D
5 0101 5 5
6 0110 6 6 E
7 0111 7 7 F
8 1000 10 8
9 1001 11 9
(base 10) (base 2) (base 8) (base 16)
CONVERSION
From any numbering system to Decimal :
Perform the following four steps

1. Write every number by multiplying it with it’s


base
2. Write Plus sign between all numbers
3. Write powers on every base, start from the
right side. The power of first base is zero, the
power of second base is 1, the power of third
base is 2 and so on.
4. Calculate the result, the answer is in base 10
(decimal number)
CONVERSION EXAMPLE 1
Convert (345)8 = (?)10

Step 1 Complete

2 1 0
Step 2 Complete
3*8 + 4*8 + 5*8

Step 3 Complete
= 3 * 64 + 4 * 8 + 5 * 1

Step 4 Complete
= 192 + 32 + 5

= ( 229 ) Decimal
10 Number
CONVERSION EXAMPLE 2
Convert (243)5 = (?)10
BASE 5
0
2 1 0 1
2*5 + 4*5 + 3*5
2
= 2 * 25 + 4 * 5 + 3 * 1 3
4
= 50 + 20 + 3

= ( 73 ) Decimal
10 Number
CONVERSION EXAMPLE 3
Convert (136)7 = (?)10
BASE 7
0
2 1 0 1
1*7 + 3*7 + 6*7
2
= 1 * 49 + 3 * 7 + 6 * 1 3
4
= 49 + 21 + 6 5
6
= ( 76 ) Decimal
10 Number
CONVERSION EXAMPLE 4
Convert (11010)2 = (?)10

4 3 2 1 0
1*2 + 1*2 + 0*2 + 1*2 + 0*2

= 1 * 16 + 1 * 8 + 0 * 4 + 1 * 2 + 0 * 1

= 16 + 8 + 0 + 2 + 0

= ( 26 ) Decimal
10 Number
Conversion from Decimal to Binary

Take the LCM of the given decimal


number and write the digits in the binary
form from top to bottom
CONVERSION EXAMPLE1

(30)10 = (?) 2 2 30
2 15 - 0

2 7–1

2 3–1
1–1
= (11110) 2 Decimal Number

You might also like