NUMBER SYSTEM
decimal to binary
(45)------------(?)2
2|45 |
2|22 |1
2|11 |0
2|5 |1
2|2 |1
|1 |0
where (101101) is binaary number
chacking the number
(1 0 1 1 0 1) 2
5 4 3 2 1 0
1*2^5+ 0*2^4 +1*2^3+ 1*2^2+0*2^1+1*2^0
32+0+8+4+1=45
note when any number power zero so the value is alway 1
DECIMAL TO OCTAL
(95)-----------(?)8
8|95 |
8|11 |7
|1 |3
(137)8
( 1 3 7 )
2 1 0
1*8^2+1*8^3+7*8^0
64+24+7=95
where 8 power o meins that is alway one
BINARY TO HEXADECIMAL
(141)2-----------(?)16
16|321|
16| 20 | 1
|1 |4
(1 4 1 )
2 1 0
2*16^2+4*16^1+1*16^0
binary to decimal
(11100001)2--------- (?)10
slove it (1 1 1 0 0 0 1)
6 5 4 3 2 1 0
1*2^6+1*2^5+11*2^4+0*2^3+0*2^2+0*2^1+1*2^0
64+32+24+1== 113
(113)10
decimal to binary
(45)------------(?)2
2|45 |
2|22 |1
2|11 |0
2|5 |1
2|2 |1
|1 |0
where (101101) is binaary number
chacking the number
(1 0 1 1 0 1) 2
5 4 3 2 1 0
1*2^5+ 0*2^4 +1*2^3+ 1*2^2+0*2^1+1*2^0
32+0+8+4+1=45
note when any number power zero so the value is alway 1
DECIMAL TO OCTAL
(95)-----------(?)8
8|95 |
8|11 |7
|1 |3
(137)8
( 1 3 7 )
2 1 0
1*8^2+1*8^3+7*8^0
64+24+7=95
where 8 power o meins that is alway one
BINARY TO HEXADECIMAL
(141)2-----------(?)16
16|321|
16| 20 | 1
|1 |4
(1 4 1 )
2 1 0
2*16^2+4*16^1+1*16^0
binary to decimal
(11100001)2--------- (?)10
slove it (1 1 1 0 0 0 1)
6 5 4 3 2 1 0
1*2^6+1*2^5+11*2^4+0*2^3+0*2^2+0*2^1+1*2^0
64+32+24+1== 113
(113)10
...
Comments
Post a Comment