【计算机类职业资格】软件水平考试(初级)程序员上午(基础知识)章节练习试卷5及答案解析.doc
《【计算机类职业资格】软件水平考试(初级)程序员上午(基础知识)章节练习试卷5及答案解析.doc》由会员分享,可在线阅读,更多相关《【计算机类职业资格】软件水平考试(初级)程序员上午(基础知识)章节练习试卷5及答案解析.doc(16页珍藏版)》请在麦多课文档分享上搜索。
1、软件水平考试(初级)程序员上午(基础知识)章节练习试卷 5及答案解析(总分:122.00,做题时间:90 分钟)一、选择题(总题数:26,分数:122.00)1.选择题()下列各题 A、B、C、D 四个选项中,只有一个选项是正确的,请将此选项涂写在答题卡相应位置上,答在试卷上不得分。_2.下列关于对象消息的观点,不正确的是(6)。(分数:2.00)A.键盘、鼠标等设备有变化时,就会产生消息B.应用程序对象能向操作系统发送消息C.应用程序对象之间不可以相互发送消息D.发送与接收消息的对象通信机制与传统的子程序调用机制不同3.测试一般可分为白盒测试和黑盒测试,其中白盒测试方法一般适合用于(29)测
2、试。(分数:2.00)A.确认B.系统C.集成D.单元4.瀑布模型(Waterfall Model)各阶段间具有顺序性和依赖性,它能清楚地区分逻辑设计与物理设计,尽可能推迟程序的物理实现,但它突出的缺点是不适应(30)的变动。(分数:2.00)A.算法B.平台C.程序语言D.用户需求5.结构化分析方法(SA)是结构化程序设计理论在软件需求分析阶段的运用,它的一个重要指导思想是(33)。(分数:2.00)A.自顶向下,逐步分解B.自底向上,逐步抽象C.自顶向下,逐步抽象D.自底向上,逐步分解6.英国的 M.Jackson提出的 Jackson设计方法是一种面向(36)的软件设计方法。(分数:2.
3、00)A.控制结构B.数据流C.数据结构D.对象7.对象间为请求服务而发送的消息通常包括(37)。(分数:2.00)A.发送消息的对象的标识、调用的发送方的操作名和必要的参数B.接收消息的对象的标识、调用的接收方的操作名和必要的参数C.发送消息的类名和接收消息的类名D.接收消息的类名8.面向对象技术相对于其他开发技术的优势是(38)。(分数:2.00)A.系统重用性更强B.系统运行速度更快C.系统占用存储量小D.系统维护更复杂9.下列关于动态链接文件的说法正确的是(39)。(分数:2.00)A.可以自由地插入到其他的源程序中使用B.本身不能独立运行,但可以供其他程序在运行时调用C.本身可以独立
4、运行,也可以供其他程序在运行时调用D.本身是一个数据文件,可以与其他程序动态地链接使用10.软件的用户界面设计中最重要的也是最基本的目标是(42)。(分数:2.00)A.灵活性B.风格多样性C.美观性D.易操作性11.原型化方法是一种动态定义需求的方法,原型化方法的特征是(45)。(分数:2.00)A.精确项目管理B.建立详尽的需求C.加强用户参与和决策D.提供严格定义的文档12.递归函数 f(n)的功能是计算 1+2+n,且 n1,则 f(n)的代码段是(49)。(分数:2.00)A.if n1 then return 1 else return n+f(n-1)B.if n1 then r
5、eturn 1 else return n+f(n+1)C.if n1 then return 0 else return n+f(n+1)D.if n1 then return 0 else return n+f(n-1)13.在下面的流程图中,如果标记为 a的运算执行了 n次(n1),那么标记为 b的运算的执行次数为(50)。(分数:2.00)A.1B.n-1C.nD.n+114.软件的复杂性与许多因素有关。但(51)不会影响软件的复杂性。(分数:2.00)A.程序中注释的多少B.程序的结构C.算法的难易程度D.源程序的代码行数15.在结构化分析与设计方法中,做到(52),就会在需求改变时
6、对软件的影响比较小。(分数:2.00)A.程序结构与用户界面相对应B.程序结构与问题结构相独立C.程序结构与问题结构相对应D.程序结构与用户界面相独立16.(53)维护的含义是系统的硬件环境、软件环境和数据环境发生变化时需要对系统进行的维护。(分数:2.00)A.校正性维护B.适应性维护C.完善性维护D.预防性维护(21)put computers to practical business use, but below the surface it is the heart of an(22) - the kernel - that provides the technical wizard
7、ry to juggle 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 p
8、arts of the system fail.(分数:10.00)A.DatabasesB.ApplicationsC.DriversD.GamesA.DBMSB.WindowsC.ApplicationD.operating systemA.textB.dataC.imageD.graphicsA.managesB.manageC.managedD.managingA.authenticationB.auto - correctionC.securityD.problemBy using(26), a 600M -byte music CD can be compressed to 50M
9、 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) that earlier(29) schemes lacked. That(30) of features makes acc
10、essing and distributing music on the web practical for the first time.(分数:10.00)A.JPGB.MP3C.MP4D.VODA.nextB.pastC.restD.hostA.quantityB.massC.amountD.qualityA.compressionB.codingC.transmissionD.playingA.differenceB.combinationC.additionD.conditionBecause web servers are(31)and application independen
11、t, 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 transmitted to a(33). Used in this way, Intranets can offer(34)desktop support costs, easy links with legacy applications and databases and, ab
12、ove all,(35)of use.(分数:10.00)A.machineB.IPC.platformD.networkA.plaintextB.hypertextC.ciphertextD.supertextA.browserB.applicationC.routerD.serverA.higherB.lowerC.sameD.differentA.hardB.difficultC.easeD.aroundSoftware quality assurance is now an emerging sub - discipline of(36). As Buckly and oston po
13、int out,(37) software quality assurance is likely to lead to an ultimate(38) of software costs. 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
14、goals of(40) in software engineering.(分数:10.00)A.software engineeringB.software designC.codingD.testingA.effectiveB.effortlessC.studyD.weekA.balanceB.incrementC.productionD.reductionA.mechanismB.engineeringC.standardsD.designA.productionB.planningC.managementD.researchAn instruction is made up of(41
15、) that specify the 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 e
16、ach operation. Having done that, it signals(45) to send it next instruction.(分数:10.00)A.dataB.addressC.registerD.operationsA.addedB.addingC.addD.additionA.whenB.whichC.whereD.whoA.getB.pushC.makeD.putA.hard diskB.registerC.memoryD.cacheSoftware design is a(46) process. It requires a certain amount o
17、f 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 reliable. Badly(48) software systems, although they may work
18、are(50) to be expensive to maintain , difficult to test and unreliable.(分数:10.00)A.createB.creativeC.creatingD.createdA.designerB.userC.computerD.designA.designB.designingC.designedD.designsA.maintainB.maintainsC.maintainingD.maintainedA.likeB.unlikelyC.unlikeD.likely17.以下是与 Visual Basic开发应用有关的 5个问题
19、。对每一个问题,请将解答填入对应栏内。 在Visual Basic中,标准模块文件、窗体文件和工程文件的扩展名是什么?请从下列选项中选择: prg、prj、exe、vbp、form、frm、win、fra、std、bas、vbs、vbm 2设某窗体上有一个命令按钮,其名称为 Command Save,运行时该按钮上显示有“保存(S)”字样的信息。为使热键 Alt+S与该命令按钮相关联,应该对按钮 Command Save的 Caption属性设置什么样的属性值? 3设某窗口内有一个图像框Image Frame,以及两个命令按钮“放大”和“缩小”。单击“放大”按钮就会使该图像框的长和宽都放大 2
20、0%;单击“缩小”按钮就会使该图像框的长和宽都缩小 20%(该图像框的左上角不动)。请分别写出这两个命令按钮的单击事件过程中的程序代码。 4为使某个单选按钮初始时默认被选中,在开发时应怎样做? 5若有语句 Temp Value = Mag Box(“操作错误!”,vbOKCancel+vbCritical,“提示”),请简要描述程序运行时弹出的消息框的主要特征。(分数:2.00)_阅读以下应用说明及 Visual Basic程序代码,将应填入(n)处的字句写在对应栏内。 本应用程序的窗体中有一个下拉式列表框(名称为 Combol)和两个文本框(名称分别为 Txt_ Content和 Txt_I
21、ndex)。运行时,用户从 Combol的列表中进行选择,程序就会将选中条目的内容以及编号(从 0开始)分别在文本框Txt_Content和 Txt_Index中显示出来。 【程序代码 5.1】 Private Sub Combol_Click() Txt_Content Text=Combol (1) Txt_Index Text=Combol (2) End Sub (注:可供(2)处选择的选项:Number,List,Index,ListIndex,ListCount) 【应用说明 5.2】 本应用程序的运行窗口如下图所示。 (分数:10.00)_阅读以下应用说明、属性设置及 Visua
22、l Bssic程序代码,将应填入(n)处在字句写在对应栏内。 【应用说明 7】 本应用程序的运行窗口显示一行字“欢迎光临”,还有 2个按钮,一个显示“闪烁”;一个显示“停止”。只要用户单击“闪烁”按钮,文字“欢迎光临”就会以 0.5秒消失、0.5 秒显示反复进行闪烁;单击“停止”按钮时,闪烁停止,恢复图示的初态。在开发过程中,需要设置的属性如表 4.1所示。(分数:10.00)_阅读以下应用说明及 Visual Basic程序代码,将应填入(n)处的字句写在对应栏内。 【应用说明 9】 本应用程序的运行窗口如图 4.2所示。 窗口中的 3个文本框和两个按钮名称分别为 Txt-salary、Tx
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
5000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 计算机 职业资格 软件 水平 考试 初级 程序员 上午 基础知识 章节 练习 试卷 答案 解析 DOC
