Zadanie 1.
41₁₀ -> 101001
1 0 1 0 0 1
32 16 8 4 2 1
180₁₀ -> 10110100
1 0 1 1 0 1 0 0
128 64 32 16 8 4 2 1
180 - 128 = 52
52 - 32 = 20
20 - 16 = 4
361₁₀ -> 101101001
1 0 1 1 0 1 0 0 1
256 128 64 32 16 8 4 2 1
361 - 256 = 105
105 - 64 = 41
41 - 32 = 9
9 - 8 =1
574₁₀ -> 1000111110
1 0 0 0 1 1 1 1 1 0
512 256 128 64 32 16 8 4 2 1
574 - 512 = 62
62 - 32 = 30
30 - 16 = 14
14 - 8 = 6
6- 4 = 2
926₁₀ -> 1110011110
1 1 1 0 0 1 1 1 1 0
926 - 512 = 414
414 - 256 = 158
158 - 128 = 30
6 - 4 = 2
Zadanie 2
1101011₂ -> 107
1 1 0 1 0 1 1
64 32 16 8 4 2 1
64 + 32 + 8 + 2 + 1 = 107
110000001₂ -> 385
1 1 0 0 0 0 0 0 1
256 + 128 + 1 = 385
1010100001₂ -> 673
1 0 1 0 1 0 0 0 0 1
512 + 128 + 32 + 1 = 673
" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
Zadanie 1.
41₁₀ -> 101001
1 0 1 0 0 1
32 16 8 4 2 1
180₁₀ -> 10110100
1 0 1 1 0 1 0 0
128 64 32 16 8 4 2 1
180 - 128 = 52
52 - 32 = 20
20 - 16 = 4
361₁₀ -> 101101001
1 0 1 1 0 1 0 0 1
256 128 64 32 16 8 4 2 1
361 - 256 = 105
105 - 64 = 41
41 - 32 = 9
9 - 8 =1
574₁₀ -> 1000111110
1 0 0 0 1 1 1 1 1 0
512 256 128 64 32 16 8 4 2 1
574 - 512 = 62
62 - 32 = 30
30 - 16 = 14
14 - 8 = 6
6- 4 = 2
926₁₀ -> 1110011110
1 1 1 0 0 1 1 1 1 0
512 256 128 64 32 16 8 4 2 1
926 - 512 = 414
414 - 256 = 158
158 - 128 = 30
30 - 16 = 14
14 - 8 = 6
6 - 4 = 2
Zadanie 2
1101011₂ -> 107
1 1 0 1 0 1 1
64 32 16 8 4 2 1
64 + 32 + 8 + 2 + 1 = 107
110000001₂ -> 385
1 1 0 0 0 0 0 0 1
256 128 64 32 16 8 4 2 1
256 + 128 + 1 = 385
1010100001₂ -> 673
1 0 1 0 1 0 0 0 0 1
512 256 128 64 32 16 8 4 2 1
512 + 128 + 32 + 1 = 673