成考院校在线答案
-
2022-09-12
[单选] <p class="MsoNormal">20、<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">enum day{sun,mon, tue, wed, thu, fri, sat} ;<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="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">sun</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">mon</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 style="mso-spacerun:yes"> </span><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><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">21、<b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt;font-family:宋体">若已定义<span lang="EN-US">: int q=5;<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-bidi-font-family:宋体">①</span></b><b style="mso-bidi-font-weight: normal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt;font-family:宋体"> int *p=&q;</span></b><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-bidi-font-family:宋体">②</span></b><b style="mso-bidi-font-weight: normal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt;font-family:宋体"> p=&q; </span></b><b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt;font-family:宋体">这两条语句理解错误的是( <span style="mso-spacerun:yes"> </span><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">4、<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=5,y=9,z;<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="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">39、<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 style="mso-spacerun:yes"> </span><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";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><span lang="EN-US" style="mso-bidi-font-size:10.5pt"> <o:p></o:p></span></p>
-
2022-09-12
[单选] <p class="MsoNormal">31、<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"> <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>#include <stdlib.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>void main() <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>{FILE *in,*out; <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt">if((in=fopen("file1.txt","a+"))==NULL) <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>{printf("cannot open file1\n"); <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>exit(0);<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((out=fopen("file2.txt","a+"))==NULL) <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>{printf("cannot open file2\n"); <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>exit(0);<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">while(!feof(out)) <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>fputc(fgetc(out),in); <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt">fclose(in); <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt">fclose(out);<span style="mso-spacerun:yes"> </span>}<span style="color:white"> <o:p></o:p></span></span></p>
-
2022-09-12
[单选] <p class="MsoNormal">30、<b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt;font-family:宋体">若有定义:<span lang="EN-US">int a[10]={0,1,2,3,4,5,6,7,8,9}, *p=a; </span>,<span lang="EN-US"> <o:p></o:p></span></span></b></p> <p class="MsoNormal"><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></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">39、<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"><span style="mso-spacerun:yes"> </span>int func() <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>{static int m=0; <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt">return m++;<span style="mso-spacerun:yes"> </span>} <o:p></o:p></span></p> <p class="MsoNormal"><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"> <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>int i; <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>for(i=1;i<=4;i++) <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>func(); <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>printf("%d",func());<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;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">int a=6;float b=1.5; </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 lang="PT-BR" style="mso-bidi-font-size:10.5pt;mso-ansi-language: PT-BR"> 6 * 1.50=9.00 </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 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><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">6、<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 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><span lang="EN-US" style="mso-bidi-font-size:10.5pt"> <o:p></o:p></span></p>
-
2022-09-12
[单选] <p class="MsoNormal">32、<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></b><span lang="EN-US" style="mso-bidi-font-size:10.5pt;font-family:宋体"> <o:p></o:p></span></p>
- 首页
- 上一页
-
1141
-
1142
-
1143
-
1144
-
1145
-
1146
-
1147
-
1148
- 下一页
- 尾页