2022年云南省事业单位考试计算机专业知识基础试题.pdf
《2022年云南省事业单位考试计算机专业知识基础试题.pdf》由会员分享,可在线阅读,更多相关《2022年云南省事业单位考试计算机专业知识基础试题.pdf(9页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、航帆网,祝大家考试成功1 请读程序:main()int n2,i,j,k;for(i=0;i2;i+)ni=0;k=2;for(i=0;i for(j=0;j printf(“%dn”,nk);上面程序的输出结果是()。A)不确定的值B)3 C)2 D)1 2 请读程序片段(字符串内没有空格字符):printf(“%dn”,strlen(“”);其输出结果应为()。A)11 B)10 C)9 D)1 3 下述对 C语言字符数组的描述中错误的是()。A)字符数组可以存放字符串航帆网,祝大家考试成功B)字符数组中的字符串可以整体输入、输出C)可以在赋值语句中通过赋值运算符“=”对字符数组整体赋值D
2、)不可以用关系运算符对字符数组中的字符串进行比较4 阅读下列程序:main()int n3,i,j,k;for(i=0;i3;i+)ni=0;k=2;考试大论坛for(i=0;i for(j=0;j nj=ni+1;printf(“%dn”,n1);上述程序运行后,输出的结果是()。A)2 B)1 C)0 D)3 5 以下程序的输出结果是()。main()int n33,i,j;文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P
3、10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M
4、6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1
5、J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B
6、4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V
7、6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3
8、L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F
9、4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6航帆网,祝大家考试成功for(i=0;i3;i+)for(j=0;j3;j+)nij=i+j;for(i=0;i2;i+)for(j=0;j2;j+)ni+1j+1+=nij;printf(“%dn”,nij);A)14 B)0 C)6 D)值不确定6 以下语句的输出结果为()。printf(“%dn”,strlen(“”065xffn”);A)5 B)14 C)8 D)输出项不合法,无正常输出7 合法的数组定义是()。A)int a=”string”;B)int a5=0,1
10、,2,3,4,5;C)char a=”string”;D)char a=0,1,2,3,4,5;8 对 for(表达式 1;表达式 3)可理解为()。文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1
11、M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9
12、W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:
13、CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 H
14、T1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 Z
15、V9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编
16、码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6航帆网,祝大家考试成功A)for(表达式 1;0;表达式 3)B)for(表达式 1;1;表达式 3)C)for(
17、表达式 1;表达式 1;表达式 3)D)for(表达式 1;表达式 3;表达式 3)9 若 i 为整型变量,则以下循环执行次数是()。for(i=2;i=0;)printf(“%d”,i-);A)无限次B)0 次C)1 次D)2 次11 以下程序的输出结果是()。main()int i,f1,f2;f1=f2=1;for(i=0;i4;i+)printf(“%d%d”,f1,f2);f1+=f2;f2+=f1;A)1 2 3 4 5 6 7 8 B)1 1 2 3 5 8 13 21 文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7
18、L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P
19、10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M
20、6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1
21、J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B
22、4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V
23、6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3
24、L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6航帆网,祝大家考试成功C)1 1 3 5 7 9 11 13 D)1 3 5 7 9 11 13 15 12 下列叙述中,正确的一条是()。A)语句“goto 12;”是合法的B)for(;)语句相当于 while(1)语句C)if(表达式)语句中,表达式的类型只限于逻辑表达式D)break 语句可用于程序的任何地方,以终止程序的执行13 以下程序的输出结果是()。mai
25、n()int a,b;for(a=1,b=1;a=20)break;if(b%3=1)b+=3;continue;b-=5;printf(“%dn”,a);A)7 B)8 文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W3L1J7L3 HT1M4F4B4P10 ZV9W4D1V6M6文档编码:CM3W
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 2022 云南省 事业单位 考试 计算机专业 知识 基础 试题
限制150内