数字电路与逻辑设计(人民邮电出版社)课后答案(邹红主编)

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

1-1将下列二进制数转换成等值的十进制数和十六进制数。(1)(1101010.01)2;(3)(11.0101)2;(2)(111010100.011)2;(4)(0.00110101)2;解:二进制数按位权展开求和可得等值的十进制数;利用进制为2k数之间的特点可以直接将二进制数转换为等值的十六进制数。(1)(1101010.01)2=1×26+1×25+1×23+1×21+1×2-2=(106.25)10=(6A.4)16(2)(111010100.011)2=1×28+1×27+1×26+1×24+1×22+1×2-2+1×2-3=(468.375)10=(1D4.6)16(3)(11.0101)2=1×21+1×20+1×2-2+1×2-4=(3.3125)10=(3.5)16(4)(0.00110101)2=1×2-3+1×2-4+1×2-6+1×2-8=(0.20703125)10=(0.35)161-2将下列十进制数转换成等值的二进制数、八进制数和十六进制数。要求二进制数保留小数点后4位有效数字。(1)(378.25)10;(3)(56.7)10;(2)(194.5)10;(4)(27.6)10;解法1:先将十进制数转换成二进制数,再用进制为2k数之间的特点可以直接将二进制数转换为等值的八进制数和十六进制数。(1)(378.25)10=(101111010.0100)2=(572.2)8=(17A.4)16(2)(194.5)10=(11000010.1000)2=(302.4)8=(C2.8)162221949748余数……0(LSB)……12222412623……0……0……0……0×0.521.0……1210……1……1(MSB)(3)(56.7)10=(111000.1011)2=(70.54)8=(38.B)16(4)(27.6)10=(11011.1001)2=(33.44)8=(1B.9)16解法2:直接由十进制数分别求二进制、八进制和十六进制数。由于二进制数在解法1已求出,在此以(1)为例,仅求八进制数和十六进制数。八进制数:8883784750余数……2(LSB)……7……5(MSB)×0.2582.00……2十六进制数:1637816231610余数……A(LSB)……7……1(MSB)×0.25164.00……41-3将下列十六进制数转换成等值的二进制数、八进制数和十进制数。(1)(FC.4)16;(3)(6A)16;(2)(DB.8)16;(4)(FF)16;解:利用进制为2k数之间的特点将十六进制数转换为二进制数和八进制数;十六进制数按位权展开求和可得十进制数。(1)(FC.4)16=(11111100.0100)2=(374.2)8=15×161+12×160+4×16-1=(252.25)10(2)(DB.8)16=(11011011.1000)2=(333.4)8=13×161+11×160+8×16-1=(219.5)10(3)(6A)16=(01101010)2=(152)8=6×161+10×160=(106)10(4)(FF)16=(11111111)2=(377)8=15×161+15×160=(255)101-4完成下列各数的转换。(1)(001000111001)8421BCD码=(?)10;(2)(36.7)10=(?)8421BCD码=(?)余3BCD码;(3)(10000101)8421BCD码=(?)格雷BCD码;(4)(11000110)余3BCD码=(?)10;解:(1)(001000111001)8421BCD码=(239)10;(2)(36.7)10=(00110110.0111)8421BCD码=(01101001.1010)余3BCD码;(3)(10000101)8421BCD码=(156)格雷BCD码;(4)(11000110)余3BCD码=(93)10;1-5一个8位二进制数,能够表示的最大无符号整数是多少?解:28-1=255。(1-6用十六进制数表示十进制数(87)10与二进制数(10100111)2相加的和。解:(10100111)2=(167)10;(87)10+(167)10=(254)10;(254)10=(11111110)2=(FE)161-7十进制数5和9以二进制形式存储在计算机的相邻存储单元中。查找每个数的ASCII码并将其转换为对应的格雷BCD码和余3BCD码。解:(5)10→(0110101)ASCII→(53)10→(01110010)格雷BCD→(11000101)余3BCD码(9)10→(0111001)ASCII→(57)10→(01110100)格雷BCD→(11001111)余3BCD码1-8试总结并说出:(1)已知真值表写逻辑函数式的方法;(2)已知逻辑函数式列真值表的方法;(3)已知逻辑图写逻辑函数式的方法;(4)已知逻辑函数式画逻辑图的方法;(5)已知逻辑函数式画波形的方法;解:1)由真值表可得到逻辑函数的两种标准形式:最小项表达式和最大项表达式。其中,最小项表达式是由函数值为1的各最小项相加组成;最大项表达式是由函数值为0的各最大项相与组成。(2)将输入变量的所有取值组合以二进制递增的顺序排列,并根据逻辑函数式求出和该组合下对应的函数值,形成表格,即得真值表。(3)根据给定的逻辑图,逐级写出输出端的逻辑函数表达式,即可。(4)(5)题表1-11-9根据已知某逻辑函数的真值表如题表1-1所示,写出该逻辑函数的标准与或表达式和标准或与表达式。解:FABCABCABCABC=(ABC)(ABC)(ABC)(ABC)A00001111B00110011C01010101F100110011-10将余3BCD码(ABCD)转换成8421BCD码(WXYZ)的真值表如题表1-2所示,写出WXYZ的最简与-或表达式。题表1-2A00000B01111C10011D10101W00000X00001Y00110Z01010A11111B00001C00110D01010W00011X11100Y01100Z10101解:WABACD;YCDCD;XBCBCDBDZD1-11利用反演规则和对偶规则,直接写出下列逻辑函数的反函数表达式和对偶函数表达式。(1)FABCDBCDCEBE(2)FABDEGHACG(3)F(AD)ACBD(AC)(4)FABB(CDAD)E解:(1)F(AB)CDBCD(CE)BEF*(AB)CDBCD(CE)BE(2)F(AB)DE(GH)ACGF*(AB)DE(GH)ACG(3)FADAC(BD)ACF*ADAC(BD)AC(4)FABB(CD)ADEF*ABB(CD)ADE1-12用公式法证明下列等式。(1)BABBCABCABC(2)BCDBCDACDABCDABCDBCDBCDBCBDBC(3)(AB)(BC)(AC)(AB)(AC)证明:(1)左式BABBCABCBABBABBCABCBCABCABABCABC右式(2)左式(BCDABCD)(BCDBCD)(ACDABCD)(ABCDBCD)BC(DAD)BD(AAB)CDBCDBC(DA)BD(AB)CDBCDBCDABCBDACDBCDBCD(BCDBCD)ABCBDACDBCD(BCABC)BDACD(多余项)BCDBCB(DCD)BCBDBC右式(3)左式(AB)(BC)(AC)(BAC)(AC)ABBCACABAC(AB)(AC)右式1-13根据题表1-1,写出该逻辑函数的最简与非-与非表达式、最简或非-或非表达式和最简与或非式。解:FBCBC(与-或式)(BC)(BC)(或-与式)BCBCBCBC(与非-与非式)(BC)(BC)BCBC(或非-或非式)BCBC(与或非式)1-14用公式法将逻辑函数化简为最简与或表达式。(1)FABDACBCDBDAC(2)FABBCDCDABCACD(3)FABADEABG(AD)(ABE)D(4)FABBCDCDABCACD(5)FABCDADBADAB(CD)(6)FACDACBDABAD(7)FACDBCBDABACBC(8)FACABACACCDACBCEFDEF(9)FABABCA(ABB)解:(1)FABDACBCDBDAC(ABDACBCD)(BDAC)ABCDBCDABCDABCDBCDBD(ACC)BD(AC)FFBD(AC)BDACBDAC(2)FABBCDCDABCACD(ABABC)(BCDCD)(CDACD)A(BC)C(DB)C(DA)ABACCDBCCDACABACCDBC(ABBCAC)CDABBCCD(3)FABADEABG(AD)(ABE)DADEABG(AD)(ABED)ADEABGADABDED(AABDE)(DEADD)ABG(AABG)DABGD(4)同(2)(5)FABCDADBADAB(CD)ABCD(ADB)AD(AB)(CD)ABCDADBADACADBCBD(AADAC)(BCDBBCBD)ADABAD(AAD)BADB(6)FACDACBDABAD(ACDAC)(BDAB)AD(ACDAD)ACBDABD(AC)ACBDABADCDACBDAB(ADBDAB)CDACAB(ADABACAB)BDCDABDCD(7)FACDBCBDABACBC(ABACBC)ACDBCBDBCABAC(BCBC)ACDBDBCAB(ACC)ACDBDBCABCACDBDBCAB(CBC)ACDBDABCBACDBDC(ABBBD)ACD(C

1 / 180
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功