電腦轉制問題,如何轉十進制呢?

2010-12-13 7:13 am
Using the table below, convert the binary number 1101 0101 to decimal.


bit 8 128
bit 7 64
bit 6 32
bit 5 16
bit 4 8
bit 3 4
bit 2 2
bit 1 1


THANKS!!

回答 (2)

2010-12-13 8:50 am
✔ 最佳答案
因為下表﹕
bit 8 128 = 10000000
bit 7 64 = 1000000
bit 6 32 = 100000
bit 5 16 = 10000
bit 4 8 = 1000
bit 3 4 = 100
bit 2 2 = 10
bit 1 1 = 1
所以 11010101 = 128+64+0+16+0+4+0+1;即是213
2010-12-13 7:59 am
哦好簡單啫,你將bit1x1+bit2x2+bit3x4+...+bit8x128就可以,有0你無需計,記住bit1係最右手面。


收錄日期: 2021-04-25 16:48:44
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20101212000051KK01531

檢視 Wayback Machine 備份