十六进制转换为二进制 [英] hexadecimal to binary conversion
问题描述
我有个问题:
$ b
1A45(十六进制)GB = _ ____ (二进制)字节
请告诉如何填写答案!
以常规方式进行计算,需要花费很多时间和我无法得到答案......
十六进制转换很容易,因为每个十六进制数字是四位长。记住这张表,你就可以很容易地在脑海中进行转换:
0 0000
$ p
1 0001
2 0010
3 0011
4 0100
5 0101
6 0110
7 0111
8 1000
9 1001
A 1010
B 1011
C 1100
D 1101
E 1110
F 1111
$ b只需将每个十六进制数字替换为其相应的四位数,就可以得到答案的第一部分。
<现在对于GB:K表示10个二进制零,M表示20个二进制零,G表示30个二进制零。在您的HEX转换为BIN号码的末尾添加零以获得最终答案。I have a question:
1A45 (Hexadecimal) GB= _____ (Binary) Bytes
Please tell how to fill in the answer!
Doing the calculation the conventional way, it takes a lot of time and i am not able to get the answer ...
解决方案Hex-Bin conversion is easy, because each hex digit is four bit long. Memorize this table, and you'll be able to do conversion in your head very easily:
0 0000 1 0001 2 0010 3 0011 4 0100 5 0101 6 0110 7 0111 8 1000 9 1001 A 1010 B 1011 C 1100 D 1101 E 1110 F 1111
Just replace each hex digit with its corresponding four bits, and you'll get the first part of your answer.
Now for the GB: K means 10 binary zeros, M means 20 binary zeros, G means 30 binary zeros. Add zeros to the end of your HEX-converted-to-BIN number to get your final answer.
这篇关于十六进制转换为二进制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!