【计算机类职业资格】顺序结构及答案解析.doc

上传人:wealthynice100 文档编号:1340534 上传时间:2019-10-17 格式:DOC 页数:4 大小:34KB
下载 相关 举报
【计算机类职业资格】顺序结构及答案解析.doc_第1页
第1页 / 共4页
【计算机类职业资格】顺序结构及答案解析.doc_第2页
第2页 / 共4页
【计算机类职业资格】顺序结构及答案解析.doc_第3页
第3页 / 共4页
【计算机类职业资格】顺序结构及答案解析.doc_第4页
第4页 / 共4页
亲,该文档总共4页,全部预览完了,如果喜欢就下载吧!
资源描述

1、顺序结构及答案解析(总分:17.00,做题时间:90 分钟)一、B选择题/B(总题数:9,分数:9.00)1.有以下程序 main() int m,n,p; scanf(“m=% dn=% dp=%d“,9.下列关于复合语句以及空语句的说法,正确的是_(分数:1.00)A.复合语句中最后一个语句的最后一个分号可以省略B.复合语句不可以嵌套C.空语句在执行时没有动作,因此没有用途D.空语句可以作“延时”使用二、B填空题/B(总题数:4,分数:8.00)10.以下程序的输出结果是_。 main() int a=1,b=2; a=a+b;b=a-b;a=a-b; printf(“%d,%d/n“,a

2、b); (分数:2.00)填空项 1:_11.以下程序运行后的输出结果是_。 main() int a,b,c; a=25; b=025; c=ox25; pfintf(“%d %d %d/n“,a,b,c); (分数:2.00)填空项 1:_12.有以下程序 main() char a,b,C,d; scanf(“%c,%c,%d,%d”,解析:9.下列关于复合语句以及空语句的说法,正确的是_(分数:1.00)A.复合语句中最后一个语句的最后一个分号可以省略B.复合语句不可以嵌套C.空语句在执行时没有动作,因此没有用途D.空语句可以作“延时”使用 解析:二、B填空题/B(总题数:4,分数:

3、8.00)10.以下程序的输出结果是_。 main() int a=1,b=2; a=a+b;b=a-b;a=a-b; printf(“%d,%d/n“,a,b); (分数:2.00)填空项 1:_ (正确答案:2, 1)解析:11.以下程序运行后的输出结果是_。 main() int a,b,c; a=25; b=025; c=ox25; pfintf(“%d %d %d/n“,a,b,c); (分数:2.00)填空项 1:_ (正确答案:25 21 37)解析:12.有以下程序 main() char a,b,C,d; scanf(“%c,%c,%d,%d”,&a,&b,&c,&d); printf(“%c,%c,%c,%c/n “a,b,c,d); 若运行时从键盘上输入:6,5,65,66回车。则输出结果是_。(分数:2.00)填空项 1:_ (正确答案:6,5,A,B)解析:13.若想通过以下输入语句使 a=5.0,b=4,c=3,则输入数据的形式应该是_。 int b,C; float a: scanf(“%f, %d,c=%d”,&a,&b,&c);(分数:2.00)填空项 1:_ (正确答案:5,4,c=3 或 5.0,4,c=3)解析:

展开阅读全文
相关资源
猜你喜欢
  • BS EN 2591-709-2001 Elements of electrical and optical connection - Test methods - Electrical elements - Tensile strength of couplers《电气和光学连接元件 试验方法 电气元件 耦合器的抗拉强度》.pdf BS EN 2591-709-2001 Elements of electrical and optical connection - Test methods - Electrical elements - Tensile strength of couplers《电气和光学连接元件 试验方法 电气元件 耦合器的抗拉强度》.pdf
  • BS EN 2591-7301-2001 Elements of electrical and optical connection - Test methods - Electrical elements - Temperature endurance of couplers《电气和光学连接元件 试验方法 电气元件 耦合器的耐温度性能》.pdf BS EN 2591-7301-2001 Elements of electrical and optical connection - Test methods - Electrical elements - Temperature endurance of couplers《电气和光学连接元件 试验方法 电气元件 耦合器的耐温度性能》.pdf
  • BS EN 2592-1991 Specification for three-pole circuit breakers temperature compensated rated currents up to 25 A Product standard《额定电流达25A带温度补偿的3极电路断路器规范 产品标准》.pdf BS EN 2592-1991 Specification for three-pole circuit breakers temperature compensated rated currents up to 25 A Product standard《额定电流达25A带温度补偿的3极电路断路器规范 产品标准》.pdf
  • BS EN 2593-001-2014 Aerospace series Bases for 10 A electromagnetic plug-in relays two and four poles double thrown Technical specification《航空航天系列 两极和四极双投的10 A电磁插入式继电器站 技术规格》.pdf BS EN 2593-001-2014 Aerospace series Bases for 10 A electromagnetic plug-in relays two and four poles double thrown Technical specification《航空航天系列 两极和四极双投的10 A电磁插入式继电器站 技术规格》.pdf
  • BS EN 2596-2006 Aerospace series Washers lock with radial serrations in corrosion resisting steel cadmium plated for flight control rods Dimensions《航空航天系列 耐蚀钢制的镀镉径向锯齿锁紧垫圈规范 尺寸规格》.pdf BS EN 2596-2006 Aerospace series Washers lock with radial serrations in corrosion resisting steel cadmium plated for flight control rods Dimensions《航空航天系列 耐蚀钢制的镀镉径向锯齿锁紧垫圈规范 尺寸规格》.pdf
  • BS EN 2597-1998 Carbon fibre reinforced plastics - Unidirectional laminates - Tensile test perpendicular to the fibre direction《碳纤维层压板材 单向层压板材 垂直于纤维方向的拉伸试验》.pdf BS EN 2597-1998 Carbon fibre reinforced plastics - Unidirectional laminates - Tensile test perpendicular to the fibre direction《碳纤维层压板材 单向层压板材 垂直于纤维方向的拉伸试验》.pdf
  • BS EN 2599-2001 Aerospace series - Strips in aluminium and aluminium alloys - Thickness 0 25 mm a 3 2 mm - Dimensions《航空航天系列 铝和铝合金带材 厚度0 25mm 3 2mm 尺寸》.pdf BS EN 2599-2001 Aerospace series - Strips in aluminium and aluminium alloys - Thickness 0 25 mm a 3 2 mm - Dimensions《航空航天系列 铝和铝合金带材 厚度0 25mm 3 2mm 尺寸》.pdf
  • BS EN 26-2015 Gas-fired instantaneous water heaters for the production of domestic hot water《家用热水生产用燃气快热式热水器》.pdf BS EN 26-2015 Gas-fired instantaneous water heaters for the production of domestic hot water《家用热水生产用燃气快热式热水器》.pdf
  • BS EN 2601-1996 Fork ends adjustable - Technical specification《可调节叉型端部 技术规范》.pdf BS EN 2601-1996 Fork ends adjustable - Technical specification《可调节叉型端部 技术规范》.pdf
  • 相关搜索

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

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