✔ 最佳答案
1. 345(8)=11100101(2)
2. 123(8)=1010011(2)
3. 332(8)=11011010(2)
4. AA(16)=10101010(2)
5. AB(16)=10101011(2)
6. AC(16)=10101100(2)
2010-04-08 12:40:51 補充:
2^0 = 1(10) = 1(2)
2^1 = 2(10) = 10(2)
2^2 = 4(10) = 100(2)
2^3 = 8(10) = 1000(2) = 10(8)
2^4 = 16(10) = 10000(2) = 10(16)
2010-04-08 12:43:55 補充:
1. 345(8) = 3x8^2 + 4x8^1 +5x8^0
= 3x2^8 + 4x2^4 + 5x2^0
3(10)=11(2)
4(10)=100(2)
5(10)=101(2)
Therefore, 345(8)=11100101(2)
2010-04-08 12:46:20 補充:
2. 123(8) = 1x8^2 + 2x8^1 +3x8^0
= 1x2^8 + 2x2^4 +3x2^0
1(10)=1(2)
2(10)=10(2)
3(10)=11(2)
Therefore, 123(8) =1010011
2010-04-08 12:48:28 補充:
3. 332(8) = 3x8^2 + 3x8^1 + 2x8^0
= 3x2^8 + 3x2^4 + 2x2^0
3(10)=11(2)
2(10)=10(2)
Therefore, 332(8)=11011010
2010-04-08 12:50:43 補充:
4. AA(16) = 10x16^1 + 10x16^0
= 10x2^4 + 10x2^0
10(10) = 1010
Therefore, AA(16) = 10101010
2010-04-08 12:52:08 補充:
5. AB(16) = 10x16^1 + 11x16^0
= 10x2^4 +11x2^0
10(10) = 1010(2)
11(10) = 1011(2)
Therefore, AB(16)=10101011
2010-04-08 12:53:41 補充:
6. AC(16) = 10x16^1 +12x16^0
=10x2^4 + 12x2^0
10(10) = 1010(2)
12(10) = 1100(2)
Therefore, AC(16) = 10101100
2010-04-08 13:02:07 補充:
其實由8進制轉2進制同16進制轉2進制都好容易,可以唔轉10進制
假設XY(8), X同Y代表任何數字(0-7)
只要將X同Y分別轉2進制並各占3個位(because 2^3=1000=8)(由後數起)
2010-04-08 13:03:29 補充:
假設XY(16), X同Y代表任何數字(0-F)(0-15)
只要將X同Y分別轉2進制並各占4個位(because 2^4=10000=16)(由後數起)
2010-04-08 13:05:03 補充:
上面成日漏左打(2)
對不起