摘要: 在本教材中,用英语和伪代码两种语言来描述算法。伪代码是过程步骤的英语描述和实际程序语言的过程说明之间的一个中间步骤。使用伪代码的优点在于它的简单性和可理解性,它很容易被写出来,也容易从它产生实际的计算机代码(用各种各样的程序设计语言)。 在这个附录中,我们描述本教材中使用的伪代码的格式和语法。... 阅读全文
posted @ 2015-09-25 17:33 ZQXTXK 阅读(561) 评论(0) 推荐(0) 编辑
摘要: 2.5.1 引言 正如2.1节所说, 算法这一术语最初指的是用整数的十进制法表示的用法进行算术运算的过程。修改后能处理二进制表示的这些算法是计算机算术的基础。这些算法为理解算法这一概念及算法复杂度提供了很好的实例。因此本书将讨论这些算法。 除算术中常用的整数算法以外,还有许多涉及整数的算法,包括... 阅读全文
posted @ 2015-09-22 11:37 ZQXTXK 阅读(560) 评论(0) 推荐(0) 编辑
摘要: 试求解下面这个由爱因思坦提出的著名难题(也称斑马问题)。 5个不同国家且工作各不相同的人分别住在一条街上的5所房子里,每所房子的颜色不现,每个人都有自己养的宠物,喜欢喝不同的饮料。根据以下提示,你能告诉多哪个房子里的人养斑马(zebra),哪个房子里的人喜欢喝矿泉水吗。 英国人住在红色的房子里,西... 阅读全文
posted @ 2015-09-21 16:59 ZQXTXK 阅读(1515) 评论(0) 推荐(0) 编辑
摘要: 2.2 Operations of the computer HardwareEvery computer must be able to perform arithmetic. 每台计算机必须能够执行运算。The MIPS assembly language notation add a, ... 阅读全文
posted @ 2015-09-17 16:12 ZQXTXK 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Happiness is never more than partial. There are no pure state of mankind, whatever else happiness may be, it is neither in having nor in being, but in... 阅读全文
posted @ 2015-09-17 15:50 ZQXTXK 阅读(353) 评论(0) 推荐(0) 编辑
摘要: 1. 选词用字法:Every life has its roses and thorns. (roses 本意是玫瑰,thorns本意是刺!)I you are in an area and people start to fall over, you have the authority to p... 阅读全文
posted @ 2015-09-17 14:50 ZQXTXK 阅读(939) 评论(0) 推荐(0) 编辑
摘要: 2.1 Introduction (简介)To command a computer's hardware, you must speak its Language.去命令一台计算机的硬件,你必须说它们的语言。The words of a computer's language are called... 阅读全文
posted @ 2015-09-16 16:18 ZQXTXK 阅读(192) 评论(0) 推荐(0) 编辑
摘要: Assessing the performance of computers can be quite challenging.assess /əs'es/ (assesses, assessing, assessed)1.[verb] V n, V wh When you assess a per... 阅读全文
posted @ 2015-09-15 15:03 ZQXTXK 阅读(150) 评论(0) 推荐(0) 编辑
摘要: Decimal termAbbreviationvalueBinary termAbbreviationvalue%LargerKilobyteKB103KibibyteKiB2102% megabyteMB106mebibyteMiB2205%gigabyteGB109gibibyteGib23... 阅读全文
posted @ 2015-09-15 13:10 ZQXTXK 阅读(442) 评论(0) 推荐(0) 编辑
摘要: 1.6 Advantages and Disadvantages of DBMSs (数据库的优点和缺点) The database management system has promising potential advantages. (数据库管理系统具有广阔的潜在优势。) promising 阅读全文
posted @ 2015-09-10 17:56 ZQXTXK 阅读(2529) 评论(0) 推荐(0) 编辑