成考院校在线答案
- 2022-09-12 [单选] <p class="MsoNormal">26、<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">15、<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: FR">:</span></b><b style="mso-bidi-font-weight:normal"><span lang="FR" style="mso-bidi-font-size:10.5pt;mso-ansi-language:FR">int r,x=245;<span style="mso-spacerun:yes"> </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="FR" style="mso-bidi-font-size: 10.5pt;mso-ansi-language:FR"> r=x/100%9; </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="FR" style="mso-bidi-font-size: 10.5pt;mso-ansi-language:FR">r</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;font-family:Microsoft Yahei;mso-ascii-font-family: "Times New Roman";mso-hansi-font-family:"Times New Roman";mso-ansi-language: FR">(</span></b><b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt;mso-ansi-language:FR"> <span lang="FR"><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: FR">)</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">18、<b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt;font-family:宋体">以下程序段运行后<span lang="EN-US">x</span>的值为( <span lang="EN-US"><span style="mso-spacerun:yes"> </span><span style="mso-spacerun:yes"> </span></span>)。<span lang="EN-US"> <o:p></o:p></span></span></b></p> <p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt;font-family:宋体">int i=0,x=2; <o:p></o:p></span></b></p> <p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt;font-family:宋体">while(i++<=5)<span style="mso-spacerun:yes"> </span> <o:p></o:p></span></b></p> <p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt;font-family:宋体">{x+=2;<span style="mso-spacerun:yes"> </span>}</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">17、<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><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">13、<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">File open error!</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><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"> <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt">#include <stdio.h> <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt">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">FILE *fp;<span style="mso-spacerun:yes"> </span>char str[256];<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">fp = fopen("test.txt", "rt");<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">if(fp==NULL)<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">{ printf("File open error!");<span style="mso-spacerun:yes"> </span>return;<span style="mso-spacerun:yes"> </span>}<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">fscanf(fp,"%s",str);<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">fclose(fp);}<span style="color:white"> <o:p></o:p></span></span></p>
- 2022-09-12 [单选] <p class="MsoNormal">7、<b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt;font-family:宋体">下面程序的输出结果是( <span lang="EN-US"><span style="mso-spacerun:yes"> </span><span style="mso-spacerun:yes"> </span></span>)。<span lang="EN-US"> <o:p></o:p></span></span></b></p> <p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt;font-family:宋体"><span style="mso-spacerun:yes"> </span>#include <stdio.h> <o:p></o:p></span></b></p> <p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt;font-family:宋体"><span style="mso-spacerun:yes"> </span>int num=10; <o:p></o:p></span></b></p> <p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt;font-family:宋体"><span style="mso-spacerun:yes"> </span>func() <o:p></o:p></span></b></p> <p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt;font-family:宋体"><span style="mso-spacerun:yes"> </span>{int num=4; <o:p></o:p></span></b></p> <p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt;font-family:宋体"><span style="mso-spacerun:yes"> </span>return ++num;<span style="mso-spacerun:yes"> </span>}<span style="mso-spacerun:yes"> </span> <o:p></o:p></span></b></p> <p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt;font-family:宋体"><span style="mso-spacerun:yes"> </span>void main() <o:p></o:p></span></b></p> <p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt;font-family:宋体"><span style="mso-spacerun:yes"> </span>{ printf("%d\n",func());<span style="mso-spacerun:yes"> </span>}</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">14、<span lang="EN-US"> <!--[if gte vml 1]><v:shape id="图片_x0020_21" o:spid="_x0000_i1045" type="#_x0000_t75" style='width:293.4pt;height:15.6pt; mso-position-horizontal-relative:page;mso-position-vertical-relative:page'> <v:imagedata src="cyy01-60.files/image022.png" o:title=""></v:imagedata> </v:shape><![endif]--> <!--[if !vml]--><img width="391" height="21" v:shapes="图片_x0020_21" src="http://wljy.whut.edu.cn/uploadfiles/word/cyy01-60.files/image022.png"> <!--[endif]--></span><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_107" o:spid="_x0000_i1123" type="#_x0000_t75" style='width:307.8pt;height:36pt; mso-position-horizontal-relative:page;mso-position-vertical-relative:page'> <v:imagedata src="cyy02-60.files/image101.png" o:title=""></v:imagedata> </v:shape><![endif]--> <!--[if !vml]--><img width="410" height="48" v:shapes="图片_x0020_107" src="http://wljy.whut.edu.cn/uploadfiles/word/cyy02-60.files/image101.png"> <!--[endif]--></span></p>
- 2022-09-12 [单选] <p class="MsoNormal">6、<span lang="EN-US"> <!--[if gte vml 1]><v:shape id="图片_x0020_63" o:spid="_x0000_i1086" type="#_x0000_t75" style='width:197.4pt;height:69pt; mso-position-horizontal-relative:page;mso-position-vertical-relative:page'> <v:imagedata src="cyy02-60.files/image064.png" o:title=""></v:imagedata> </v:shape><![endif]--> <!--[if !vml]--><img width="263" height="92" v:shapes="图片_x0020_63" src="http://wljy.whut.edu.cn/uploadfiles/word/cyy02-60.files/image064.png"> <!--[endif]--></span></p>
- 2022-09-12 [单选] <p class="MsoNormal">5、<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,b=2,t=3; </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">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";mso-ansi-language: PT-BR">,</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">b</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 lang="PT-BR" style="mso-bidi-font-size:10.5pt;mso-ansi-language: PT-BR">t</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;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"><span style="mso-spacerun:yes"> </span></span></b><b style="mso-bidi-font-weight:normal"><span lang="FR" style="mso-bidi-font-size: 10.5pt;mso-ansi-language:FR">if(a<b)<span style="mso-spacerun:yes"> </span>{ t=b; b=a; a=t;<span style="mso-spacerun:yes"> </span>}</span></b><span lang="EN-US" style="mso-bidi-font-size:10.5pt"><span style="color:white"> <o:p></o:p></span></span></p>