试题与答案

Why is (8) fun What delights may its pra

题型:单项选择题

题目:

Why is (8) fun What delights may its practitioner expect as his reward First is the sheer joy of making things. As the child delights in his mud pie, so the adult enjoys building things, especially things of his own design. Second is the pleasure of making things that are useful to other people. Third is the fascination of fashioning complex puzzle-like objects of interlocking moving parts and watching them work in subtle cycles, playing out the consequences of principles built in from the beginning. Fourth is the joy of always learning, which springs from the (9) nature of the task. In one way or another the problem is ever new, and its solver learns something: sometimes (10) , sometimes theoretical, and sometimes both. Finally, there is the delight of working in such attractable medium. The (11) , like the poet, works only slightly removed from pure thought-stuff. Few media of creation are so flexible, so easy to polish and rework, so readily capable of realizing grand conceptual structures.
Yet the program (12) , unlike the poet’s words, is real in the sense that it moves and works, producing visible outputs separate from the construct itself. It prints results, draws pictures, produces sounds, moves arms. Programming then is fun because it gratifies creative longings built deep within us and delights sensibilities we have in common with all men.

A.construct
B.code
C.size
D.scale

答案:

参考答案:A

解析: 编程为什么有趣?作为回报,其从业者期望得到什么样的快乐?首先是一种创建事物的纯粹快乐。如同小孩在玩泥巴时感到愉快一样,成年人喜欢创建事物,特别是自己进行设计。其次,快乐来自于开发对其他人有用的东西。第三是整个过程体现出魔术般的力量——将相互啮合的零部件组装在一起,看到它们精妙地运行,得到预先所希望的结果。第四是学习的乐趣,来自于这项工作的非重复特性。人们所面临的问题,在某个或其他方面总有些不同,因而解决问题的人可以从中学习新的事物:有时是实践上的,有时是理论上的,或者兼而有之。最后,乐趣还来自于工作在如此易于驾驭的介质E。程序员,就像诗人一样,几乎仅仅工作在单纯的思考中,凭空地运用自己的想象来建造自己的“城堡”。很少有这样的介质创造的方式如此灵活,如此易于精炼和重建,如此容易地实现概念上的设想。
然而程序毕竟同诗歌不同,它是实实在在的东西:可以移动和运行,能独立产生可见的输出;能打印结果,绘制图形,发出声音,移动支架。编程非常有趣,在于它不仅满足了我们内心深处进行创造的渴望,而且还愉悦了每个人内在的情感。

试题推荐
题型:选择题

爱因斯坦对于伽利略的工作给予了高度的评价:伽利略的发现以及他所应用的科学推理方法是人类思想史上最伟大的成就之一,而且标志着物理学的真正开始。伽利略对自由落体运动的研究,是科学实验和逻辑思维的完美结合,如图所示,可大致表示其实验和思维的过程,对这一过程的分析,下列说法正确的有        

A.其中的甲、乙图是实验现象,丁图是经过合理地外推得到的结论

B.其中的丁图是实验现象,甲图是经过合理外推得到的结论

C.运用甲图实验,可“冲淡”重力的作用,更方便进行实验测量

D.运用丁图实验,可“放大”重力的作用,从而使实验现象更明显

查看答案
题型:填空题

从下面的词语中选择恰当的填在相应句子的空缺处。

毁灭   灭绝   状态   形态

(1)野生__________中,在阳光强烈的地方,红、橙、黄花反射了热效应大的长波,不致引起灼伤,有保护的作用。

(2)雨林以每分钟27平方米的速度遭到彻底_________。如果将雨林完全毁掉,到下世纪中叶,地球很可能会经历第6次大规模____________。

(3)裸子植物的花是原始的____________,都带绿色,而花药和花粉则呈黄色。

查看答案
微信公众账号搜索答案