成考院校在线答案
-
2022-09-12
[单选] <p class="MsoNormal">18、<span style="mso-bidi-font-size:10.5pt;font-family:宋体">在下述程序中,<span lang="EN-US">for</span>循环执行的次数是( )<span lang="EN-US"> <o:p></o:p></span></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt; font-family:宋体"><span style="mso-spacerun:yes"> </span>main(<span style="mso-spacerun:yes"> </span>) <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt; font-family:宋体">{ <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt; font-family:宋体">int i =0,j=10,k=2,s=0; <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt; font-family:宋体">for(; ;) <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt; font-family:宋体">{ <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt; font-family:宋体">i+=k; <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt; font-family:宋体">if(i>j) <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt; font-family:宋体">{ <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt; font-family:宋体">printf(</span><span style="mso-bidi-font-size:10.5pt; font-family:宋体">"<span lang="EN-US">%d\n</span>"<span lang="EN-US">,s); <o:p></o:p></span></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt; font-family:宋体">break; <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt; font-family:宋体">} <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt; font-family:宋体">s+=i; <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt; font-family:宋体">} <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt; font-family:宋体">} <o:p></o:p></span></p>
-
2022-09-12
[单选] <p class="MsoNormal">33、<b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ascii-font-family:"Times New Roman"; mso-hansi-font-family:"Times New Roman"">若已定义</span></b><b style="mso-bidi-font-weight: normal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt"> int x=-16,y=-12,z; </span></b><b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ascii-font-family:"Times New Roman"; mso-hansi-font-family:"Times New Roman"">语句</span></b><b style="mso-bidi-font-weight: normal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt">z=x<=y; </span></b><b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt; font-family:Microsoft Yahei;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family: "Times New Roman"">运行后</span></b><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt">z</span></b><b style="mso-bidi-font-weight: normal"><span style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ascii-font-family: "Times New Roman";mso-hansi-font-family:"Times New Roman"">的值为(</span></b><b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt"> <span lang="EN-US"><span style="mso-spacerun:yes"> </span><span style="mso-spacerun:yes"> </span></span></span></b><b style="mso-bidi-font-weight: normal"><span style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ascii-font-family: "Times New Roman";mso-hansi-font-family:"Times New Roman"">)。</span></b><span lang="EN-US" style="mso-bidi-font-size:10.5pt"> <o:p></o:p></span></p>
-
2022-09-12
[单选] <p class="MsoNormal">31、<b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ascii-font-family:"Times New Roman"; mso-hansi-font-family:"Times New Roman"">以下程序段的运行结果是</span></b><b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt; font-family:Microsoft Yahei;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family: "Times New Roman";mso-ansi-language:PT-BR">(</span></b><b style="mso-bidi-font-weight: normal"><span style="mso-bidi-font-size:10.5pt;mso-ansi-language:PT-BR"> <span lang="PT-BR"><span style="mso-spacerun:yes"> </span><span style="mso-spacerun:yes"> </span></span></span></b><b style="mso-bidi-font-weight: normal"><span style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ascii-font-family: "Times New Roman";mso-hansi-font-family:"Times New Roman";mso-ansi-language: PT-BR">)</span></b><b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ascii-font-family:"Times New Roman"; mso-hansi-font-family:"Times New Roman"">。</span></b><b style="mso-bidi-font-weight: normal"><span lang="PT-BR" style="mso-bidi-font-size:10.5pt;mso-ansi-language: PT-BR"> <o:p></o:p></span></b></p> <p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ascii-font-family:"Times New Roman"; mso-hansi-font-family:"Times New Roman""> </span></b><b style="mso-bidi-font-weight: normal"><span lang="PT-BR" style="mso-bidi-font-size:10.5pt;mso-ansi-language: PT-BR">int a=1;<span style="mso-spacerun:yes"> </span>printf("%d, %d, %d\n", a, ++a, a++);</span></b><span lang="EN-US" style="mso-bidi-font-size: 10.5pt"> <o:p></o:p></span></p>
-
2022-09-12
[单选] <p class="MsoNormal" style="line-height:20.0pt;mso-line-height-rule:exactly">28、<span lang="EN-US"> <!--[if gte vml 1]><v:shape id="图片_x0020_80" o:spid="_x0000_i1097" type="#_x0000_t75" style='width:3in;height:18.6pt; mso-position-horizontal-relative:page;mso-position-vertical-relative:page'> <v:imagedata src="cyy02-60.files/image075.png" o:title=""></v:imagedata> </v:shape><![endif]--> <!--[if !vml]--><img width="288" height="25" v:shapes="图片_x0020_80" src="http://wljy.whut.edu.cn/uploadfiles/word/cyy02-60.files/image075.png"> <!--[endif]--></span><span lang="EN-US" style="mso-bidi-font-size:10.5pt"><span style="color:white"> <o:p></o:p></span></span></p>
-
2022-09-12
[单选] <p class="MsoNormal">8、<b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ascii-font-family:"Times New Roman"; mso-hansi-font-family:"Times New Roman"">若有语句</span></b><b style="mso-bidi-font-weight: normal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt"> int a; char c; scanf("%3d%c",&a,&c); </span></b><b style="mso-bidi-font-weight: normal"><span style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ascii-font-family: "Times New Roman";mso-hansi-font-family:"Times New Roman"">为将整数</span></b><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="mso-bidi-font-size: 10.5pt">135</span></b><b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ascii-font-family:"Times New Roman"; mso-hansi-font-family:"Times New Roman"">赋给</span></b><b style="mso-bidi-font-weight: normal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt">a</span></b><b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt; font-family:Microsoft Yahei;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family: "Times New Roman"">,</span></b><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt"> <o:p></o:p></span></b></p> <p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ascii-font-family:"Times New Roman"; mso-hansi-font-family:"Times New Roman"">字符</span></b><b style="mso-bidi-font-weight: normal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt">'6'</span></b><b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt; font-family:Microsoft Yahei;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family: "Times New Roman"">赋给</span></b><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt">c</span></b><b style="mso-bidi-font-weight: normal"><span style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ascii-font-family: "Times New Roman";mso-hansi-font-family:"Times New Roman"">,正确的数据输入方式是(</span></b><b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt"> <span lang="EN-US"><span style="mso-spacerun:yes"> </span><span style="mso-spacerun:yes"> </span></span></span></b><b style="mso-bidi-font-weight: normal"><span style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ascii-font-family: "Times New Roman";mso-hansi-font-family:"Times New Roman"">)。(说明:</span></b><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="mso-bidi-font-size: 10.5pt"><CR></span></b><b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ascii-font-family:"Times New Roman"; mso-hansi-font-family:"Times New Roman"">代表换行,</span></b><b style="mso-bidi-font-weight: normal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt">__</span></b><b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt; font-family:Microsoft Yahei;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family: "Times New Roman"">代表空格)</span></b><span lang="EN-US" style="mso-bidi-font-size: 10.5pt"> <o:p></o:p></span></p>
-
2022-09-12
[单选] <p class="MsoNormal">30、<span lang="EN-US"> <!--[if gte vml 1]><v:shape id="图片_x0020_49" o:spid="_x0000_i1072" type="#_x0000_t75" style='width:189.6pt;height:125.4pt; mso-position-horizontal-relative:page;mso-position-vertical-relative:page'> <v:imagedata src="cyy02-60.files/image049.png" o:title=""></v:imagedata> </v:shape><![endif]--> <!--[if !vml]--><img width="253" height="167" v:shapes="图片_x0020_49" src="http://wljy.whut.edu.cn/uploadfiles/word/cyy02-60.files/image049.png"> <!--[endif]--></span></p>
-
2022-09-12
[单选] <p class="MsoNormal">37、<span style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei; mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"">下面程序的运行结果是(</span><span lang="EN-US" style="mso-bidi-font-size:10.5pt"><span style="mso-spacerun:yes"> </span></span><span style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ascii-font-family:"Times New Roman"; mso-hansi-font-family:"Times New Roman"">)。</span><span lang="EN-US" style="mso-bidi-font-size:10.5pt"><span style="mso-spacerun:yes"> </span> <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt"><span style="mso-spacerun:yes"> </span>#include <stdio.h> <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt"><span style="mso-spacerun:yes"> </span><span style="mso-spacerun:yes"> </span>union data<span style="mso-spacerun:yes"> </span>{ int i;<span style="mso-spacerun:yes"> </span>char c;<span style="mso-spacerun:yes"> </span>double d;<span style="mso-spacerun:yes"> </span>}a[2]; <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt"><span style="mso-spacerun:yes"> </span>void main()<span style="mso-spacerun:yes"> </span>{printf("%d\n",sizeof(a));<span style="mso-spacerun:yes"> </span>}<span style="color:white"> <o:p></o:p></span></span></p>
-
2022-09-12
[单选] <p class="MsoNormal">33、<b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt;font-family:宋体">下列</span></b><b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt; font-family:Microsoft Yahei;mso-ansi-language:PT-BR">( <span lang="PT-BR"><span style="mso-spacerun:yes"> </span><span style="mso-spacerun:yes"> </span></span>)</span></b><b style="mso-bidi-font-weight: normal"><span style="mso-bidi-font-size:10.5pt;font-family:宋体">对结构类型变量定义是错误的。</span></b><span lang="EN-US" style="mso-bidi-font-size:10.5pt;font-family:宋体"> <o:p></o:p></span></p>
-
2022-09-12
[单选] <p class="MsoNormal" style="line-height:20.0pt;mso-line-height-rule:exactly">23、<b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt; font-family:Microsoft Yahei;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family: "Times New Roman"">以下属于</span></b><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt">C</span></b><b style="mso-bidi-font-weight: normal"><span style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ascii-font-family: "Times New Roman";mso-hansi-font-family:"Times New Roman"">语言保留字的是( </span></b><b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt"> </span></b><b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt; font-family:Microsoft Yahei;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family: "Times New Roman""> )</span></b><span lang="EN-US" style="mso-bidi-font-size: 10.5pt"><span style="color:white"> <o:p></o:p></span></span></p>
-
2022-09-12
[单选] <p class="MsoNormal">27、<b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ascii-font-family:"Times New Roman"; mso-hansi-font-family:"Times New Roman"">(</span></b><b style="mso-bidi-font-weight: normal"><span style="mso-bidi-font-size:10.5pt"> <span lang="EN-US"><span style="mso-spacerun:yes"> </span><span style="mso-spacerun:yes"> </span></span></span></b><b style="mso-bidi-font-weight: normal"><span style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ascii-font-family: "Times New Roman";mso-hansi-font-family:"Times New Roman"">)是不正确的叙述。</span></b></p> <p class="MsoNormal" style="line-height:20.0pt;mso-line-height-rule:exactly"><span lang="EN-US" style="mso-bidi-font-size:10.5pt"> <o:p> </o:p></span></p>
- 首页
- 上一页
-
1142
-
1143
-
1144
-
1145
-
1146
-
1147
-
1148
-
1149
- 下一页
- 尾页