[计算机类试卷]国家二级(C++)笔试模拟试卷26(无答案).doc

上传人:amazingpat195 文档编号:846957 上传时间:2019-02-21 格式:DOC 页数:13 大小:43KB
下载 相关 举报
[计算机类试卷]国家二级(C++)笔试模拟试卷26(无答案).doc_第1页
第1页 / 共13页
[计算机类试卷]国家二级(C++)笔试模拟试卷26(无答案).doc_第2页
第2页 / 共13页
[计算机类试卷]国家二级(C++)笔试模拟试卷26(无答案).doc_第3页
第3页 / 共13页
[计算机类试卷]国家二级(C++)笔试模拟试卷26(无答案).doc_第4页
第4页 / 共13页
[计算机类试卷]国家二级(C++)笔试模拟试卷26(无答案).doc_第5页
第5页 / 共13页
点击查看更多>>
资源描述

1、国家二级( C+)笔试模拟试卷 26(无答案)1 下面叙述正确的是( ) 。(A)算法的执行效率与数据的存储结构无关(B)算法的空间复杂度是指算法程序中指令(或语句)的条数(C)算法的有穷性是指算法必须能在执行有限个步骤之后终止(D)以上三种描述都不对2 下列叙述中正确的是( )。(A)线性表是线性结构(B)栈与队列是非线性结构(C)线性链表是非线性结构(D)二叉树是线性结构3 下述有关构造函数的说法,不正确的是( )。(A)构造函数名字和类的名字一样(B)构造函数在说明类变量时自动执行(C)构造函数无任何函数类型(D)构造函数有且只有一个4 两个或两个以上模块之间关联的紧密程度称为( )。(

2、A)耦合度(B)内聚度(C)复杂度(D)数据传输特性5 数据模型的三要素是( )。(A)外模式、概念模式和内模式(B)关系模型、网状模型、层次模型(C)实体、属性和联系(D)数据结构、数据操作和数据约束条件6 需求分析是( ) 。(A)软件开发工作的基础(B)软件生存周期的开始(C)由系统分析员单独完成(D)由用户自己单独完成7 在软件开发中,下面任务不属于设计阶段的是( )。(A)数据结构设计(B)给出系统模块结构(C)定义模块算法(D)定义需求并建立系统模型8 下列关于数据库系统的叙述中正确的是( )。(A)数据库系统减少了数据冗余(B)数据库系统避免了切冗余(C)数据库系统中数据的一致性

3、是指数据类型一致(D)数据库系统比文件系统能管理更多的数据9 在结构化方法中,用数据流程图(DFD)作为描述工具的软件开发阶段是( )。(A)可行性分析(B)需求分析(C)详细设计(D)程序编码10 下列选项中不属于软件生命周期定义时期任务的是( )。(A)可行性分析(B)概要设计(C)规格说明(D)需求分析11 设 a 和 b 均为 double 型变量,且 a=55、b=25,则表达式(int)a+bb 的值是( )。(A)6.5(B) 6(C) 5.5(D)612 如果有以下定义及初始化: int a=3,*p:42 以下程序的输出结果是【 】。includeiostream.hincl

