Chapter 1 练习 复习题
1.定义一个基于图灵模型的计算机。
答:Turing proposed that all kinds of computation could be performed by a special kind of a machine. He based the model on the actions that people perform when involved in computation. He abstracted these actions into a model for a computational machine that has really changed the world.
图灵模型假设各种各样的运算都能够通过一种特殊的机器来完成,图灵机的模型是基于各种运算过程的。图灵模型把运算的过程从计算机器中分离开来,这确实改变了整个世界。
2.定义一个基于冯·诺伊曼模型的计算机。
答:The von Neumann Model defines the components of a computer, which are memory, the arithmetic logic unit (ALU), the control unit and the input/output subsystems.
冯·诺伊曼模型定义了计算机的组成,它包括存储器、算术逻辑单元、控制单元和输入/输出系统。
3.在基于图灵模型的计算机中,程序的作用是什么? 答:Based on the Turing model a program is a set of instruction that tells the computer what to do.
基于图灵模型的计算机中程序是一系列的指令,这些指令告诉计算机怎样进行运算。
4.在基于冯·诺伊曼模型的计算机中,程序的作用是什么?
答:The von Neumann model states that the program must be stored in the memory. The memory of modern computers hosts both programs and their corresponding data. 冯·诺伊曼模型的计算机中,程序必须被保存在存储器中,存储程序模型的计算机包括了程序以及程序处理的数据。 5.计算机中有哪些子系统?
答:The subsystems of the von Neumann model are memory, the arithmetic/logic unit (ALU), the control unit, and the input/output.
冯·诺伊曼模型的计算机中子系统包括存储器、算术逻辑单元、控制单元和输入/输出单元。
6.计算机中存储器子系统的功能是什么?
答:Memory is the storage area used for programs and data. 存储器的功能是用来保存程序和数据的。 7.计算机中ALU子系统的功能是什么?
答:The arithmetic/logic unit (ALU) is where calculations and logical operations take place.
计算机中ALU子系统的功能是进行算术和逻辑运算的地方。 8.计算机中控制单元子系统的功能是什么? 答:The control unit controls the operations of the memory, ALU, and the input/output subsystem.
计算机中控制单元子系统的功能是控制存储器、算术逻辑单元和输入/输出的运行。
9.计算机中输入/输出子系统的功能是什么?
- 1 -
答:The input subsystem accepts input data and the program from outside the computer; the output subsystem sends the result of the processing to the outside. 计算机中输入子系统的功能是接收计算机外部输出的程序和数据;输出子系统是发送处理结果到计算机外部。 10.简述5个时代的计算机?
答:The first generation (roughly 1950–1959) is characterized by the emergence of commercial computers and were used only by professionals. The second-generation (roughly 1959–1965) computers used transistors instead of vacuum tubes. The third generation (roughly 1965 and 1975) started with the invention of the integrated circuit that reduced the cost and size of computers even further. The fourth generation (approximately 1975–1985) saw the appearance of microcomputers. The fifth generation started in 1985. It witnessed the appearance of laptop and palmtop computers, improvements in secondary storage media (CD-ROM, DVD, etc.), the use of multimedia, and the phenomenon of virtual reality.
第一代计算机(约1950—1959)的特点是商业计算机的出现和仅由专业人士使用。第二代计算机(约1959—1965)用晶体管替代了真空管。第三代计算机(约1965—1975)开始于集成电路的发明,这大大降低了计算机的成本和尺寸。第四代计算机(约1975—1985)开始出现微型计算机。第五代计算机始于1985年,以笔记本电脑和掌上电脑的出现为依据,辅助存储媒体得到改进(CD-ROM,、DVD等),多媒体得到应用,虚拟现实得以实现。 选择题
11.现在的计算机是基于( )模型。
A.莱布尼茨 B.冯·诺伊曼 C.帕斯卡 D.查尔斯·巴比奇 12.在计算机中,( )子系统存储数据和程序。
A.算术逻辑单元 B.输入/输出 C.存储器 D.控制单元 13.在计算机中,( )子系统执行算术和逻辑运算。 A.算术逻辑单元 B.输入/输出 C.存储器 D.控制单元 14.在计算机中,( )子系统接收数据和程序并将运算结果传给输出设备 A.算术逻辑单元 B.输入/输出 C.存储器 D.控制单元 15.在计算机中,( )子系统是其他子系统的管理者。 A.算术逻辑单元 B.输入/输出 C.存储器 D.控制单元 16.根据冯·诺伊曼模型,( )被存在存储器中。 A.只有数据 B.只有程序 C.数据和程序 D.以上都不是 17.问题的分步骤解决被称为( )。
A.硬件 B.操作系统 C.计算机语言 D.算法 18.FORTRAN和COBOL是( )的例子。
A.硬件 B.操作系统
- 2 -
C.计算机语言 D.算法
19.在17世纪能执行加法和减法运算的计算机器是( )。 A.Pascaline B.Jacquard loom C.Analytical Engine D.Babbage machine 20.在计算机语言中,( )是告诉计算机如何处理数据的一系列指令。 A.操作系统 B.算法 C.数据处理器 D.程序 21.( )是以结构化的形式来设计和编写程序。 A.软件工程 B.硬件工程 C.算法开发 C.教育体系 22.第一台特殊用途的电子计算机被称为( )。 A.Pascal B.Pascaline C.ABC D.EDVAC
23.第一代基于冯·诺伊曼模型的计算机中有一个被称为( )。 A.Pascal B.Pascaline C.ABC D.EDVAC 24.第一台使用存储和编程的计算机器被称为( )。 A.the Madeline B.EDVAC
C.the Babbage machine D.the Jacquard loom 25.( )将程序设计任务从计算机运算任务中分离出来。 A.算法 B.数据处理器 D.高级程序设计语言 D.操作系统 11. b 12. c 13. a 14. b 15. d 16. c 17. d 18. c 19. a 20. d 21. a 22. c 23. d 24. d 25. c 课后练习题
27.如果一台小的便宜的计算机可以做大型昂贵的计算机同样能做的事情,为什么人们需要大的呢?
答:According to Turing, any problem that can be solved by a big computer can also be solve by a small computer but a big computer can probably solve the problem faster.
根据图灵机的原理,任何问题都能在大型计算机中解决,同时也能在小型机中解决,但是大型机解决问题的速度更快。 33.研究并找出键盘起源于哪一代计算机。
答:The first keyboard appear with time sharing, multi-user system by 1964 which is end of the second generation and the beginning of the third generation.
第一个键盘与多用户系统均在1964出现,也就是在第二代计算机末期和第三代计算机初期出现。
34.研究并找出打印机起源于哪一代计算机。 答:In 1953, the first high-speed printer was developed by Remington-Rand for use on the UNIVAC computer. This means that printers belong to the first generation of computers.
1953年,第一台高速打印机由Remington-Rand发明,并用于UNIVAC计算机,这意味着打印机起源于第一代计算机。
- 3 -
35.根据冯·诺伊曼模型,当今的硬盘可用于输入或输出吗?请解释。
答:The hard disk may be used as either an input device or an output device. When data or programs are read from the disk, the disk is considered an input device. When data or programs are written to the disk, the disk is considered an output device.
硬盘既可作为输入设备,又可作为输出设备。当数据或程序从硬盘中读出时,硬盘被认为是输入设备;当数据或程序被写入硬盘时,硬盘被认为是输出设备。 37.如今,硬件、软件或数据哪一个对组织机构比较有价值?
答:The set of data is the most valuable asset of most organizations. An organization can replace its hardware and software if they are lost (due to theft, fire, etc.) and usually they replace them every few years as hardware or software become obsolete, but the set of data is indispensable.
数据对组织机构来说是最有价值的。硬件和软件如果丢失(被盗、火灾等)组织机构可以替代他们。而且,通常情况下,几年时间硬件和软件就会被淘汰,但是数据却是独一无二的。
Chapter 2 复习题
1.定义一个数字系统。 答:A number system shows how a number can be represented using distinct symbols. 数字系统定义了如何用独特的符号来表示一个数字。 2.辨析位置化和非位置化数字系统。
答:In a positional number system, the position of a symbol determines the value it represents. In a nonpositional number system each symbol has a value but the position of a symbol normally has no relation to its value; the value of each symbol is fixed. 位置化数字系统中,在数字中符号所占据的位置决定了其表示的值。非位置化数字系统仍然使用有限的数字符号,每个符号有一个值。但是符号所占用的位置通常与其值无关——每个符号的值是固定的。
3.定义位置化数字系统中的底或基数。位置化数字化系统中底与符号的数量有关系?
答:The base (or radix) is the total number of symbols used in a positional number system.
位置化数字化系统的底或基数,它是符号集中的符号总数。 4.简述十进制系统。为什么称作decimal?该系统的底是多少?
答:The decimal system is a positional number system that uses ten symbols to represent a number. The word decimal is derived from the Latin root decem (ten) or decimalis (related to ten). In the decimal system, the base is 10. 十进制系统来源于拉丁词根decem(十)。在该系统中,底b=10并且用10个符号来表示一个数。符号集是S={0,1,2,3,4,5,6,7,8,9}。十进制系统中的符号被称为十进制数码或仅称为数码。
5. 简述二进制系统。为什么称作binary?该系统的底是多少?
答:The binary system is a positional number system that uses two symbols (0 and 1) to represent a number. The word binary is derived from the Latin root bini (two by two) or binarius (related to two). In the binary system, the base is 2. Binary(二进制)来源于拉丁词根bini(二)。在该系统中,底b=2并且用两个符
- 4 -
号来表示一个数,即S={0,1}。该系统中的符号常被称为二进制数码或位(位数码)。
6. 简述八进制系统。为什么称作octal?该系统的底是多少?
答:The octal system is a positional number system that uses eight symbols to represent a number. The word octal is derived from the Latin root octo (eight) or octalis (related to eight). In the octal system, the base is 8. Octal(八进制)来源于拉丁词根octo(八)。在该系统中,底b=8并且用8个符号来表示一个数。字符集是S={0,1,2,3,4,5,6,7}。该系统中的符号常被称为八进制数码。
7. 简述十六进制系统。为什么称作hexadecimal?该系统的底是多少?
答:The hexadecimal system is a positional number system with sixteen symbols. The word hexadecimal is derived from the Greek root hex (six) and the Latin root decem (ten). To be consistent with decimal and binary, it should have been called sexadecimal, from Latin roots sex and decem. In the hexadecimal system, the base is 16.
Hexadecimal(十六进制)来源于希腊词根hex(六)和拉丁词根decem(十)。在该系统中,底b=16并且用16个符号来表示一个数。字符集是S={0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F}。该系统中的符号常被称为十六进制数码。
8.为什么二进制与十六进制互换很容易?
答:Conversion is easy because there is a direct relationship between the two systems (see the answer to question 9).
二进制中的4位恰好是十六进制中的1位。
9.十六进制系统中1个数码表示二进制系统中的几位? 答:Four bits in binary is one hexadecimal digit.
十六进制系统中1个数码表示二进制系统中的4位。 10.八进制系统中1个数码表示二进制系统中的几位? 答:Three bits in binary is one octal digit.
八进制系统中1个数码表示二进制系统中的3位。 选择题
11.十进制数字系统中的底是( )。
A.2 B.8 C.10 D.16 12.二进制数字系统中的底是( )。
A.2 B.8 C.10 D.16 13.八进制数字系统中的底是( )。
A.2 B.8 C.10 D.16 14.十六进制系统中的底是( )。
A.2 B.8 C.10 D.16 15.转换十进制整数为底b时,我们需要连续( )b。 A.除 B.乘
C.a、b选项都不行 D. a、b选项都使用 16.转换十进制小数为底b时,我们需要连续( )b。 A.除 B.乘
C.a、b选项都不行 D. a、b选项都使用
- 5 -