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

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

国家三级(网络技术)机试模拟试卷 110及答案与解析 一、程序设计题 1 国家三级(网络技术)机试模拟试卷 110答案与解析 一、程序设计题 1 【正确答案】 【试题解析】 首先定义循环变量 i、 j和表示字符串长度的整型变量 strl。 在第一层 for循环中,循环变量 i从 0开始,依次递增直到其值等于或大于maxline,在循环体中,首先用函数 strlen(originali)计算字符串 originali的长度,把这个值赋给整型变量 strl。在第二层 for循环中,循环变量 j从 0开始,依次递增直到其值等于或大于 strl,利用表达式 originalij+=originalij 4实现对字符 originalij的 ASCII码值右移 4位后所得到值与原字符 0riginalij的ASCII码值相加,仍存 入原字符串对应的位置上的功能。

展开阅读全文
相关资源
猜你喜欢
  • STAS SR ISO 3470-1995 Passenger cars - Windscreen demisting systems - Test method《乘用车.挡风玻璃除雾系统.测试方法 》.pdf STAS SR ISO 3470-1995 Passenger cars - Windscreen demisting systems - Test method《乘用车.挡风玻璃除雾系统.测试方法 》.pdf
  • STAS SR ISO 3477-1995 Polypropylene (PP) pipas andfittinga Density - Determination and specification《聚丙烯(PP)管道和密度.测定和规范 》.pdf STAS SR ISO 3477-1995 Polypropylene (PP) pipas andfittinga Density - Determination and specification《聚丙烯(PP)管道和密度.测定和规范 》.pdf
  • STAS SR ISO 3497-1992 Metallic coatings Measurement of coating thickness X-ray spectro-metrie methods《金属涂层.涂层厚度的测量.X射线光谱测定法》.pdf STAS SR ISO 3497-1992 Metallic coatings Measurement of coating thickness X-ray spectro-metrie methods《金属涂层.涂层厚度的测量.X射线光谱测定法》.pdf
  • STAS SR ISO 3501-1995 Assembled joints between fittings and polyethylene (PE) pressure pipes - Test of resistbnce to pull out《聚乙烯(PE)压力管材和管件间的装配街头.抗拉拔实验》.pdf STAS SR ISO 3501-1995 Assembled joints between fittings and polyethylene (PE) pressure pipes - Test of resistbnce to pull out《聚乙烯(PE)压力管材和管件间的装配街头.抗拉拔实验》.pdf
  • STAS SR ISO 3503-1995 Assembled joints between fittings and polyethylene (PE) pressure pipes-Test of leakproofness under internai pressure when subjected to bending《聚乙烯压力管材和管件间的装配接.pdf STAS SR ISO 3503-1995 Assembled joints between fittings and polyethylene (PE) pressure pipes-Test of leakproofness under internai pressure when subjected to bending《聚乙烯压力管材和管件间的装配接.pdf
  • STAS SR ISO 602-1994 Coal - Determination of mineral matter《煤.矿物质的测定 》.pdf STAS SR ISO 602-1994 Coal - Determination of mineral matter《煤.矿物质的测定 》.pdf
  • STAS SR ISO 612-1996 Road vehicles - Dimensions of motor vehicles and towed vehicles - Terms and definitions《道路车辆.汽车及拖走的尺寸.术语和定义 》.pdf STAS SR ISO 612-1996 Road vehicles - Dimensions of motor vehicles and towed vehicles - Terms and definitions《道路车辆.汽车及拖走的尺寸.术语和定义 》.pdf
  • STAS SR ISO 619-1995 Manganesev ores - Determination of chromium content -Diphenylcarbazide photometric method and silver persulphate titrimetric method《二氧化锰矿石.铬含量的测定.二苯卡巴肼光度法和银硫酸钾.pdf STAS SR ISO 619-1995 Manganesev ores - Determination of chromium content -Diphenylcarbazide photometric method and silver persulphate titrimetric method《二氧化锰矿石.铬含量的测定.二苯卡巴肼光度法和银硫酸钾.pdf
  • STAS SR ISO 639-1995 Code for the representation of names of languages《语言名称的代表码 》.pdf STAS SR ISO 639-1995 Code for the representation of names of languages《语言名称的代表码 》.pdf
  • 相关搜索

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

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