成考院校在线答案
-
2022-09-12
[单选] <p class="MsoNormal">22、<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 a[8]={1,2,3,4,5,6,7,8},i,x=0; <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:宋体">for(i=0;i<8;i++,i++)<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=x+a[i];</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">34、<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 style="mso-bidi-font-size:10.5pt"> </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="margin-left:15.8pt;text-indent:-15.8pt;mso-char-indent-count: -1.5;line-height:20.0pt;tab-stops:212.65pt">5、<b style="mso-bidi-font-weight: normal"><span style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;color:black">设有说明<span lang="EN-US"> int x=0,y=2; <o:p></o:p></span></span></b></p> <p class="MsoNormal" style="margin-left:15.75pt;mso-para-margin-left:1.5gd; line-height:20.0pt;tab-stops:212.65pt"><b style="mso-bidi-font-weight:normal"><span style="mso-bidi-font-size:10.5pt;font-family:宋体">则执行<span lang="EN-US"> if(x=0)<span style="mso-spacerun:yes"> </span>y=1+x; <o:p></o:p></span></span></b></p> <p class="MsoNormal" style="margin-left:15.8pt;text-indent:-15.8pt;mso-char-indent-count: -1.5;line-height:20.0pt;tab-stops:212.65pt"><b style="mso-bidi-font-weight: normal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt;font-family:宋体">else y=x-1; <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:宋体">后,变量<span lang="EN-US">y</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">19、<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 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"> <o:p></o:p></span></p>
-
2022-09-12
[单选] <p class="MsoNormal">16、<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">char c1,c2;int x; scanf("%c%d%c",&c1,&x,&c2);</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">x</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">c1</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">c2</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">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="PT-BR" style="mso-bidi-font-size:10.5pt;mso-ansi-language:PT-BR">'K'</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">'H'</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">28、<span lang="EN-US"> <!--[if gte vml 1]><v:shape id="图片_x0020_15" o:spid="_x0000_i1038" type="#_x0000_t75" style='width:187.8pt;height:101.4pt; mso-position-horizontal-relative:page;mso-position-vertical-relative:page'> <v:imagedata src="cyy02-60.files/image015.png" o:title=""></v:imagedata> </v:shape><![endif]--> <!--[if !vml]--><img width="250" height="135" v:shapes="图片_x0020_15" src="http://wljy.whut.edu.cn/uploadfiles/word/cyy02-60.files/image015.png"> <!--[endif]--></span></p>
-
2022-09-12
[单选] <p class="MsoNormal">35、<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">#define N 2 <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt">#define M N+1 <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt">#define NUM (M+1)*M/2 <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt">main() <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" style="mso-bidi-font-size:10.5pt">{ int i,n=0; <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=0;i<NUM;i++) n++;<span style="mso-spacerun:yes"> </span>printf("%d\n",n); <o:p></o:p></span></p> <p class="MsoNormal"><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">24、<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><b style="mso-bidi-font-weight: normal"><span lang="FR" style="mso-bidi-font-size:10.5pt;mso-ansi-language: FR"> <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">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">{int a,b=2,c=6; a=3; <o:p></o:p></span></b></p> <p class="MsoNormal" style="text-indent:10.35pt;mso-char-indent-count:.98"><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="mso-bidi-font-size: 10.5pt">if(a>6)<span style="mso-spacerun:yes"> </span>a=a+b; <o:p></o:p></span></b></p> <p class="MsoNormal" style="text-indent:10.35pt;mso-char-indent-count:.98"><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="mso-bidi-font-size: 10.5pt">else if(a==6)<span style="mso-spacerun:yes"> </span>b=a+c; <o:p></o:p></span></b></p> <p class="MsoNormal" style="text-indent:10.35pt;mso-char-indent-count:.98"><b style="mso-bidi-font-weight:normal"><span lang="EN-US" style="mso-bidi-font-size: 10.5pt">else<span style="mso-spacerun:yes"> </span>a=b+c; <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">printf("%d\n",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">25、<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="DA" style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ansi-language:DA">int a[]={1,2,3,4},i,j; <o:p></o:p></span></b></p> <p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="DA" style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ansi-language:DA"><span style="mso-spacerun:yes"> </span>j=1; <o:p></o:p></span></b></p> <p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="DA" style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ansi-language:DA"><span style="mso-spacerun:yes"> </span>for(i=3;i>=0;i--) <o:p></o:p></span></b></p> <p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="DA" style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ansi-language:DA"><span style="mso-spacerun:yes"> </span>{ a[i]=a[i]*j; <o:p></o:p></span></b></p> <p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="DA" style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ansi-language:DA"><span style="mso-spacerun:yes"> </span>j=j*3;<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="DA" style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ansi-language:DA">} <o:p></o:p></span></b></p> <p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="DA" style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ansi-language:DA"><span style="mso-spacerun:yes"> </span>for(i=0;i<4;i++) <o:p></o:p></span></b></p> <p class="MsoNormal"><b style="mso-bidi-font-weight:normal"><span lang="DA" style="mso-bidi-font-size:10.5pt;font-family:Microsoft Yahei;mso-ansi-language:DA"><span style="mso-spacerun:yes"> </span>printf("%d<span style="mso-spacerun:yes"> </span>",a[i]);</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">22、<span lang="EN-US"> <!--[if gte vml 1]><v:shape id="图片_x0020_140" o:spid="_x0000_i1163" type="#_x0000_t75" style='width:370.8pt;height:19.8pt; mso-position-horizontal-relative:page;mso-position-vertical-relative:page'> <v:imagedata src="cyy01-60.files/image143.png" o:title=""></v:imagedata> </v:shape><![endif]--> <!--[if !vml]--><img width="494" height="26" v:shapes="图片_x0020_140" src="http://wljy.whut.edu.cn/uploadfiles/word/cyy01-60.files/image143.png"> <!--[endif]--></span><span lang="EN-US" style="mso-bidi-font-size:10.5pt"> <o:p></o:p></span></p>
- 首页
- 上一页
-
1756
-
1757
-
1758
-
1759
-
1760
-
1761
-
1762
-
1763
- 下一页
- 尾页