1 / 6

单片机程序设计 课后习题

单片机程序设计 课后习题. 主讲:陈月云. 进制转换习题. 1. 十进制数 1000 对应二进制数为 ______ ,对应十六进制数为 ______ 。 A :① 1111101010 ② 1111101000 ③ 1111101100 ④ 1111101110 B :① 3C8 ② 3D8 ③ 3E8 ④ 3F8 2. 十进制小数为 0.96875 对应的二进制数为 ______ ,对应的十六进制数为 ______ 。 A :① 0.11111 ② 0.111101 ③ 0.111111 ④ 0.1111111

lester-luna
Télécharger la présentation

单片机程序设计 课后习题

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 单片机程序设计课后习题 主讲:陈月云

  2. 进制转换习题 1.十进制数1000对应二进制数为______,对应十六进制数为______。 A:① 1111101010 ② 1111101000 ③ 1111101100 ④ 1111101110 B:① 3C8 ② 3D8 ③ 3E8 ④ 3F8 2.十进制小数为0.96875对应的二进制数为______,对应的十六进制数为______。 A:① 0.11111 ② 0.111101 ③ 0.111111 ④ 0.1111111 B:① 0.FC ② 0.F8 ③ 0.F2 ④ 0.F1 3.十六进制的100化为十进制为______。 ① 160 ② 180 ③ 230 ④ 256

  3. 4.十六进制数FFF.CH相当十进制数______。 ① 4096.3 ② 4096.25 ③ 4096.75 ④ 4095.75 5.2005年可以表示为______ 年;而37308年是指______ 年。 A:① 7C5H ② 6C5H ③ 7D5H ④ 5D5H B:① 226065 ② 226210 ③ 226056 ④ 226810 6.十六进制数123.4对应的十进制分数为______。 ① 3495 ② 3495 ③ 1165 ④ 1165

  4. 7.对于不同数制之间关系的描述,正确的描述为______。7.对于不同数制之间关系的描述,正确的描述为______。 ① 任意的二进制有限小数,必定也是十进制有限小数。 ② 任意的八进制有限小数,未必也是二进制有限小数。 ③ 任意的十六进制有限小数,不一定是十进制有限小数。 ④ 任意的十进制有限小数,必然也是八进制有限小数。 8.十进制的160.5相当十六进制的______,十六进制的10.8相当十进制的______。 A:① 100.5 ② 10.5 ③ 10.8 ④ A0.8 B:① 16.8 ② 10.5 ③ 16.5 ④ 16.4

  5. 9、十进制数2006等值于十六制数为,十进制数52对应的二进制数位。9、十进制数2006等值于十六制数为,十进制数52对应的二进制数位。 A、7D6 B、6D7 C、3726 D、6273 A、110110 B、110010 C、110100 D、110010 10、110110&110010,110110|110010, 110110~110010, 110110^110010,110110<<110010,110110>>110010。

  6. 本次练习所要达到的目的: • 掌握进制之间转换的技能,熟练各进 制之间转换的计算。由于单片机编程要用到进制之间转换(特别是十六进制与十进制之间的转换),以及为运算运算符的识别及计算,所以要求每位同学都必须掌握这一知识点。

More Related