出自:延安大学PowerPoint 图文演示技术

He had some statues ihis study One was a lady _____ nothing but a bath towel
· wore
· wears
· to wear
· wearing
If you______ _____ be itime for the early bus ,be sure to get up before five o’clock ithe
· morning.
· A.are to
· B.are about to
· Care going to
Everyone has periods itheir lives ___________everything seems so hard
· whe
· where
· whih
· that
Not until she arrived at the meeting room ________ she had forgotteto bring the document
· she relized
· did she realize
· she did realize
· oes she realize
This is the small house less tha square meters, under ______ roof lives a large family of three generations
· which
· that
· its
· whose
miles southwest of the country _______ the famous beautiful mountain
· lying
· lie
· lies
· )lays
Johhad never beeabroad before, _______ he found the business trip very exciting
· becuse
· though
· so
· while
All students are eager to know ______________they wilt pass the exam or not
· if
· that
· whether
· why
Martiand Mary ______ their baskets of seeds oa fence outside the village
· took
· stole
· threw
· reste
Persons with whom we ca ______ ______ our innermost feelings are our closest friends
· tell
· value
· share
· respect
He pushed opethe door and left Catherine ___________ to complaiabout her misery
· preceded
· proceeded
· proessed
· propelle
By no means ______ ready to quit her study
· will she
· she will
· she is
· is she
___________ you keep otrying ,I don’t really mind whether you cacome top iyour class
· So long as
· As sooas
· Once
· The moment
_______ the weather improves, we will suffer a huge loss ithe tourist industry
· As
· Since
· While
· Unless
—Got your driving license —No I ____________ too busy to have enough practice, so I didn’t take the driving test lastweek I’m going to next week
· was
· have bee
· am
· ha been
As iany mathematics teaching, clever use of questions ca____________ people along
· pull
· extend
· punch
· nuge
There was aearthquake happened, _______ people and with more tha
· killed; injured
· killing; injured
· killed; injuring
· killing; injuring
To tell you the truth, it.s very hard for us to help them get rid of Internet addictioBut we ________ othis problem trying to improve the situation
· worked
· had worked
· are working
· ha beeworking
Whethe couple __________ here, they ________ to the park
· will come;will go
· come;go
· will ome;go
· come;will go
Miss Liu doesn.t mind _________ your homework as long as it is done by yourself
· you to dely hnding i
· your delaying handing in
· your delaying to hand i
· you elay to hain
default使用说法正确的是()。
·switch结构中的default是注释语句,不执行
·default与case语句的顺序是任意的
·default只能写在所有case语句之后
·default在switch结构中可以省略,但一般不省略
if(表达式){}这段代码在程序中的表达式可以出现的形式为()。
·算术表达式
·关系表达式
·逻辑表达式
·数值0或1
利用循环求1到5的和值,已知i=1,sum=0;利用循环每次让sum求和,然后i++;判断条件是i<6;则求和的循环操作是()。
·sum=sum+i
·sum+=i
·sum=i
·i=sum+i
已知p=5,i=2;则p=pi语句执行中关于p的值说明正确的是()。
·执行后等号左边的p是10
·执行中等号右边的p的值是5
·执行后等号左边的p是5
·执行中等号右边的p的值是10
利用循环求1到10的和值,循环控制i,和值变量sum;则循环体中求和的式子正确的是()。
·sum=sum+i
·sum+=i
·sum=i
·i=sum+i
累乘求积中,与s=i;相同的是()。
·i=s;
·s=si;
·i=si;
·s=is;
下面关于while循环结构概念中描述正确的项是()。
·while结构是先进行条件判断,如果条件为真则执行while后面{}里面的语句
·while结构是先执行循环体,然后进行条件判断,如果条件为真则执行while后面{}里面的语句
·while结构是先进行条件判断,如果条件为假则执行while后面{}里面的语句
·while循环结构如果条件为假一次循环也不进行
while循环格式中,对于表达式1、2、3描述正确的有()。
·表达式1代表初始值
·表达式2代表增量
·表达式2代表条件
·表达式3代表增量
下面关于程序中使用while描述正确的是()。
·while结构中可以嵌入if结构
·while结构中可以嵌入switch结构
·while结构中不能嵌入选择结构
·if选择结构中可以包含循环结构while
以下不正确的字符串赋值语句是 。
·char *s; s="abcde";
·char s[ ]="abcde";
·char s[10]; s="abcde";
·char *s="abcde";
假设x,y为整型变量,则执行如下程序段后y的值为 。for(x=1,y=1;y<=50;y++){ if(x>=10)break;if(x%2==1){x+=5;continue;}x-=3;}
·2
·4
·6
·8
下列字符串 “a\x21\\\tp\202q”的长度是 。
·7
·9
·15
·16
若有以下定义,则数值为4的正确表达式是 。int a[10]={1,2,3,4,5,6,7,8,9,10};char c=’a’,d,g;A)a[g-c] B)a[4] C)a[’d’-’c’] D)a[‘d’-c]
·a[g-c]
·a[4]
·a[’d’-’c’]
·a[‘d’-c]
下列关于函数的叙述正确的是 。
·每个C程序源文件中都必须有一个main()函数
·C程序中main()函数的位置是固定的
·C程序中所有函数之间都可以相互调用,与函数所在位置无关
·在C程序的函数中不能定义另一个函数
以下关于C函数返回值的叙述正确的是 。
·被调函数中只有使用return语句才能返回主调函数
·使用一个return语句可以返回多个函数值
·函数返回值类型取决于return语句中的表达式类型
·函数返回值类型取决于定义该函数时所指定的类型
若有如下宏定义:#define N 2#define Y(n) ((N+1)*n)则执行赋值语句z=2*(N+Y(5)); 后z的值是 。
·表达式有误
·34
·70
·无确定值
以下关于变量的作用域叙述不正确的是 。
·在函数内部定义的变量是局部变量
·函数中的形式参数是局部变量
·全局变量的作用范围仅限于其所在的文件
·局部变量的作用范围仅限于本函数
有以下程序:#include <stdio.h>struct S{ int a, b; } data[2]={10,100,20,200};void main(){ struct S p=data[1];printf("%d\n", ++(p.a) );}程序运行后的输出结果是(  )。
·10
·11
·20
·21
设有定义:a=1,b=2,c=3;以下语句中执行效果与其它三个不同的是 。
·if(a>b) c=a;a=b;b=c;
·if(a>b) {c=a,a=b,b=c;}
·if(a>b) c=a,a=b,b=c;
·if(a>b) {c=a;a=b;b=c;}
在线试题20上若执行下面的程序时从键盘上输入3和4,main(){ int a,b,s;scanf("%d %d",&a,&b);s=a; if(a<b)s=b; s=s*s;printf("%d\n",s); }则输出是( )。
·14
·16
·18
·20
在线试题20上main(){ char a[10]={9,8,7,6,5,4,3,2,1,0}; char *p=a+5;printf("%d\n",*--p);}程序输出结果为( )。
·非法
·a[4]的地址
·5
·3
在线试题20上有如下程序main(){ int y=3,x=3,z=1;printf("%d %d\n",(++x,y++),z+2);}运行该程序的输出结果是( )。
·3 4
·4 2
·4 3
·3 3
在线试题20上有如下程序 #include “stdio.h”void main(){ int sum=0,i;scanf(“%d”,&i);while(i<=10){ sum+=i; i++; }printf(“%d”,sum);} 程序运行两次分别输入1,20,结果分别为( )。
·55 20
·1 20
·55 0
·1 0
在线试题20上有以下程序main(){ char q[]=”abcd”;printf (“%d %d \n“,strlen(q),sizeof(q));}程序运行后和输出结果是( )。
·5 5
·4 4
·4 5
·5 4
在线试题20上以下程序的输出结果是( )。#include <stdio.h>main(){ int a,b,d=241; a=d/100%9; b=(-1)&&(-1);printf("%d,%d\n",a,b);}
·6,1
·2,1
·6,0
·2,0
在线试题20上以下不能正确定义二维数组的选项为:( )。
·int a[2][2] = {{8}, {9}};
·int a[2][ ]={{8, 9}, {3, 4}};
·int a[2][2]={{9}, 8, 3};
·int a[ ][2] ={1,2,8,9};
在线试题20上以下程序输出结果为( )。mai(){ int a[] ={2,4,6,8,10}, j , *p , y=0;p=&a[1];for(j=1; j<3; j++) y += p[j]; printf(“%d”, y ); }
·10
·11
·14
·15
在线试题20上有以下程序段 int k=0, a=1, b=2, c=3; k= a<b b : a;k=k>c k : b ;执行该程序段后,k的值是( )。
·3
·2
·1
·0
在线试题20上有以下程序#include “stdio.h”void swap(int *x,int *y){ int t;t=*x; *x=*y; *y=t;printf(“%d %d”,*x,*y); }main(){ int a=3,b=5,*p1,*p2; p1=&a;p2=&b;swap(p1,p2);printf(“%d %d”,a,b); }程序段的输出结果是( )
·5 3 5 3
·5 3 3 5
·3 5 5 3
·3 5 3 5
在线试题20上以下程序段的输出结果是( )。int a=1234;printf("%2d\n",a);
·12
·34
·1234
·提示出错.无结果