Number are two types
Non positional number are those symbols which we uses instead of the decimal number like(i=1,ii=2,iii=3,iv=4)etc. those symbols represents the same value regardless of its position in a number.
Positional number:-positional number there are only a few symbols called digits.these symbols represent different values depending on the position they occupy in number.
Some positional number are
1 decimal number system
2 binary number system
3 octal number system
4 Hexadecimal number system
Decimal number system:- in this system base in equal to 10 .because there are altogether ten symbols or digits( 0,1,2,3,4,5,6,7,8 and 9)
Binary number system:-in binary number ststem ,the value of base is two because it has only two symbols or digits(0,1)
Octal number system:- in octal number system the base value is 8(eight) ,hence there are only eight symbols or digits(0,1,2,3,4,5,6 and 7)
Hexadecimal number system:-In hexadecimal number system base is 16 (sixteen) ,hence there are 16 symbols or digits ,the first 10 digits are the same digits of decimal 0 to 9 and other six are (A,B,C,D,E and F)
How to convert binary number decimal number ?
For example
1. 10101010= 1*27+0*26+1*25+0*24+1*23+0*22+1*21+0*20
128+0+32+0+8+0+2+0
=170
Then binary number 10101010 means 170 decimal number.
2. 110111=1*25+1*24+0*23+1*22+1*21+1*20
=32+16+0+4+2+0
=54
There for binary number 110111 means 54decimal number.
how to convert decimal to binary number
1 542=542/2
=(271-0)/2
=(135-1)/2
=(67-1)/2
=(33-1)/2
=(16-1)/2
=(8-0)/2
=(4-0)/2
=(2-0)/2
=1-0
THEN THE DECIMAL NUMBER 542 MEANS 1000011110 BINARY NUMBER
3. 45=45/2
=(22-1)/2
=(11-0)/2
=(5-1)/2
=(2-1)/2
=1-0
Then the decimal number 45 means 101101 binary number.
How to convert binary number to octal number
1. 1101= 1*83+1*82+0*81+1*80
=512+64+0+1
=577
2. 110011=1*85+1*84+0*83+0*82+1*81+1*80
=32768+4096+0+0+8+1
=36873
How to convert decimal to octal number
1. 4510=
Divided |
|
Remainder |
45/8=5 |
|
|
5/8=0 |
5 |
|
|
|
The octal number is remainder buttom to up.that means 4510=558
2. 23010=
divided |
Reminder |
|
230/8=28 |
6 |
|
28/8=3 |
4 |
|
3/8=0 |
3 |
|
That means 23010=3468
How to convert decimal number to hexadecimal number
1. 8510=
Divide |
Reminder |
|
85/16=5.3125 |
5 |
|
.3125*16 |
5 |
|
Then the decimal number 8510=5516
divide |
reminder |
456/16=28.5 |
|
28.5/16=1.78125 |
1 |
.78125*16=12.5 |
12 |
.5*16=8.0 |
8 |
that means 45610=1C816
No comments:
Post a Comment