以上都是
15. Data and instructions are stored in ( D ) when the program is running.
A. operating system B. datapath C. disk D. memory
15.在程序运行时,数据和指令都存在( D )
操作系统中 数据路径中 磁盘中 存储器中
16. In computer terminology, CPU consists of calculator and controller.( A )
A. True. B. False.
16.在计算机术语中,CPU由运算器和控制器组成. ( A )
A.对。 B.错。
17. The use of microprocessor signified the development of micro-computer. ( A )
A. True. B. False.
17.微处理器的使用标志着微型计算机的发展( A )
A.对。 B.错。
18. The reason of binary representation for information in a computer is it can easily process the information.( A )
A. True. B. False.
18.在计算机中用二进制表示信息的原因是它容易处理信息( A )
6
A.对。 B.错。 原因是元件物理的特性限制。
19. CPU can process information of external memory directly. ( B )
A. True. B. False.
19.CPU 可以直接处理存储器外的信息( B )
A. 对 B. 错
21. Host consists of CPU and I/O devices. ( B )
A. True. B. False.
21.主机由CPU和I/O设备组成( B )
A. 对 B. 错 还应该有存储器
22. MFLOPS is a performance index for express the speed of processing the floating point number.( A )
A. True. B. False.
22.MFLOPS 是一个表现标志用以表示浮点数处理速度( A )
A.对。 B.错。
23. Software is equivalent to hardware in logic function.( A )
A. True. B. False.
23.在逻辑上软件是可以和硬件等价的( A )
A.对。 B.错。
7
24. In a computer based on the von Neumann model, instructions and data are all stored in memory, and CPU distinguish them according their address. ( B )
A. True. B. False.
24.在一个基于冯诺伊曼的计算机模型上,指令和数据均存在存储器中,并且CPU按地址区分他们( B )
A. 对 B. 错
25. Computer hardware consists of calculator, memory, controller and I/O devices. ( A )
A. True. B. False.
25.计算机的硬件由运算器,存储器,控制器和I/O设备组成。( A )
A.对。 B.错。
第二章知识总结
· 定点数的小数点固定,并且在定点数表示中,小数点均为隐含表示,不占位。
· 定点数分为定点纯整数和定点纯小数。
· 几进制中基数就是几。
· 原码表示法(Sign-magnitude),符号位上,0表示正,1表示负,有效值用二进制的绝对值表示,此方法与真值最为接近。特点是简单,易于同真值进行转换,实现乘除运算规则简单,但是加减运算麻烦,有“+0”和“-0”之分。
· 补码表示法(2‘s complement),正数的补码是其本身,负数的补码,符号位取1,其余位按位取反,再在末尾加1便可得到,补码的优点是消除了减法。补码中“0”的表示唯一。
· 由[X补]求[-X补]这一过程叫做变补,在减法变加法的过程中使用,变补的做法是将[X补]连同符号位一起按位取反,末位加1。
· 反码(1‘s complement),正数的反码是自身,负数的反码,符号位取1,数值部分按位取反,也有“+0”和“-0”之分。
· 三种表示方法的范围: 定点小数:
原码: -(1-2-n) ≤ N ≤ 1-2-n 反码: -(1-2-n) ≤ N ≤ 1-2-n 补码: -1 ≤ N ≤ 1-2-n
8
定点整数:
原码: -(2n -1) ≤ N ≤ 2n -1 反码: -(2n -1) ≤ N ≤ 2n -1 补码: - 2n ≤ N ≤ 2n -1
· 定点数运算中,结果超出了计算机能表示的范围后,会发生溢出,基本原因是因为计算机字长的限制。溢出分为两种,一种是正溢出,一种是负溢出;正溢出是指结果超过了计算机所能表示的最大值,负溢出是指结果小于计算机所能表示的最小值。
· 溢出判断方法有三种,这里只介绍常用的两种(1)符号运算进位标志Cf和最高有效位进位标志C进行异或运算,结果为1则发生了溢出,结果为0则结果正确;(2)使用双符号位,首先把参与运算的数改写成双符号位,即把已有的符号位上的数字再多写一遍,如“1.1100”改写为“11.1100”,然后进行预算,符号位结果为“01”时,表明发生了正溢出;符号位结果为“10”时,表示发生了负溢出。符号位结果为“00”或“11”时表示结果正确。
· 定点数二进制运算器中,减法是通过进行补码的加法来实现的。
· 用二进制编码十进制数得到的码叫做BCD码(Binary-Code Decimal),8421码是其一种,用0000,??,1001表示0-9。使用8421码做加法时,若和大于9则结果需要加6进行修正,小于则不需要修正。
· 计算机中使用无符号整数来表示地址。
第二章测验
If [X] 2‘s complement = 0.1101010,then [X]sign-magnitude = ( D )
A.0.0010110 B.1.0010110 C.1.0010101 D.0.1101010
观察符号位为0,说明此数为正数,正数的补码表示和源码表示是一样的,因此选D。
2. ( B ) is used to represent address in computer.
1‘s complement Unsigned number 2‘s complement Sign magnitude
计算机中地址使用无符号数表示。
3. Numbers X1, X2 are integer, and 【X1】2‘s compl = 10011011,【X2】 2‘s compl = 00011011, then their true value of decimal form are -101 and 27 . 基本运算,注意观察数字的正负,不可一律按位取反末位加一,正数的补码就是其本身
4. The sign-magnitude representation of ?0‘ is unique. ( B ) True
9
False
源码对“0”的表示并不唯一,有“+0”与“-0”之分。
5. Plus two 2‘s complement numbers that adopt 1 sign bit, overflow must occur when ( C/D ).
carry signal is generated from the sign bit
XOR operation for carry signal generated from the sign bit and carry signal generated from the highest numerical bit is ?0‘.
XOR operation for carry signal generated from the sign bit and carry signal generated from the highest numerical bit is ?1‘.
XOR operation for carry signal generated from the sign bit and carry signal generated from the highest numerical bit is ?1‘.
将两个采用单符号位的补码表示的数相加,( C/D )时一定会溢出。
从符号位上产生了进位信号
对从符号位上产生的进位信号和从最高数位上产生的进位信号进行异或操作,结果为0 对从符号位上产生的进位信号和从最高数位上产生的进位信号进行异或操作,结果为1 对从符号位上产生的进位信号和从最高数位上产生的进位信号进行异或操作,结果为1
//C,D答案一样,选哪个都行。
6. The range of representation for a 1‘s complement number system of 64 bits (including the sign bit) is ( A ).
0≤|N|≤263 – 1 0≤|N|≤262 – 1 0≤|N|≤264 – 1 0≤|N|≤263
除去符号位后,剩余63位可以用来表示数字,根据反码的表示范围1–2n≤ N ≤2n – 1得出答案
7. Fixed point number can be classified into pure decimal(纯小数) and pure integer(纯整数).( A ) True False
8. In fixed point calculator, whether adopted double sign bit or single sign bit, it must has ( C ), which is often implemented by ( C ).
Decoding circuit, NAND gate encoding circuit, NOR gate
overflow detection circuit, XOR gate shift circuit, AND-OR gate
10
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库东北大学计算机组成原理题库 东北大学2(2)在线全文阅读。
相关推荐: