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

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

国家三级(网络技术)机试-试卷 51 及答案解析(总分:2.00,做题时间:90 分钟)一、程序设计题(总题数:1,分数:2.00)1. (分数:2.00)_国家三级(网络技术)机试-试卷 51 答案解析(总分:2.00,做题时间:90 分钟)一、程序设计题(总题数:1,分数:2.00)1. (分数:2.00)_正确答案:(正确答案: )解析:解析:定义循环变量 i、j 和字符变量 tmp。 在 for 循环语句中,循环变量 i 从 0 开始,依次递增直到其值等于文章最大行数 maxline。在循环体中,首先把第 i 行字符串的最后一个字符赋给字符tmp,通过表达式“strlen(xxi)-1”可以得到第 i 行最后一个字符的数组下标值;然后再继续通过一个for 循环从文章第 i 行字符串的最后一个字符开始,每循环一次循环变量减 1,字符 xxij的 ASCII 码的二制位右移 4 位与其前一个字符 xxij-1的 ASCII 码之和赋给字符 xxij,直到第 i 行字符串的第二个字符为结束;最后,将第 i 行字符串的最后一个字符的 ASCII 码值与第 i 行字符串的第一个字符的ASCII 码值之和赋给第一个字符。

展开阅读全文
相关资源
猜你喜欢
  • IEC 61337-2-2004 Filters using waveguide type dielectric resonators - Part 2 Guidance for use《采用波导型介电谐振器的滤波器.第2部分 使用指南》.pdf IEC 61337-2-2004 Filters using waveguide type dielectric resonators - Part 2 Guidance for use《采用波导型介电谐振器的滤波器.第2部分 使用指南》.pdf
  • IEC 61338-1-2004 Waveguide type dielectric resonators - Part 1 Generic specification《波导型介电谐振器.第1部分 通用规范》.pdf IEC 61338-1-2004 Waveguide type dielectric resonators - Part 1 Generic specification《波导型介电谐振器.第1部分 通用规范》.pdf
  • IEC 61338-1-3-1999 Waveguide type dielectric resonators - Part 1-3 General information and test conditions - Measurement method of complex relative permittivity for dielectric reso.pdf IEC 61338-1-3-1999 Waveguide type dielectric resonators - Part 1-3 General information and test conditions - Measurement method of complex relative permittivity for dielectric reso.pdf
  • IEC 61338-1-4-2005 Waveguide type dielectric resonators - Part 1-4 General information and test conditions - Measurement method of complex relative permittivity for dielectric reso.pdf IEC 61338-1-4-2005 Waveguide type dielectric resonators - Part 1-4 General information and test conditions - Measurement method of complex relative permittivity for dielectric reso.pdf
  • IEC 61338-2-2004 Waveguide type dielectric resonators - Part 2 Guidelines for oscillator and filter applications《波导型介电谐振器.第2部分 振荡器和滤波器应用指南》.pdf IEC 61338-2-2004 Waveguide type dielectric resonators - Part 2 Guidelines for oscillator and filter applications《波导型介电谐振器.第2部分 振荡器和滤波器应用指南》.pdf
  • IEC 61338-4-1-2005 Waveguide type dielectric resonators - Part 4-1 Blank detail specification《波导型介电谐振器 第4-1部分 空白详细规范》.pdf IEC 61338-4-1-2005 Waveguide type dielectric resonators - Part 4-1 Blank detail specification《波导型介电谐振器 第4-1部分 空白详细规范》.pdf
  • IEC 61338-4-2005 Waveguide type dielectric resonators - Part 4 Sectional specification《波导型介电谐振器.第4部分 分规范》.pdf IEC 61338-4-2005 Waveguide type dielectric resonators - Part 4 Sectional specification《波导型介电谐振器.第4部分 分规范》.pdf
  • IEC 61340-2-1-2015 Electrostatics - Part 2-1 Measurement methods - Ability of materials and products to dissipate static electric charge《静电学.第2-1部分 材料和产品损耗静电荷的能力的测量方法》.pdf IEC 61340-2-1-2015 Electrostatics - Part 2-1 Measurement methods - Ability of materials and products to dissipate static electric charge《静电学.第2-1部分 材料和产品损耗静电荷的能力的测量方法》.pdf
  • IEC 61340-3-1-2006 Electrostatics - Part 3-1 Methods for simulation of electrostatic effects - Human body model (HBM) electrostatic discharge test waveforms《静电学.第3-1部分 静电感应模拟方法.人体模型(HBM).静电放电试验波形》.pdf IEC 61340-3-1-2006 Electrostatics - Part 3-1 Methods for simulation of electrostatic effects - Human body model (HBM) electrostatic discharge test waveforms《静电学.第3-1部分 静电感应模拟方法.人体模型(HBM).静电放电试验波形》.pdf
  • 相关搜索

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

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