1、中级信息系统管理工程师-程序设计语言及答案解析(总分:12.00,做题时间:90 分钟)1.两个同符号的数相加或异符号的数相减,所得结果的符号位 SF和进位标志 CF行_运算为 1时,表示运算的结果产生溢出。A与 B或 C与非 D异或(分数:1.00)A.B.C.D.2.结构化程序中的基本控制结构不包括_。A嵌套 B顺序 C循环 D选择(分数:1.00)A.B.C.D.3.高级程序设计语言中用于描述程序中的运算步骤、控制结构及数据传输的是_。A语句 B语义 C语用 D语法(分数:1.00)A.B.C.D.Why is (8) fun? What delights may its practit
2、ioner 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
3、 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 i
4、ts 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 rew
5、ork, so readily capable of realizing grand conceptual structures.Yet the program (12) , unlike the poets 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
6、 is fun because it gratifies creative longings built deep within us and delights sensibilities we have in common with all men.(分数:5.00)(1).Aprogramming Bcomposing Cworking Dwriting(分数:1.00)A.B.C.D.(2).Arepeating Bbasic Cnon-repeating Dadvance(分数:1.00)A.B.C.D.(3).Asemantic Bpractical Clexical Dsyntac
7、tical(分数:1.00)A.B.C.D.(4).Apoet Barchitect Cdoctor Dprogrammer(分数:1.00)A.B.C.D.(5).Aconstruct Bcode Csize Dscale(分数:1.00)A.B.C.D.4.软件开发人员通常用_软件编写和修改程序。A预处理 B文本编辑 C链接 D编译(分数:1.00)A.B.C.D.5.若浮点数的阶码用移码表示,尾数用补码表示,两规格化浮点数相乘,最后对结果规格化时,右规的右移位数最多为_位。A1 B2 C尾数位数 D尾数位数-1(分数:1.00)A.B.C.D.6.开发专家系统时,通过描述事实和规则由模式
8、匹配得出结论,这种情况下适用的开发语言是_。A面向对象语言 B函数式语言C过程式语言 D逻辑式语言(分数:1.00)A.B.C.D.7.C+ is used with proper _ design techniques.Aobject-oriented Bobject-basedCface to object Dface to target(分数:1.00)A.B.C.D.中级信息系统管理工程师-程序设计语言答案解析(总分:12.00,做题时间:90 分钟)1.两个同符号的数相加或异符号的数相减,所得结果的符号位 SF和进位标志 CF行_运算为 1时,表示运算的结果产生溢出。A与 B或 C与
9、非 D异或(分数:1.00)A.B.C.D. 解析:解析 符号数算术运算的溢出可根据运算结果的符号位和进位标志判别。该方法适用于两同号数求和或异号数求差时判别溢出。溢出的逻辑表达式为:VF=SF?CF。即利用符号位和进位标志相异或,当异或结果为 1时表示发生溢出;当异或结果为 0时,则表示没有溢出。2.结构化程序中的基本控制结构不包括_。A嵌套 B顺序 C循环 D选择(分数:1.00)A. B.C.D.解析:解析 本题考查的是程序设计语言方面的基本概念。控制成分指明语言允许表述的控制结构,程序员使用控制成分来构造程序中的控制逻辑。理论上已经证明可计算问题的程序都可以用顺序、选择和循环这三种基本
10、的控制结构来描述。3.高级程序设计语言中用于描述程序中的运算步骤、控制结构及数据传输的是_。A语句 B语义 C语用 D语法(分数:1.00)A. B.C.D.解析:解析 本题考查程序语言的基本成分。程序设计语言的语法是语言的外观。给出语言的语法意味着给出语句、声明和其他语言结构的书写规则。语义则表示不同的语法结构的含义。在程序语言的手册中,语言的描述都是围绕着语法结构展开的。通常,先给出各种语句结构的语法,然后给出对应该结构的语义以描述内在含义。语用是关于程序与使用者之间的关系。在高级程序设计语言中,语句用于描述程序中的运算步骤、控制结构及数据传输。Why is (8) fun? What d
11、elights 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 fascinatio
12、n 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 pro
13、blem 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
14、 easy to polish and rework, so readily capable of realizing grand conceptual structures.Yet the program (12) , unlike the poets 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
15、 arms. Programming then is fun because it gratifies creative longings built deep within us and delights sensibilities we have in common with all men.(分数:5.00)(1).Aprogramming Bcomposing Cworking Dwriting(分数:1.00)A. B.C.D.解析:(2).Arepeating Bbasic Cnon-repeating Dadvance(分数:1.00)A.B.C. D.解析:(3).Aseman
16、tic Bpractical Clexical Dsyntactical(分数:1.00)A.B. C.D.解析:(4).Apoet Barchitect Cdoctor Dprogrammer(分数:1.00)A.B.C.D. 解析:(5).Aconstruct Bcode Csize Dscale(分数:1.00)A. B.C.D.解析:解析 编程为什么有趣?作为回报,其从业者期望得到什么样的快乐?首先是一种创建事物的纯粹快乐。如同小孩在玩泥巴时感到愉快一样,成年人喜欢创建事物,特别是自己进行设计。其次,快乐来自于开发对其他人有用的东西。第三是整个过程体现出魔术般的力量将相互啮合的零部件组
17、装在一起,看到它们精妙地运行,得到预先所希望的结果。第四是学习的乐趣,来自于这项工作的非重复特性。人们所面临的问题,在某个或其他方面总有些不同,因而解决问题的人可以从中学习新的事物:有时是实践上的,有时是理论上的,或者兼而有之。最后,乐趣还来自于工作在如此易于驾驭的介质 E。程序员,就像诗人一样,几乎仅仅工作在单纯的思考中,凭空地运用自己的想象来建造自己的“城堡”。很少有这样的介质创造的方式如此灵活,如此易于精炼和重建,如此容易地实现概念上的设想。然而程序毕竟同诗歌不同,它是实实在在的东西:可以移动和运行,能独立产生可见的输出;能打印结果,绘制图形,发出声音,移动支架。编程非常有趣,在于它不仅
18、满足了我们内心深处进行创造的渴望,而且还愉悦了每个人内在的情感。4.软件开发人员通常用_软件编写和修改程序。A预处理 B文本编辑 C链接 D编译(分数:1.00)A.B. C.D.解析:解析 本题考查的是程序设计语言方面的基本概念。软件开发人员通常用文本编辑软件编写和修改程序。5.若浮点数的阶码用移码表示,尾数用补码表示,两规格化浮点数相乘,最后对结果规格化时,右规的右移位数最多为_位。A1 B2 C尾数位数 D尾数位数-1(分数:1.00)A. B.C.D.解析:解析 因为,规格化浮点数的尾数的取值范围为:1/2补 M 补 1 补 ,或-1 补 M 补 -1/2 补那么,将两个尾数相乘,积的
19、取值范围为:1/4补 M 积 补 1 补 或-1 补 M积 补 1/2所以,右规时的右移位数最多是 1位。6.开发专家系统时,通过描述事实和规则由模式匹配得出结论,这种情况下适用的开发语言是_。A面向对象语言 B函数式语言C过程式语言 D逻辑式语言(分数:1.00)A.B.C.D. 解析:解析 本题考查程序语言基本知识。函数式程序设计的数据结构本质上是表,而函数又可以作为值出现在表中,因此函数式程序的控制结构取决于函数,以及函数的定义和调用。函数式语言主要用于符号数据处理,如微分和积分演算、数理逻辑、游戏推演以及人工智能等其他领域。用逻辑式程序设计语言编写程序不需要描述具体的解题过程,只需要给出一些必要的事实和规则。这些规则是解决问题的方法的规范说明,根据这些事实和规则,计算机利用谓词逻辑,通过演绎推理得到求解问题的执行序列。这种语言主要用在人工智能领域,也应用在自然语言处理、数据库查询、算法描述等方面,尤其适合于作为专家系统的开发工具。7.C+ is used with proper _ design techniques.Aobject-oriented Bobject-basedCface to object Dface to target(分数:1.00)A. B.C.D.解析:解析 C+通常与面向对象设计技术结合起来使用。