【计算机类职业资格】国家三级(网络技术)机试-试卷88及答案解析.doc

上传人:wealthynice100 文档编号:1331129 上传时间:2019-10-17 格式:DOC 页数:2 大小:29.50KB
下载 相关 举报
【计算机类职业资格】国家三级(网络技术)机试-试卷88及答案解析.doc_第1页
第1页 / 共2页
【计算机类职业资格】国家三级(网络技术)机试-试卷88及答案解析.doc_第2页
第2页 / 共2页
亲,该文档总共2页,全部预览完了,如果喜欢就下载吧!
资源描述

国家三级(网络技术)机试-试卷 88 及答案解析(总分:2.00,做题时间:90 分钟)一、程序设计题(总题数:1,分数:2.00)1. (分数:2.00)_国家三级(网络技术)机试-试卷 88 答案解析(总分:2.00,做题时间:90 分钟)一、程序设计题(总题数:1,分数:2.00)1. (分数:2.00)_正确答案:(正确答案: )解析:解析:因为要进行字符之间的互换,所以定义局部字符变量 ch。定义循环变量 i、j、k。 在第一层 for 循环中,循环变量 i 从 0 开始,依次递增直到其值等于或大于 20,在循环体中实现对每行字符串的处理。在循环体中执行第二层 for 循环,循环变量 j 从 1 开始,依次递增 2 直到其值等于(int)strlen(xxi),在第三层 for 循环中,循环变量 k 从 j+2 开始,依次递增 2,直到其值等于(int)strlen(xxi),如果字符 xxij的 ASCII 码值大于 xxik的 ASCII 码值,则两者进行互换,实现字符串 xxi中下标为奇数的位置上的字符按其 ASCII 值从小到大的顺序进行排序,下标为偶数的位置上的字符仍按原来位置存放的功能。

展开阅读全文
相关资源
猜你喜欢
  • SIS SS-EN 24 829-2-1991 Steel and cast iron  Determination of total silicon content  Reduced molybdosilicate spectrophotometric method  Part 2 Silicon content between 0 01 and 0 05.pdf SIS SS-EN 24 829-2-1991 Steel and cast iron Determination of total silicon content Reduced molybdosilicate spectrophotometric method Part 2 Silicon content between 0 01 and 0 05.pdf
  • SIS SS-EN 24 920-1992 Textiles  Determination of resistance to surface wetting (spray test) of fabrics《纺织 测定织物的抗表面润湿性(喷雾试验)》.pdf SIS SS-EN 24 920-1992 Textiles Determination of resistance to surface wetting (spray test) of fabrics《纺织 测定织物的抗表面润湿性(喷雾试验)》.pdf
  • SIS SS-EN 24 934-1990 Steel and cast iron  Determination of sulphur content  Gravimetric method《钢和铸铁 硫含量的测定 重量法》.pdf SIS SS-EN 24 934-1990 Steel and cast iron Determination of sulphur content Gravimetric method《钢和铸铁 硫含量的测定 重量法》.pdf
  • SIS SS-EN 24 935-1992 Steel and iron  Determination of sulfur content  Infrared absorption method after combustion in an induction furnace《钢,铁 硫含量的测定 感应炉燃烧后采用红外吸收法》.pdf SIS SS-EN 24 935-1992 Steel and iron Determination of sulfur content Infrared absorption method after combustion in an induction furnace《钢,铁 硫含量的测定 感应炉燃烧后采用红外吸收法》.pdf
  • SIS SS-EN 24 937-1991 Steel and iron  Determination of chromi- um content  Potentiometric or visual titration method《钢铁 铬含量的测定 电位滴定法或目测滴定法》.pdf SIS SS-EN 24 937-1991 Steel and iron Determination of chromi- um content Potentiometric or visual titration method《钢铁 铬含量的测定 电位滴定法或目测滴定法》.pdf
  • SIS SS-EN 24 938-1991 Steel and iron  Determination of nickel content  Gravimetric or titrimetric method《钢,铁 镍含量的测定 重量或滴定法》.pdf SIS SS-EN 24 938-1991 Steel and iron Determination of nickel content Gravimetric or titrimetric method《钢,铁 镍含量的测定 重量或滴定法》.pdf
  • SIS SS-EN 24 943-1991 Chemical analysis of ferrous metal  Deter- mination of copper content  Flame atomic absorption spectrometric method《化学分析有色金属 铜含量的测定 火焰原子吸收光谱法》.pdf SIS SS-EN 24 943-1991 Chemical analysis of ferrous metal Deter- mination of copper content Flame atomic absorption spectrometric method《化学分析有色金属 铜含量的测定 火焰原子吸收光谱法》.pdf
  • SIS SS-EN 24 946-1991 Steel and cast iron  Determination of copper content 2 2- diquinolyl spectropho- tometric method《钢和铸铁 铜含量的测2,2-联喹啉光度法》.pdf SIS SS-EN 24 946-1991 Steel and cast iron Determination of copper content 2 2- diquinolyl spectropho- tometric method《钢和铸铁 铜含量的测2,2-联喹啉光度法》.pdf
  • SIS SS-EN 24 947-1991 Steel and cast iron  Determination of vanadium content  Potentiometric titration method《钢和铸铁 钒含量的测定 电位滴定法》.pdf SIS SS-EN 24 947-1991 Steel and cast iron Determination of vanadium content Potentiometric titration method《钢和铸铁 钒含量的测定 电位滴定法》.pdf
  • 相关搜索

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

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