[计算机类试卷]软件水平考试(初级)程序员上午(基础知识)章节练习试卷8及答案与解析.doc
《[计算机类试卷]软件水平考试(初级)程序员上午(基础知识)章节练习试卷8及答案与解析.doc》由会员分享,可在线阅读,更多相关《[计算机类试卷]软件水平考试(初级)程序员上午(基础知识)章节练习试卷8及答案与解析.doc(23页珍藏版)》请在麦多课文档分享上搜索。
1、软件水平考试(初级)程序员上午(基础知识)章节练习试卷 8及答案与解析 1 下列关于对象消息的观点,不正确的是 (6)。 ( A)键盘、鼠标等设备有变化时,就会产生消息 ( B)应用程序对象能向操作系统发送消息 ( C)应用程序对象之间不可以相互发送消息 ( D)发送与接收消息的对象通信机制与传统的子程序调用机制不同 2 测试一般可分为白盒测试和黑盒测试,其中白盒测试方法一般适合用于 (29)测试。 ( A)确认 ( B)系统 ( C)集成 ( D)单元 3 瀑布模型 (Waterfall Model)各阶段间具有顺序性和依赖性,它能清楚地区分逻辑设计与物理设计,尽可能推迟程序的物理实现,但它
2、突出的缺点是不适应 (30)的变动。 ( A)算法 ( B)平台 ( C)程序语言 ( D)用户需求 4 结构化分析方法 (SA)是结构化程序设计理论在软件需求分析阶段的运用,它的一个重要指导思想是 (33)。 ( A)自顶向下,逐步分解 ( B)自底向上,逐步抽象 ( C)自顶向下,逐步抽象 ( D)自底向上,逐步分解 5 英国的 M.Jackson提出的 Jackson设计方法是一种面向 (36)的软件设计方法。 ( A)控制结构 ( B)数据流 ( C)数据结构 ( D)对象 6 对象间为请求服务而发送的消息通常包括 (37)。 ( A)发送消息的对象的标识、调用的发送方的操作名和必要的
3、参数 ( B)接收消息的对象的标识、调用的接收方的操作名和必要的参数 ( C)发送消息的类名和接收消息的类名 ( D)接收消息的类名 7 面向对象技术相对于其他开发技术的优势是 (38)。 ( A)系统重用性更强 ( B)系统运行速度更快 ( C)系统占用存储量小 ( D)系统维护更复杂 8 下列关于动态链接文件的说法正确的是 (39)。 ( A)可以自由地插入到其他的源程序中使用 ( B)本身不能独立运行,但可以供其他程序在运行时调用 ( C)本身可以独立运行,也可以供其他程序在运行时调用 ( D)本身是一个数据文件,可以与其他程序动态地链接使用 9 软件的用户界面设计中最重要的也是最基本的
4、目标是 (42)。 ( A)灵活性 ( B)风格多样性 ( C)美观性 ( D)易操作性 10 原型化方法是一种动态定义需求的方法,原型化方法的特征是 (45)。 ( A)精确项目管理 ( B)建立详尽的需求 ( C)加强用户参与和决策 ( D)提供严格定义的文档 11 递归函数 f(n)的功能是计算 1+2+n ,且 n1,则 f(n)的代码段是 (49)。 ( A) if n 1 then return 1 else return n+f(n-1) ( B) if n 1 then return 1 else return n+f(n+1) ( C) if n 1 then return
5、0 else return n+f(n+1) ( D) if n 1 then return 0 else return n+f(n-1) 12 在下面的流 程图中,如果标记为 a的运算执行了 n次 (n 1),那么标记为 b的运算的执行次数为 (50)。 ( A) 1 ( B) n-1 ( C) n ( D) n+1 13 软件的复杂性与许多因素有关。但 (51)不会影响软件的复杂性。 ( A)程序中注释的多少 ( B)程序的结构 ( C)算法的难易程度 ( D)源程序的代码行数 14 在结构化分析与设计方法中,做到 (52),就会在需求改变时对软件的影响比较小。 ( A)程序结构与用户界面
6、相对应 ( B)程序结构与问题结构相独立 ( C)程序结构与问题结构相对应 ( D) 程序结构与用户界面相独立 15 (53)维护的含义是系统的硬件环境、软件环境和数据环境发生变化时需要对系统进行的维护。 ( A)校正性维护 ( B)适应性维护 ( C)完善性维护 ( D)预防性维护 16 (21)put computers to practical business use, but below the surface it is the heart of an(22) - the kernel - that provides the technical wizardry to juggle
7、 multiple programs, connect to networks and store(23).A traditional kernel provides all the functions for applications. The kernel(24) memory, I/O devices and parcels out processor time.The kernel also supports(25) and fault tolerance, which is the ability to recover automatically when parts of the
8、system fail. ( A) Databases ( B) Applications ( C) Drivers ( D) Games ( A) DBMS ( B) Windows ( C) Application ( D) operating system ( A) text ( B) data ( C) image ( D) graphics ( A) manages ( B) manage ( C) managed ( D) managing ( A) authentication ( B) auto - correction ( C) security ( D) problem 2
9、1 By using(26), a 600M -byte music CD can be compressed to 50M bytes or less. It can be streamed(downloaded in chunks) so that you can begin listening to the opening bars while the(27)of the file arrives in the background. And, most important, the music files of this kind retain good listening(28) t
10、hat earlier(29) schemes lacked. That(30) of features makes accessing and distributing music on the web practical for the first time. ( A) JPG ( B) MP3 ( C) MP4 ( D) VOD ( A) next ( B) past ( C) rest ( D) host ( A) quantity ( B) mass ( C) amount ( D) quality ( A) compression ( B) coding ( C) transmis
11、sion ( D) playing ( A) difference ( B) combination ( C) addition ( D) condition 26 Because web servers are(31)and application independent, they can send or request data from legacy or external applications including databases. All replies, once converted into(32)mark-up language, can then be transmi
12、tted to a(33). Used in this way, Intranets can offer(34)desktop support costs, easy links with legacy applications and databases and, above all,(35)of use. ( A) machine ( B) IP ( C) platform ( D) network ( A) plaintext ( B) hypertext ( C) ciphertext ( D) supertext ( A) browser ( B) application ( C)
13、router ( D) server ( A) higher ( B) lower ( C) same ( D) different ( A) hard ( B) difficult ( C) ease ( D) around 31 Software quality assurance is now an emerging sub - discipline of(36). As Buckly and oston point out,(37) software quality assurance is likely to lead to an ultimate(38) of software c
14、osts. However, the major hurdle in the path of software management in this area is the lack of usable software(39). The development of accepted and generally applicable standards should be one of the principal goals of(40) in software engineering. ( A) software engineering ( B) software design ( C)
15、coding ( D) testing ( A) effective ( B) effortless ( C) study ( D) week ( A) balance ( B) increment ( C) production ( D) reduction ( A) mechanism ( B) engineering ( C) standards ( D) design ( A) production ( B) planning ( C) management ( D) research 36 An instruction is made up of(41) that specify t
16、he function to be performed and operands that represent the data to be operated on. For example, if an instruction is to perform the operation of(42) two numbers, it must know(43) the two numbers are. The processors job is to(44) instructions and operands from memory and to perform each operation. H
17、aving done that, it signals(45) to send it next instruction. ( A) data ( B) address ( C) register ( D) operations ( A) added ( B) adding ( C) add ( D) addition ( A) when ( B) which ( C) where ( D) who ( A) get ( B) push ( C) make ( D) put ( A) hard disk ( B) register ( C) memory ( D) cache 41 Softwa
18、re design is a(46) process. It requires a certain amount of fl air on the part of the(47). Design can not be learned from a book . It must be practiced and learnt by experience and study of existing systems. A well(48) software system is straightforward to implement and maintain , easily(49) and rel
19、iable. Badly(48) software systems, although they may work are(50) to be expensive to maintain , difficult to test and unreliable. ( A) create ( B) creative ( C) creating ( D) created ( A) designer ( B) user ( C) computer ( D) design ( A) design ( B) designing ( C) designed ( D) designs ( A) maintain
20、 ( B) maintains ( C) maintaining ( D) maintained ( A) like ( B) unlikely ( C) unlike ( D) likely 46 以下是与 Visual Basic开发应用有关的 5个问题。对每一个问题,请将解答填入对应栏内。 在 Visual Basic中,标准模块文件、窗体文件和工程文件的扩展名是什么 ?请从下列选项中选择: prg、 prj、 exe、 vbp、 form、 frm、 win、 fra、 std、 bas、 vbs、 vbm 2设某窗体上有一个命令按钮,其名称为 Command Save,运行时该按钮上
21、显示有 “保存 (S)”字样的信息。为使热键 Alt+S与该命令按钮相关联,应该对按钮Command Save的 Caption属性设置什么样的属性值 ? 3设某窗口内有一个图像框 Image Frame,以及两个命令按钮 “放大 ”和 “缩小 ”。单击 “放大 ”按钮就会使该图像框的长和宽都放大 20%;单击 “缩小 ”按钮就会使该图像框的长和宽都缩小 20%(该图像框的左上角不动 )。请分别写出这两个命令按钮的单击事件过程中的程序代码。 4为使某个单选按钮初始时默认被选中,在开发时应怎样做 ? 5若有语句 Temp Value = Mag Box(“操作错误 !”, vbOKCancel+
22、vbCritical, “提示 ”),请简要描述程序运行时弹出的消息框的主要特征。 47 阅读以下应用说明及 Visual Basic程序代码,将应填入 (n)处的字句写在对应栏内。 本应用程序的窗体中有一个下拉式列表框 (名称为 Combol)和两个文本框 (名称分别为 Txt_ Content和 Txt_Index)。运行时,用户从 Combol的列表中进行选择,程序就会将选中条目的内容以及编号 (从 0开始 )分别在文本框 Txt_Content和Txt_Index 中显示出来。 【程序代码 5.1】 Private Sub Combol_Click() Txt_Content Text
23、=Combol (1) Txt_Index Text=Combol (2) End Sub (注:可供 (2)处选择的选项: Number, List, Index, ListIndex, ListCount) 【应用说明5.2】 本应用程序的运行窗口如下图所示。 当用户在输入框 (名为 Txt_Input)中输入数值数据,并从下拉式列表框 (名为 CmbOp)中选择所需的运算后。输出框 (名为 Txt_Output)中就会显示运算的结果。用户单击 “清除 ”按钮 (名为 CmdClear)后,输入框和输出框都清空。 开发该应用的部分程序代码如下: 【程序代码 5.2】 Private Sub
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 计算机 试卷 软件 水平 考试 初级 程序员 上午 基础知识 章节 练习 答案 解析 DOC