4、ude string.hvoid main 0 char s50;strcpy(strcpy(strcpy (couts; 43 函数调用时,若形象,实参均为数组,则其传递方式是【 】。44 以下程序的输出结果是【 】。#includeiostream. hvoid main() int *p;p=new int;*p=200;cout*p;delete p; 45 分析以下程序的执行结果【 】。#include iostream. hclass Sint A10;public:int ;int void main() S a;int i,j;for (i=0; i10; i+)a(i)=i*

5、2;for (i=0; i10; i+)couta(i) “ “;coutend1; 46 阅读下列程序,并写程序运行结果【 】。#includeiomanip. hvoid main() for(int i=0;i4;i+)coutend1 setfill( )setw(4-i) 0setfill(*) setw(i+i)(i0? O : ); 47 若已定义,以下 fun 函数的功能是:在第一个循环中给前 10 个数组元素依次赋1、2、3、 4、5、6、7、8、9、10;在第二个循环中使 a 数组前 10 个元素中的值对称折叠,变成 1、 2、3、4、5、5、4、3、2、1。请填空。fun(int a)int i;for(i=1;i =10;i+) 【 】=i ;for(i=0;i 5;i+) 【 】 ai ;

展开阅读全文
相关资源
猜你喜欢
  • BS PD IEC TS 62763-2013_5284 Pilot function through a control pilot circuit using PWM (pulse width modulation) and a control pilot wire《通过控制导向线使用PWM (脉冲宽度调制) 的导向功能和控制导向线》.pdf BS PD IEC TS 62763-2013_5284 Pilot function through a control pilot circuit using PWM (pulse width modulation) and a control pilot wire《通过控制导向线使用PWM (脉冲宽度调制) 的导向功能和控制导向线》.pdf
  • BS ISO 8070-2007 Milk and milk products - Determination of calcium sodium potassium and magnesium contents - Atomic absorption spectrometric method《牛奶和奶制品 钙、钠、钾和镁含量的测定 原子吸.pdf BS ISO 8070-2007 Milk and milk products - Determination of calcium sodium potassium and magnesium contents - Atomic absorption spectrometric method《牛奶和奶制品 钙、钠、钾和镁含量的测定 原子吸.pdf
  • BS ISO 8082-1-2009 Self-propelled machinery for forestry - Laboratory tests and performance requirements for roll-over protective structures - General machines《林业用自推进机械 防倾.pdf BS ISO 8082-1-2009 Self-propelled machinery for forestry - Laboratory tests and performance requirements for roll-over protective structures - General machines《林业用自推进机械 防倾.pdf
  • BS ISO 8082-2-2011 Self-propelled machinery for forestry Laboratory tests and performance requirements for roll-over protective structures Machines having a rotating platf.pdf BS ISO 8082-2-2011 Self-propelled machinery for forestry Laboratory tests and performance requirements for roll-over protective structures Machines having a rotating platf.pdf
  • BS ISO 8083-2006 Machinery for forestry - Falling-object protective structures (FOPS) - Laboratory tests and performance requirements《林业机械 落体防护装置(FOPS) 实验室试验和性能要求》.pdf BS ISO 8083-2006 Machinery for forestry - Falling-object protective structures (FOPS) - Laboratory tests and performance requirements《林业机械 落体防护装置(FOPS) 实验室试验和性能要求》.pdf
  • BS ISO 8086-2004 Dairy plant - Hygiene conditions - General guidance on inspection and sampling procedures《乳品厂 卫生条件 检验和取样程序通用指南》.pdf BS ISO 8086-2004 Dairy plant - Hygiene conditions - General guidance on inspection and sampling procedures《乳品厂 卫生条件 检验和取样程序通用指南》.pdf
  • BS ISO 8096-2005 Rubber- or plastics-coated fabrics for water resistant clothing - Specification《雨衣用橡胶或塑料涂覆织物 规范》.pdf BS ISO 8096-2005 Rubber- or plastics-coated fabrics for water resistant clothing - Specification《雨衣用橡胶或塑料涂覆织物 规范》.pdf
  • BS ISO 8097-2001 Aircraft Minimum airworthiness requirements and test conditions for certified air cargo unit load devices《航空器 经认证的航空货运集装单元装置最低适航性要求和试验条件》.pdf BS ISO 8097-2001 Aircraft Minimum airworthiness requirements and test conditions for certified air cargo unit load devices《航空器 经认证的航空货运集装单元装置最低适航性要求和试验条件》.pdf
  • BS ISO 8114-1993 Textile machinery and accessories - Spindles for ring-spinning and doubling machines - List of equivalent terms《纺织机械和附件 环锭纺纱机和并线机用锭子 同义术语表》.pdf BS ISO 8114-1993 Textile machinery and accessories - Spindles for ring-spinning and doubling machines - List of equivalent terms《纺织机械和附件 环锭纺纱机和并线机用锭子 同义术语表》.pdf
  • 相关搜索

    当前位置:首页 > 考试资料 > 职业资格

    copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
    备案/许可证编号:苏ICP备17064731号-1