[计算机类试卷]国家二级(C语言)章节练习试卷2及答案与解析.doc

上传人:syndromehi216 文档编号:503250 上传时间:2018-11-29 格式:DOC 页数:3 大小:25.50KB
下载 相关 举报
[计算机类试卷]国家二级(C语言)章节练习试卷2及答案与解析.doc_第1页
第1页 / 共3页
[计算机类试卷]国家二级(C语言)章节练习试卷2及答案与解析.doc_第2页
第2页 / 共3页
[计算机类试卷]国家二级(C语言)章节练习试卷2及答案与解析.doc_第3页
第3页 / 共3页
亲,该文档总共3页,全部预览完了,如果喜欢就下载吧!
资源描述

1、国家二级( C语言)章节练习试卷 2及答案与解析 1 以下有 4组用户标识符,其中合法的一组是 _。 ( A) For -sub Case ( B) 4d DO Size ( C) f2_G3 IF abc ( D) WORD void define 2 以下叙述正确的是 _。 ( A)可以把 define和 if定义为用户标识符 ( B)可以把 define定义为用户标识符,但不能把 if定义为用户标识符 ( C)可以把 if定义为用户标识符,但不能把 define定义为用户标识符 ( D) define和 if都不能定义为用户标识符 3 以下选项中合法的用户标识符是 _。 ( A) lon

2、g ( B) 2Test ( C) 3Dmax ( D) A.dat 4 以下叙述正确的是 _。 ( A) C语言比其他语言高级 ( B) C语言可以不用编译就能被计算机识别执行 ( C) C语言出现得较晚、具有其他语言的一切优点 ( D) C语言以接近英语国家的自然语言和数学语言作为语言的表达形式 5 能将高级语言编写的目标程序转换为可执行的应用程序的是 _。 ( A)连接程序 ( B)解释程序 ( C) 编译程序 ( D)编辑程序 6 以上程序的输出结果是 _。 #define MIN(x,y) (x) (y)?(x): (y) main() int a=5, b=2, c=3, d=3,

3、 t: t=MIN(a+b, c+d)*10; printf(“%dn“ t); 7 以下程序的输出结果是 _。 #define sqr(x) x*x main() int a=16, k=2, m=1; a/=sqr(k+m)/sqr(k+m); printf(“%d/n“, a); 8 设有以下宏定义 #define W 5 #define L (W+2) 则执行赋值语句 p=L*2; (p为 int 型变量 )后, p的值为 _。 国家二级( C语言)章节练习试卷 2答案与解析 1 【正确答案】 C 2 【正确答案】 B 3 【正确答案】 B 4 【正确答案】 D 5 【正确答案】 A 6 【正确答案】 60 7 【正确答案】 2 8 【正 确答案】 14

展开阅读全文
相关资源
猜你喜欢
  • BS QC 210000-1996 Technology approval schedules Requirements under the IEC Quality Assessment System for Electronic Components (IECQ)《技术认可一览表 电子元器件按IEC 质量评定体系的要求》.pdf BS QC 210000-1996 Technology approval schedules Requirements under the IEC Quality Assessment System for Electronic Components (IECQ)《技术认可一览表 电子元器件按IEC 质量评定体系的要求》.pdf
  • BS QC 400203-1993 Specification for fixed resistors for use in electronic equipment Blank detail specification Fixed power resistors heat-sink types Assessment level H《电子设备用固定电阻器规范 空白详细规范 固定功率.pdf BS QC 400203-1993 Specification for fixed resistors for use in electronic equipment Blank detail specification Fixed power resistors heat-sink types Assessment level H《电子设备用固定电阻器规范 空白详细规范 固定功率.pdf
  • BS QC 760000-1990 Harmonized system of quality assessment for electronic components Film and hybrid film integrated circuits Generic specification《电子元器件质量评估协调体系 薄膜和混合薄膜集成电路 一般规范》.pdf BS QC 760000-1990 Harmonized system of quality assessment for electronic components Film and hybrid film integrated circuits Generic specification《电子元器件质量评估协调体系 薄膜和混合薄膜集成电路 一般规范》.pdf
  • BS S 148-1969 Specification for low nickel-chromium steel (bar for the manufacture of forged bolts only)《仅用于锻制螺栓的低镍-铬钢棒规范》.pdf BS S 148-1969 Specification for low nickel-chromium steel (bar for the manufacture of forged bolts only)《仅用于锻制螺栓的低镍-铬钢棒规范》.pdf
  • BS S 153-1976 Specification 21 2% nickel-chromium-molybdenum steel billets bars forgings and parts (1230-1430 MPa limiting ruling section 40 mm)《规范 5 2%镍-铬-钼钢方坯、棒材、锻件及零件(1230-1430MPa 限定等圆断面40mm)》.pdf BS S 153-1976 Specification 21 2% nickel-chromium-molybdenum steel billets bars forgings and parts (1230-1430 MPa limiting ruling section 40 mm)《规范 5 2%镍-铬-钼钢方坯、棒材、锻件及零件(1230-1430MPa 限定等圆断面40mm)》.pdf
  • BS S 154-1976 Specification 21 2% nickel-chromium-molybdenum steel billets bars forgings and parts (880-1080 MPa limiting ruling section 150 mm)《规范 5 2%镍-铬-钼钢方坯、棒材、锻件及零件规范(880-1080MPa 限定等圆断面150m.pdf BS S 154-1976 Specification 21 2% nickel-chromium-molybdenum steel billets bars forgings and parts (880-1080 MPa limiting ruling section 150 mm)《规范 5 2%镍-铬-钼钢方坯、棒材、锻件及零件规范(880-1080MPa 限定等圆断面150m.pdf
  • BS S 156-1976 Specification for 4% nickel-chromium-molybdenum case-hardening steel (vacuum arc remelted) billets bars forgings and parts (1320-1520 MPa)《4%镍-铬-钼表面硬化钢(真空电弧重熔)坯、棒材、锻件及零件规范(1320-1520M.pdf BS S 156-1976 Specification for 4% nickel-chromium-molybdenum case-hardening steel (vacuum arc remelted) billets bars forgings and parts (1320-1520 MPa)《4%镍-铬-钼表面硬化钢(真空电弧重熔)坯、棒材、锻件及零件规范(1320-1520M.pdf
  • BS S 157-1976 Specification 3% nickel-chromium-molybdenum case-hardening steel billets bars forgings and parts (1180-1380 MPa)《规范 3%镍-铬-钼表面硬化钢方坯、棒材、锻件及零件(1180-1380MPa)》.pdf BS S 157-1976 Specification 3% nickel-chromium-molybdenum case-hardening steel billets bars forgings and parts (1180-1380 MPa)《规范 3%镍-铬-钼表面硬化钢方坯、棒材、锻件及零件(1180-1380MPa)》.pdf
  • BS S 158-1977 Specification for 1% chromium-molybdenum steel bars for the manufacture of forged bolts and forged nuts《锻制螺栓和螺母的含1%铬-钼钢棒规范》.pdf BS S 158-1977 Specification for 1% chromium-molybdenum steel bars for the manufacture of forged bolts and forged nuts《锻制螺栓和螺母的含1%铬-钼钢棒规范》.pdf
  • 相关搜索

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

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