[计算机类试卷]国家三级(网络技术)机试模拟试卷131及答案与解析.doc

上传人:赵齐羽 文档编号:495635 上传时间:2018-11-28 格式:DOC 页数:4 大小:142.50KB
下载 相关 举报
[计算机类试卷]国家三级(网络技术)机试模拟试卷131及答案与解析.doc_第1页
第1页 / 共4页
[计算机类试卷]国家三级(网络技术)机试模拟试卷131及答案与解析.doc_第2页
第2页 / 共4页
[计算机类试卷]国家三级(网络技术)机试模拟试卷131及答案与解析.doc_第3页
第3页 / 共4页
[计算机类试卷]国家三级(网络技术)机试模拟试卷131及答案与解析.doc_第4页
第4页 / 共4页
亲,该文档总共4页,全部预览完了,如果喜欢就下载吧!
资源描述

国家三级(网络技术)机试模拟试卷 131及答案与解析 一、程序设计题 1 国家三级(网络技术)机试模拟试卷 131答案与解析 一、程序设计题 1 【正确答案】 【试题解析】 定义整型循环变量 i、 j和字符局部变量 yuan。 在第一层 for循环中,循环变量 i从 0开始,依次递增直到其值大于或等于maxline,在循环体中,首先把第 i行的第一个字符 xxi0赋给变量 yuan,在第二层 for循环中,循环变量 j从 0开始,依次递增直到其值等于该行字符串的长度减1,在循环体中,将字符 xxi啪的 ASCII码值与字符 xxij+1的 ASCII码值相加的和保存到字符 xxij中。当退出第二层 for循环后,把第 i行的最后一个字符与第一个字符变量 yuan的值相加,最后通过 strrev()函数对 i行字符串逆序排序。

展开阅读全文
相关资源
猜你喜欢
  • AECMA PREN 3038-1987 Aerospace Series Bolts Pan Head Torq-Setrm Recess Close Tolerance Shank Short Thread Corrosion Resisting Steel Passivated Classification 1100 MPa 425 Degrees C.pdf AECMA PREN 3038-1987 Aerospace Series Bolts Pan Head Torq-Setrm Recess Close Tolerance Shank Short Thread Corrosion Resisting Steel Passivated Classification 1100 MPa 425 Degrees C.pdf
  • AECMA PREN 3042-2002 (CANCELLED) Aerospace series Quality assurance EN aerospace products Qualification procedure Edition 3 [Replaced By ASD-STAN PREN 9133]《删除)航空航天系列质量保证EN航天产品质量规范.pdf AECMA PREN 3042-2002 (CANCELLED) Aerospace series Quality assurance EN aerospace products Qualification procedure Edition 3 [Replaced By ASD-STAN PREN 9133]《删除)航空航天系列质量保证EN航天产品质量规范.pdf
  • AECMA PREN 3043-1990 Aerospace Series Fasteners Externally Threaded in Heat Resisting Steel FE-PA92HT (A 286) Classification 90 MPa 550 Degrees Celcius Manufacturing Method Optiona.pdf AECMA PREN 3043-1990 Aerospace Series Fasteners Externally Threaded in Heat Resisting Steel FE-PA92HT (A 286) Classification 90 MPa 550 Degrees Celcius Manufacturing Method Optiona.pdf
  • AECMA PREN 3044-1990 Aerospace Series Installation of Self-Locking Thread Inserts Design Dimensions Issue P 1《航空航天系列自锁外螺纹设计尺寸.P1版》.pdf AECMA PREN 3044-1990 Aerospace Series Installation of Self-Locking Thread Inserts Design Dimensions Issue P 1《航空航天系列自锁外螺纹设计尺寸.P1版》.pdf
  • AECMA PREN 3045-1987 Aerospace Series Bearings-Airframe Rolling Rigid Single Row Ball Bearings in Steel Diameter Series 0 and 2 Reduced Clearance Category Dimensions and Loads Issu.pdf AECMA PREN 3045-1987 Aerospace Series Bearings-Airframe Rolling Rigid Single Row Ball Bearings in Steel Diameter Series 0 and 2 Reduced Clearance Category Dimensions and Loads Issu.pdf
  • AECMA PREN 3046-1987 Aerospace Series Bearings-Airframe Rolling Rigid Single Row Ball Bearings in Steel Cadmium Plated Diameter Series 0 and 2 Reduced Clearance Category Dimensions.pdf AECMA PREN 3046-1987 Aerospace Series Bearings-Airframe Rolling Rigid Single Row Ball Bearings in Steel Cadmium Plated Diameter Series 0 and 2 Reduced Clearance Category Dimensions.pdf
  • AECMA PREN 3047-1987 Aerospace Series Bearings-Airframe Rolling Rigid Single Row Ball Bearings in Corrosion Resisting Steel Diameter Series 0 and 2 Reduced Clearance Category Dimen.pdf AECMA PREN 3047-1987 Aerospace Series Bearings-Airframe Rolling Rigid Single Row Ball Bearings in Corrosion Resisting Steel Diameter Series 0 and 2 Reduced Clearance Category Dimen.pdf
  • AECMA PREN 3048-1988 Aerospace Series Bearings Spherical Plain in Corrosion Resisting Steel with Self-Lubricating Liner Light Series Elevated Loads at Ambient Temperature Dimension.pdf AECMA PREN 3048-1988 Aerospace Series Bearings Spherical Plain in Corrosion Resisting Steel with Self-Lubricating Liner Light Series Elevated Loads at Ambient Temperature Dimension.pdf
  • AECMA PREN 3049-1990 Aerospace Series 0-Rings Issue P 1《航空航天系列O形环.P1版》.pdf AECMA PREN 3049-1990 Aerospace Series 0-Rings Issue P 1《航空航天系列O形环.P1版》.pdf
  • 相关搜索

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

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