失眠网,内容丰富有趣,生活中的好帮手!
失眠网 > c语言吴振国课后题答案 Exam10_C作业与实验10期中自测卷参考答案(最新整理)

c语言吴振国课后题答案 Exam10_C作业与实验10期中自测卷参考答案(最新整理)

时间:2020-05-15 23:22:44

相关推荐

c语言吴振国课后题答案 Exam10_C作业与实验10期中自测卷参考答案(最新整理)

《Exam10_C作业与实验10&期中自测卷参考答案(最新整理)》由会员分享,可在线阅读,更多相关《Exam10_C作业与实验10&期中自测卷参考答案(最新整理)(4页珍藏版)》请在人人文库网上搜索。

1、学号: 3110103147姓名:吴振国答案123456781ADDCCDB1.程序文本#include main()char ch; while(ch=getchar()!=n)if(ch=a&ch=a&ch=A&ch=A&ch0&+x=0&ch=48&ch0?1:(x=0?0:-1);2(不能把 x=0 写成 x=0,应引起重视。另:不需要打印输出,必须赋值给 y)304i=1s=205k=4 s=6(错 1 个数字扣 1 分) 6137putchar(z-i)或 printf(%c,z-i);864(错 1 个数字扣 1 分)95678(这里 int 占 2 个字节)10 2三、程序阅读。

2、题(每题 5 分,共 25 分)1a=2,b=12k=6,x=032#18#七进制转换十进制错 1 项扣 2 分41#3# 21#1173#错 1 项扣 2 分50,-6,9,6,1错 1 个数字扣 1 分四、程序填空题(每空 4 分,共 40 分)(1)s=0(2)1.0/k*flag(由于 k 和 flag 都是整型,flag/k 将得 0)(3)flag=-flag(4)max=x(5)x!=-1(6)scanf(%d, &x)(7)z=x(8)x=y(9)x(或 x!=0)(10)y=y*2+t考试题型一、判断题。共 10 题,每题 1 分,共 10 分。二、单选题。请从给定的选项中选。

3、择一个唯一正确的选项。每小题 2 分,共 10 题,20 分。三、填空题。在解答的文本框中填写正确的答案。共 10 小题,每小题 2 分,共 20 分。四、程序阅读题。共 5 题,每题 4 分,共 20 分。五、程序填空题。共 30 分,5 题*3 空=15 个空,每空 2 分。“”“”At the end, Xiao Bian gives you a passage. Minand once said, people who learn to learn are very happy people. In every wonderful life, learning is an eterna。

4、l theme. As a professional clerical and teaching position, I understand the importance of continuous learning, life is diligent, nothing can be gained, only continuous learning can achieve better self. Only by constantly learning and mastering the latest relevant knowledge, can employees from all walks of life keep up with the pace of enterprise development and innovate to meet the needs of the market. This document is also edited by my studio professionals, there may be errors in the document, if there are errors, please correct, thank you。

如果觉得《c语言吴振国课后题答案 Exam10_C作业与实验10期中自测卷参考答案(最新整理)》对你有帮助,请点赞、收藏,并留下你的观点哦!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。