【计算机类职业资格】二级C++机试-137及答案解析.doc

上传人:吴艺期 文档编号:1324316 上传时间:2019-10-17 格式:DOC 页数:2 大小:34KB
下载 相关 举报
【计算机类职业资格】二级C++机试-137及答案解析.doc_第1页
第1页 / 共2页
【计算机类职业资格】二级C++机试-137及答案解析.doc_第2页
第2页 / 共2页
亲,该文档总共2页,全部预览完了,如果喜欢就下载吧!
资源描述

二级 C+机试-137 及答案解析(总分:100.00,做题时间:90 分钟)一、1改错题(总题数:1,分数:30.00)(分数:30.00)填空项 1:_填空项 1:_填空项 1:_二、2填空题(总题数:1,分数:40.00)(分数:40.00)填空项 1:_填空项 1:_填空项 1:_填空项 1:_三、3综合应用题(总题数:1,分数:30.00)1. (分数:30.00)_二级 C+机试-137 答案解析(总分:100.00,做题时间:90 分钟)一、1改错题(总题数:1,分数:30.00)(分数:30.00)填空项 1:_ (正确答案:MyClass(int val):N(1))解析:解析 常数据成员 N 的初始化必须在构造函数的初始化列表中完成。程序中的格式不对。填空项 1:_ (正确答案:MyClass() deletep;)解析:解析 析构函数中释放 p 指向的动态空间,但格式不对。填空项 1:_ (正确答案:void print(MyClassfor(int i=0;iM;i+)for(int j=0;jN;j+)if(maxreturn max:)解析:解析 此处为求矩阵最大值的函数实现。可先假定最大值 max 为矩阵第一行第一列的元素,然后逐个和矩阵其他元素比较,遇到比 max 大的数则赋值给 max,直到全部比较完成。

展开阅读全文
相关资源
猜你喜欢
  • JUS B H8 331-1985 Methods of analysis of coal and coke Determlnation of caking power  GrayKing coke test《煤和焦炭的分析方法-煤粘结力的测定格雷金(Gray-King)焦化试验》.pdf JUS B H8 331-1985 Methods of analysis of coal and coke Determlnation of caking power GrayKing coke test《煤和焦炭的分析方法-煤粘结力的测定格雷金(Gray-King)焦化试验》.pdf
  • JUS B H8 338-1986 Methnds of analysis of coal and coke Coke - Determination of total moisture《煤和焦炭的分析方法 测定焦炭的总水含量》.pdf JUS B H8 338-1986 Methnds of analysis of coal and coke Coke - Determination of total moisture《煤和焦炭的分析方法 测定焦炭的总水含量》.pdf
  • JUS B H8 339-1987 Methods of analysis of coal and coke Coke-determination of moisture in the analysis sample《煤和焦炭的分析方法 焦炭分析试样水分含量的测定》.pdf JUS B H8 339-1987 Methods of analysis of coal and coke Coke-determination of moisture in the analysis sample《煤和焦炭的分析方法 焦炭分析试样水分含量的测定》.pdf
  • JUS B H8 340-1987 Methods of analysis of coal and coke Determination of the bulk den$ity of coke in a small container《煤和焦炭的分析方法 用小型容器测定焦炭的容积密度》.pdf JUS B H8 340-1987 Methods of analysis of coal and coke Determination of the bulk den$ity of coke in a small container《煤和焦炭的分析方法 用小型容器测定焦炭的容积密度》.pdf
  • JUS B H8 341-1987 Methods of analysis of coal and coke Determination of the moisture-holding capacity of hard coals《煤和焦炭的分析方法 硬煤最高内在水分测定方法》.pdf JUS B H8 341-1987 Methods of analysis of coal and coke Determination of the moisture-holding capacity of hard coals《煤和焦炭的分析方法 硬煤最高内在水分测定方法》.pdf
  • JUS B H8 345-1987 Methods of analysis of coal and coke Size analysis of coke《煤和焦炭的分析方法 焦炭的粒度分析法》.pdf JUS B H8 345-1987 Methods of analysis of coal and coke Size analysis of coke《煤和焦炭的分析方法 焦炭的粒度分析法》.pdf
  • JUS B H8 351-1987 Methods of analysis of coal andcoke Determination of the true relative density the apparent relative densi-ty and the p orosity of coke《煤和焦炭的分析方法 焦炭真相对密度、假相对密度和气孔.pdf JUS B H8 351-1987 Methods of analysis of coal andcoke Determination of the true relative density the apparent relative densi-ty and the p orosity of coke《煤和焦炭的分析方法 焦炭真相对密度、假相对密度和气孔.pdf
  • JUS B H8 373-1977 Method of analysis of coaland coke Ste analysis of small coke (nomirml top size 20 mm or less)《煤和焦炭的分析方法 小型焦碳的粒度分析(等于或小于20毫米的标准尺寸)》.pdf JUS B H8 373-1977 Method of analysis of coaland coke Ste analysis of small coke (nomirml top size 20 mm or less)《煤和焦炭的分析方法 小型焦碳的粒度分析(等于或小于20毫米的标准尺寸)》.pdf
  • JUS B H8 376-1982 Solid mineral fuels Coal briguettes Methods for the determination of mechanical strength《固体矿物燃料 煤球 煤球机械强度的测定方法》.pdf JUS B H8 376-1982 Solid mineral fuels Coal briguettes Methods for the determination of mechanical strength《固体矿物燃料 煤球 煤球机械强度的测定方法》.pdf
  • 相关搜索
    资源标签

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

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