并且是负溢出,当双符号位为“01”时,结果为正溢出。“00”或“11”时,表示结果正确。
21.The 2‘s complement representation of -127 is 10000000.( B ) True False
-127的补码为:10000001,10000000为-128的补码。
22. The minimal number of the following numbers is ( D ). A. (100101)2 B. (100010)BCD C. (50)8 D. (625)16 换算成10进制,A.37 B.22 C.40 D.1573
23. 2‘s complement representation of ?0‘ equals to 1‘s complement representation of ?-1‘.( B ) True False
补码对“0”的表示:“00000000”,反码对“-1”的表示:“11111110”
24. If [X] 2‘s complement = 1.1101010,then [X]sign-magnitude = ( B )
1.0010101 1.0010110 0.0010110 0.1101010
显然,X是负数,对.1101010减一,得.1101001,按位取反得.0010110,因此得1.0010110 25.For sign magnitude representation, 1‘s complement representation, 2‘s complement representation, sign magnitude and 1‘s complement has 2 representations of ?0‘ ―0‖的表示在原码和反码中均不唯一,都有“+0”和“-0”之分。
26. The use of 2‘s complement operation is adopted to simplify the design of computer.( A )
13
True False
正确,为了简化加减法的运算。
27. Fixed point calculator is used for ( C ).
fixed point operation floating point operation
fixed point operation and floating point operation decimal addition
C正确,浮点数运算中的阶码运算是定点数的加减运算,还是会用到定点数运算器。因此选C
28. When -1 (2-2-n)-|x| 2+x X 因为x<0,所以1-x = 1+|x|,且-1 29. The maximal number of the following numbers is ( A ). (227)8 (96)16 (10010101)2 (143)5 以上各数换算成十进制后的值为:A.151 B.150 C.149 D.48 30. 8-4-2-1 code is binary number.( B ) True False 8421码确实是十进制数的二进制表示,说到底还是十进制数,牢记。 31. A decimal number is 137.5, then its octal form is 211.4 , its hexadecimal form is 89.8 14 Octal:八进制;hexadecimal:十六进制 33. The ( C )representation of ?0‘ is unique. A. sign magnitude and 1‘s complement; B. 1‘s complement C. 2‘s complement D. sign magnitude 只有补码对0的表示是唯一的,原码和反码的表示中,都有“+0”和“-0”之分 34. The range of representation for a unsigned binary number system of 16bits is 0 ~ 65535 . 题中说明是无符号数,因此范围为0~216 35. Given [x1] 2‘s complement =11001100, [x2 ]sign magnitude=1.0110, the decimal value of x1 and x2 are -52 and -0.375 . 第五章知识总结 · 现今使用中的大多数计算机系统都是在冯·诺依曼计算机模型上构造的。该模型于1946年由冯·诺依曼提出。 · 冯·诺依曼计算机模型中计算机被看作是一个存储程序计算机。 · 一道程序是一个指令序列,其中每一条指令执行一个基本操作。执行前,程序和将要由它加工的数据一起存放到存储器中。 · 在程序执行中,它的指令一条一条地从存储器读出,送到处理单元中去。处理单元译码、取数,执行,并写回结果。 · 冯·诺依曼机型典型组成包含:存储器,CPU(运算器,控制器),I/O · 算术逻辑单元(ALU)是CPU的心脏。通常ALU有一个二进制加法器,而ALU的性能主要取决于它的加法器 · 半加器只是对位进行运算,不考虑进位,全加器考虑进位。 · 串行级联的4位全加器,又称为行波进位加法器(Ripple-carry adder),这种加法器因为进位延迟以及门延迟的累加,速度较慢。 · 采用―超前进位产生电路‖同时形成各位进位,从而实现快速加法。我们称这种加法器为超前进位加法器。 · 算术逻辑单元(ALU)是一种功能较强的组合逻辑电路。它能进行多种算术运算和逻辑运算。ALU的基本逻辑结构是超前进位加法器。 15 · 在一个全加器中,第i位的进位产生变量G是Xi·Yi 的结果,即Xi 和Yi 均为1时,才产生进位;第i位的进位传递变量P是Xi+Yi的结果,即Xi 和Yi 两者中有一个为1时,进位才可以传递。 · 商用芯片74181是一个四位的算术逻辑单元,可以提供16种不同的算术运算和16种不同的逻辑运算,M信号控制运算模式,M=1时,进行逻辑运算;M=0时,进行算术运算。 · 商用芯片74182是一个超前进位产生器,可以用来实现算术逻辑单元的组间并行,来提高速度,达到所有位均并行。74182有4队进位产生信号和进位传递信号引脚。 · 使用1个74182芯片和4个74181芯片可以实现一个全16位并行的算术逻辑单元; 使用5个74182芯片和16个74181芯片可以实现一个全64位并行的算术逻辑单元。 第五章测验 1. Calculator has many components, but data bus is the key part.( B ) A. True B. False “运算器中有许多组件,但数据总线是关键部分”,错误,算术逻辑单元才是关键。 2. In an adder, the carry generate variable (G) of bit ?i‘ is ( D ). A. Xi⊕Yi B. Xi·Yi·Ci C. Xi+Yi+Ci D. Xi·Yi 在一个全加器中,第i位的进位产生变量是Xi·Yi 的结果,即Xi 和Yi 均为1时,才产生进位。 3. The carry look-ahead circuit chip 74182 realizes the carry logic between groups in parallel.( A ) A. True B. False 超前进位产生电路芯片74182可以实现进位逻辑组间并行。 4. The subtraction algorithm of fixed point binary is realized by ( C ). A. subtraction for sign magnitude representation B. addition for binary code decimal C. addition for 2‘s complement representation D. subtraction for 2‘s complement representation 定点二进制数的减法算法依赖于基于补码表示的加法。 16
相关推荐: