1. .
( 2) | ( 8) | ( 10) | ( 16) | ||
0 1 | 0 1 2 3 4 5 6 7 | 000 001 010 011 100 101 110 111 | 0 1 2 3 4 5 6 7 8 9 | 0 1 2 3 4 5 6 7 8 9 A B C D E F | 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 |
1.2 .
, . .
.
) 10101101.1012 "10" ..
.
10101101.1012 = 1 27+ 0 26+ 1 25+ 0 24+ 1 23+ 1 22+ 0 21+ 1 20+ 1 2-1+ 0 2-2+ 1 2-3 = 173.62510
) 703.048 "10" ..
703.048 = 7 82+ 0 81+ 3 80+ 0 8-1+ 4 8-2 = 451.062510
) B2E.416 "10" ..
B2E.416 = 11 162+ 2 161+ 14 160+ 4 16-1 = 2862.2510
, , , . , .
.
) 18110 "8" ..
: 18110 = 2658
) 62210 "16" ..
: 62210 = 26E16
.
, . . , .
.
0.312510 "8" ..
: 0.312510 = 0.248
. ( ) . .
.
0.6510 "2" .. 6 .
: 0.6510 0.10(1001)2
.
.
23.12510 "2" ..
1) : | 2) : |
: 2310 = 101112; 0.12510 = 0.0012.
: 23.12510 = 10111.0012.
, , - .
() (. 1) () (. 1), .
|
|
.
) 305.48 "2" ..
) 7B2.E16 "2" ..
() : , () , . () () .
.
) 1101111001.11012 "8" ..
) 11111111011.1001112 "16" ..
.
. 175.248 "16" ..
: 175.248 = 7D.516.
1.3 .
, .
0+0=0 0+1=1 1+0=1 1+1=10 | 0-0=0 1-0=1 1-1=0 10-1=1 | 0 0=0 0 1=0 1 0=0 1 1=1 |
, . , 1+1 .
. :
) X=1101, Y=101;
1101+101=10010.
) X=1101, Y=101, Z=111;
1101+101+111=11001.
1 . 1 1 .
. X=10010 Y=101. X-Y.
10010 - 101=1101.
, .
. 1001 101=?
1001 101=101101.
, . .
. 1100.011: 10.01=?
1100.011: 10.01=101.1.
1.
1. :
) 1101112; ) 10110111.10112; ) 563.448; ) 721.358; ) 1C4.A16; ) 9A2F.B52.
2. "10" . "2", "8", "16" ..:
) 463; ) 1209; ) 362; ) 3925; ) 11355.
3. "10" . "2", "8", "16" .. ( - 5 ):
) 0.0625; ) 0.345; ) 0.225; ) 0.725; ) 217.375; ) 31.2375; ) 725.03125; ) 8846.04.
4. :
) 1725.3268; ) 341.348; ) 7BF.52A16; ) 3D2.C16.
5. :
) 11011001.010112 "8" ..;
) 1011110.11012 "8" ..;
) 1101111101.01011012 "16" ..;
) 110101000.1001012 "16" ..
6. :
|
|
) 312.78 "16" ..; ) 51.438 "16" ..;
) 5B.F16 "8" ..; ) D4.1916 "8" ..
7. X Y. X+Y X-Y, :
) X=1101001; Y=101111;
) X=101110110; Y=10111001;
) X=100011001; Y=101011.
8. X Y. X*Y X/Y, :
) X=1000010011; Y=1011;
) X=110010101; Y=1001;
) X=100101.011; Y=110.1;
) X=100000.1101; Y=101.01.