[计算机类试卷]计算机三级数据库技术(上机操作)机试模拟试卷67及答案与解析.doc

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

1、计算机三级数据库技术(上机操作)机试模拟试卷 67及答案与解析 一、程序设计题 1 程序 progl C的功能是:把 S字符串中的所有英文字母改写成该字母的下一个字母,字母 z改写成字母 fl,字母 Z改写成字母 A,其他字符不做改变。请编写函数 chg(char*s)实现程序要求。最后调用函数 readwriteDAT()把结果输出到文件Out dat中。例如: S字符串中原有的内容为: Mn 123Zxy。调用该函数后,则结果为: No 123Ayz。 【试题程序】 #include #include #include #define N 81 void readwriteDAT(): v

2、oid chg(char*s) main() char aEN; printf(“Enter a string; ”);gets(a); printf(“The original string is ”); puts(al chg(a); printf(“The string after modified ;”); puts(a); readwriteDAT(); void readwriteDAT() int i; char aEN; FILE*rf。 *wf; rf=fopen(“in dat”, “r”); wf=fopen(“out dat”, ”W”); for(i=0li=A *s=a *s=y) *s+=1; else if(*s=z *s=Z) *S一 =25; s+;

展开阅读全文
相关资源
猜你喜欢
  • STAS SR ISO 7539-2-1994 Corrosion of metals and alloys Stress corrosion testing Part 2 Preparation and use of bent-beam specimens《金属和合金的腐蚀 应力腐蚀试验 第2部分:弯梁试样的制备和应用》.pdf STAS SR ISO 7539-2-1994 Corrosion of metals and alloys Stress corrosion testing Part 2 Preparation and use of bent-beam specimens《金属和合金的腐蚀 应力腐蚀试验 第2部分:弯梁试样的制备和应用》.pdf
  • STAS SR ISO 7539-3-1994 Corrosion of metals and ailoys Stress corrosion testing Part 3 Preparation and use of U-bend specimens《金属和合金的腐蚀 应力腐蚀试验 第3部分:U形弯头试样的制备和应用》.pdf STAS SR ISO 7539-3-1994 Corrosion of metals and ailoys Stress corrosion testing Part 3 Preparation and use of U-bend specimens《金属和合金的腐蚀 应力腐蚀试验 第3部分:U形弯头试样的制备和应用》.pdf
  • STAS SR ISO 7539-4-1993 Corrosion of metals and alloys Stress corrosion testing Part 4 Preparation and use of uniaxially loaded tension specimens《金属和合金的腐蚀 应力腐蚀试验 第4部分:轴向载荷拉伸试样的制备和使.pdf STAS SR ISO 7539-4-1993 Corrosion of metals and alloys Stress corrosion testing Part 4 Preparation and use of uniaxially loaded tension specimens《金属和合金的腐蚀 应力腐蚀试验 第4部分:轴向载荷拉伸试样的制备和使.pdf
  • STAS SR ISO 7547-1995 Air-conditioning and ventilation of accomodation spaces on board ships - Design conditions and basis of calculations《船上空调和起居仓的通风设备 设计条件和计算基础 》.pdf STAS SR ISO 7547-1995 Air-conditioning and ventilation of accomodation spaces on board ships - Design conditions and basis of calculations《船上空调和起居仓的通风设备 设计条件和计算基础 》.pdf
  • STAS SR ISO 7571-1995 Woodworking machines - Surface planing machines with cutterblock for one-side dressing - Nomenclature and acceptance conditions《单面刨光用带组合铣刀的平面刨床 专用术语和验收条件 》.pdf STAS SR ISO 7571-1995 Woodworking machines - Surface planing machines with cutterblock for one-side dressing - Nomenclature and acceptance conditions《单面刨光用带组合铣刀的平面刨床 专用术语和验收条件 》.pdf
  • STAS SR ISO 7583-1995 Anodizing of aluminium and its alloys Vocabulary《铝及铝合金阳极氧化 词汇表 》.pdf STAS SR ISO 7583-1995 Anodizing of aluminium and its alloys Vocabulary《铝及铝合金阳极氧化 词汇表 》.pdf
  • STAS SR ISO 7588-1996 Road vehicles - Relays and flashers - Mounting and positioning dimensions of male tabs and socket apertures for relays and flaschers《道路车辆 继电器和闪光器 及其凸接触件和插座孔的安.pdf STAS SR ISO 7588-1996 Road vehicles - Relays and flashers - Mounting and positioning dimensions of male tabs and socket apertures for relays and flaschers《道路车辆 继电器和闪光器 及其凸接触件和插座孔的安.pdf
  • STAS SR ISO 7590-1995 Steel cord conveyor belts - Cover thickness measurement《钢丝绳芯输送带覆盖层厚度的测定 》.pdf STAS SR ISO 7590-1995 Steel cord conveyor belts - Cover thickness measurement《钢丝绳芯输送带覆盖层厚度的测定 》.pdf
  • STAS SR ISO 7609-1996 Essential oils - Analysis by gas chromatography on capillary columns - General method《精油 毛细血管柱的气象色谱分析 一般方法 》.pdf STAS SR ISO 7609-1996 Essential oils - Analysis by gas chromatography on capillary columns - General method《精油 毛细血管柱的气象色谱分析 一般方法 》.pdf
  • 相关搜索

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

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