文档视界 最新最全的文档下载
当前位置:文档视界 › 2008年辽宁专升本考试真题-C语言部分

2008年辽宁专升本考试真题-C语言部分

2008年辽宁专升本考试真题-C语言部分
2008年辽宁专升本考试真题-C语言部分

2008辽宁省专升本计算机试卷(C语言)第二部分计算机高级语言部分(C语言)

四、填空题(每小题2分,共10分)

41.在程序运行过程中,其值可以改变的量称为__________。

42.设int a=1,b=2,c=3,d=4,m=2,n=2;执行表达式(m=a>b)&&(n=c>d)后,n的值是__________。

43.C语言程序经过编译以后生成的文件的后缀为__________。

44.结构化程序设计的三种基本结构是顺序结构、选择结构和__________。

45.设x和y为double型,则计算表达式x=2,y=x+3/2的值为__________。

五、阅读程序题(每小题3分,共24分)

46.下面程序的运行结果是____________________。

#include

main()

{ int x=6;

printf("%d\n",x+=x-=x*x);

}

47.下面程序的运行结果是____________________。

#include

main()

{ int a=5,b=1,c=2;

if(a==b+c)

printf("***\n");

else

printf("$$$\n");

}

48.下面程序的运行结果是____________________。

#include

main()

{ int i,s=0;

int a[3][3]={1,2,3,4,5,6,7,8,9};

for(i=0;i<3;i++)

s+=a[i][i];

printf("s=%d",s);

}

49.下面程序的运行结果是____________________。

#include

int fun(int p1)

{ static int tmp=2;

tmp+=p1;

return tmp+2;

}

main()

{ int x=8,y;

y=fun(x);

printf("%d,",y);

y=fun(x);

printf("%d\n",y);

}

50.下面程序的运行结果是____________________。#include

int fun(int x,int y)

{ return x>y?x++:--y;

}

main()

{ int p=8,q=10,f;

f=fun(p,q);

printf("%d",f);

}

51.下面程序的运行结果是____________________。#include

main()

{

char a[40]="Computer",b[]="students";

int i=0,j=0;

while(a[i]!='\0') i++;

a[i++]=' ';

while(a[j]!='\0') a[i++]=b[j++];

a[i]='\0';

puts(a);

}

52.下面程序的运行结果是____________________。#include

int f=1;

int fun(int n)

{ f=f*n;

return f;

}

main()

{ int i,j=0;

2

f(i=1;i<3;i++)

j+=fun(i);

printf("%d\n",j);

}

53.下面程序的运行结果是____________________。

#include

main()

{ int x=1,y=9;

switch(0)

{ case 0: x=6;printf("%d,",x);

case 1: x+=4;printf("%d",x);break;

case 2: --x;printf("%d",x);

default: x%=3;printf("%d",x);

}

}

六、完善程序题(每小题3分,共24分)

54.下面程序的功能是计算数组内的各元素的累加和。

#include

main()

{ int x[]={1,2,3,4};

int s=0,i,*p;

p=x________________;

for(i=0;i<4;i++)

{ s+=*(p+i);

}

printf("s=%d\n",s);

}

55.按下列格式输出变量name和score的值,然后换行:姓名占10位,成绩占6位,其中小数点后保留2位,姓名和成绩中间留3个空格。

#include

main()

{ char *name="李明";

float score=97.00;

printf(" 姓名成绩\n");

pirntf(“_______________”,name,score);

}

56.以下程序的功能是求一元二次方程的实数根,已知求根公式为:

a ac

b

b

x x

24

2,1

-

±

-

=。

#include

#include

main()

第 3 页共8 页

4

{ float a=4,b=12,c=5;

float x1,x2,p,q;

p=-b/(2*a);

q=__________/(2*a);

x1=p+q;

x2=p-q;

printf("x1=%f,x2=%f\n",x1,x2);

}

57.下面程序的功能是输出100内能被7整除,且个位是6的所有整数。

#include

main()

{ int i,j;

for(i=1;i<10;i++)

{ j=i*10+6;

if(__________)

continue;

printf("%d,",j);

}

}

58.下面程序的功能是删除字符串s 中的数字字符。

#include

#include

void func(char p[])

{ int i=0;

while(p[i]!='\0')

{ if(_________)

{ strcpy(&p[i],&p[i+1]);continue; }

i++;

}

}

main()

{ char s[60];

gets(s);

func(s);

puts(s);

}

59.利用...*7

6*56*54*34*32*122π 公式的前100项之积计算π的近似值。 #include

main()

{ int n=2;

float result=1.0,t;

while(n<=100)

{ t=(float)(n*n)/((n-1)*(n+1))

result*=t;

__________;

}

result=result*2;

printf("result=%f\n",result);

}

60.以下程序的功能是将如下图案(平行四边形)打印在屏幕的最左端。

*****

*****

*****

*****

*****

*****

#include

main()

{ int i,j,k;

for(i=1;i<=5;i++)

{ for(j=1;__________;j++)

printf(" ");

for(k=1;k<=5;k++)

printf("*");

printf("\n");

}

}

61.以下程序的功能是将d1.txt文件的内容追加到d2.txt文件的末尾,假设这两个文件已存在。#include

main()

{ FILE *fp1,*fp2;

char ch;

fp1=fopen("d1.txt","r");

fp2=fopen("d2.txt","a");

while((ch=fgetc(fp1))!=EOF)

__________;

fclose(fp1);

fclose(fp2);

}

七、程序改错题(每小题3分,共12分)

62.以下程序的功能是从键盘输入10个数,实现将其中最大的数和最小的数位置对换。

#include

main()

{ int i,a[10],max=0,min=0,t;

for(i=0;i<10;i++)

第 5 页共8 页

scanf("%d",a[i]);

for(i=0;i<10;i++)

{ if(a[i]>a[max]) max=i;

if(a[i]

}

t=a[max];a[max]=a[min];a[min]=t;

for(i=0;i<10;i++)

printf("%d",a[i]);

}

错误的行是:___________________________________

改为:________________________________________

63.编写从字符串取子字符串的函数char * substr(char *s,int star,int len),其中s为字符串,star 为子字符串的起始位置,len为子串的长度。

#include

#include

char * substr(char *s,int star,int len)

{

int i;

static char sstr[30];

if(s==NULL)||star<0||star>=strlen(s)||len<=0) return NULL;

for(i=0;i

sstr[i]=s[star+i];

s[i]='\0';

return sstr;

}

main()

{ char str[80];

gets(str);

printf("The substring is:%s\n",substr(str,4,5));

}

错误的行是:___________________________________

改为:________________________________________

64.以下程序的功能是交换两个变量中的数值。

#include

void swap(int *p1,int *p2)

{ int temp;

temp=*p1;

*p1=*p2;

*p2=temp;

}

main()

{ int a=3,b=4;

int *q1,*q2;

q1=&a;q2=&b;

6

swap(&q1,&q2);

printf("a=%d,b=%d\n",a,b);

}

错误的行是:___________________________________

改为:________________________________________

65.下面是对结构体操作的程序。

#include

main()

{

struct node

{ int data;

struct node *next;

} p={45,NULL},*head;

head=p;

printf("%d\n",head->data);

}

错误的行是:___________________________________

改为:________________________________________

扫描二维码立即获取答案

第7 页共8 页

8

2010年辽宁专升本考试真题-C语言部分

2010辽宁省高职高专毕业生升入本科学校招生考试 计算机试卷 第二部分计算机高级语言部分(C语言) 四、填空题(将正确答案填写在答题卡相应的位置上,每小题2分,共10分) 41.C语言程序中可以对程序进行注释,注释部分必须使用的符号是______ 42.设float x=3.8,y=2.7,int a=5,则表达式x+a/3*(int)(x+y)%2+4的值为____________ 43.在C语言程序中,若对函数类型未加说明,则函数的隐含类型为:______________ 44.求解逗号表达式(a=9,a+4),a*2的值和a的值依次为____________ 45.函数的参数为float类型时,形参与实参与结合的传递方式为_____________ 五、阅读程序题(阅读下列程序,将正确的运行结果填写到答题卡相应的位置上。每小题3分,共24分) 46、下面程序运行的结果是。 main() { int x=4; if(x++>=5)printf("%d",x); else printf("%d\n",x--); } 47、下面程序的运行结果是。 main() { int a[]={1,3,5,7,9}; int y=1,x,*p; p=&a[1]; for(x=0;x,3;x++) y+=*(p+x); printf("%d\n",y); } 48、下面程序运行的结果是。 #include int func(int a) { int b=1; static c=4; a=++c,++b; return a; } main() {

int a=2,i,k; for(i=0;i,2;i++) k=func (++a) printf("%d\n",k); } 49、下面程序运行的结果是。#include main() { int k=0; char c='B'; switch(c++) { case 'A':k++;break; case 'B':k--; case 'C':k+=2; default:k*=3;break; } Printf("k=%d\n",k); } 50、下面程序运行的结果是。#include main() { int a[6]={12,4,17,25,27,16},b[6]={27,13,4,25,23,16},I,j; for(i=0;I<6;i++) { for(j=0;j<6;j++) if(a[i]==b[j])break; if(j<6)printf("%d",a[i]); } printf("\n"); } 51、下面程序运行的结果是 #include int fun(int u,int v); main() { int a=27,b=18,c; C=fun(a,b); printf("%d\n",c); }

辽宁省专升本考试计算机模拟练习题一审批稿

辽宁省专升本考试计算机模拟练习题一 YKK standardization office【 YKK5AB- YKK08- YKK2C- YKK18】

专升本计算机模拟试卷(一) 第一部分:计算机基础知识 一.选择(40分,每个2分) 1、RAM的特点是()。 A)断电后,存储在其内的数据将会丢失 B)存储在其内的数据将永久保存 C)用户只能读出数据,但不能写入数据 D)容量大但存取速度慢 2、第一台电子计算机诞生于()。 A.1958年年年年 3、一个完整的计算机系统应当包括()。 A.计算机与外设 B.硬件系统与软件系统 C.主机、键盘与显示器 D.系统硬件与系统软件 4.第4代电子计算机使用的电子元件是() A.电子管 B.晶体管 C.中小规模集成电路 D.大规模和超大规模集成电路 5.在计算机存储器的术语中,一个“Byte”包含8个() A. 字母 B. 字长 C. 字节 D. 比特(位) 6.计算机辅助设计的英文缩写是() A. CAM B. CAI C. CAD D. CAT 7.在计算机中,用来传送、存储、加工处理的信息表示形式是() A. 拼音简码 B. ASCII码 C. 二进制码 D. 十六进制码 8.计算机中央处理器(CPU)是指() A. 控制器与运算器 B. 控制器与外设 C. 运算器与内存贮器 D. 存贮器与控制器 9.十进制数23转化为二进制为() .10111 C 10.微机在工作中尚未进行存盘操作,突然电源中断,则计算机 ( )全部丢失,再次通电也不能恢复。 A.硬盘中的信息 B.软盘中的信息 C.硬盘、软盘中所有信息 D.内存RAM中的信息 11.打印机是一种() A. 输出设备 B. 输入设备 C. 存贮器 D. 运算器

2013年辽宁专升本考试真题-C语言部分

2013辽宁省高职高专毕业生升入本科学校招生考试 计算机试卷 第二部分计算机高级语言部分(C语言) 四、填空题(将正确答案填写到答题卡相应的位置上,每小题2分,共10分) 41.若有定义:int a=2,b=1; 则表达式b+1.0/a 输出结果是________________________。 42. 若有定义:int a,b;则表达式b=((a=2*3,a*2),a+4)的值为________________________。 43.语句fopen(“myfile”,”r+”):的含义是________________________。 44.若有定义:int a;能正确表达-1≤a≤2 且a≠0 的C语言表达式是________________________。 45.若有定义:int a=1,b=2,max; 则能实现语句if(a>b) max=a;else max=b;的条件赋值语句为______。 五、阅读程序题(阅读下列程序,将正确的运行结果填写到答题卡相应的位置上,每小题3分,共24分) 46.下面程序运行的结果是___________________。 V oid main() { int i=1,sum=0,t=1; while(i<5) { t*=i++; Sum=sum+t; } Printf(“%d\n”,sum) } 47. 下面程序运行的结果是___________________。 main() { char c1,c2; c1=?A?+?8?-…3?; c2=?A?+?6?-…3?; printf(“%d,%c \n”,c1,c2); } 48.下面程序运行的结果是___________________。 main() { int a,b; for(a=1,b=1;a<=100;a++) { if(b>=20) break; if(b%3==1) { b+=3; continue;} b-=5; } printf(“%d\n”,a); }

2004年辽宁专升本考试真题-英语

阅读(一) During the rest of sleep, the fatigue (疲劳) of the body disappears and recuperation (复原) begins. The tired mind gathers new energy; The memory improves; and annoyance and problems are seen correctly. Some adults require little sleep , others need eight to ten hours in every twenty-for. Infants sleep sixteen to eighteen hours daily, the amount gradually decreasing as they grow older. Young students may need twelve hours; university students may need ten. A worker with a physically demanding job may also need ten , whereas an executive working under great pressure may manage on six to eight. Many famous people are well known to have required little sleep . Napoleon Bonaparte, Thomas Edison , and Charles Darwin apparently averaged only four to six hours a night. Whatever your individual need , you can be sure that by the age of thirty you will have slept for a total of more than twelve years. By that age you will also have developed a sleep routine : a favorite hour, a favorite bed .a favorite posture (姿势),and a formula you need to follow in order to rest comfortably. Investigators have tried to find out how long a person can go without sleep. Several people have reached more than 115 hours-nearly days. Whatever the limit, it is absolute Animals kept awake for from five to eight days have died of exhaustion. The limit for human beings is probably about a week. 1.It is implied in the passage that__. A. a light sleep is as refreshing as a deep one B. sleep is important for good mental and physical health C. memory is greatly improved during sleep D. famous people need less sleep that ordinary people 2.It can be concluded from the passage that the amount of sleep required___, A. depends on the bed one sleeps in B. varies greatly from one individual to another C. can be predicted from the type of job one has D. is closely related to the amount of pressure one suffers 3.The word ―formula‖ (line 3, paragraph 3) most probably means___ A. a prescription B. a mathematical rule C. a fixed method or approach D. an expression of the elements of a compound 4.A person should __ in order to sleep well. A. follow his sleep routine B. go to bed early C. sleep as much as he can D. do a physically demanding job 5.The longest time a human being can survive without sleep is probably. A. five days B. seven days C. ten days D. twelve days 阅读(二) As prices and building costs keep rising , the “do-it-yourself ”(DIY) trend (趋势) in the U.S

2006年辽宁专升本考试真题-英语

一、选择 1 The French pianist who had been ______ very highly turned out to be a great disappointment. A talked B mentioned C praised D pleased 2 ______we were given the right address, we found her house easily. A Since B although C If D so 3 In childre n’s _______ the Spring Festival is associated with nice food and presents. A brain B head C heart D mind 4 The doctor says that the new medicine will ______ you a good night’s sleep. A secure B assure C ensure D insure 5 The old couple ______to adopt a boy and a girl though they already had three of their own. A determined B settled C assigned D decided 6 The government is trying to do something to ______ better understanding between the two countries. A raise B lift C promote D push 7 Jane’s dress is similar _____ her sister’s in design. A for B to C with D with 8 By the time you get there this afternoon, the film _______. A is to start B is starting C will start D will have started 9 I suggested he _____himself to his new life in the countryside. A adopt B adapt C regulate D suit 10 It _____ me there days to have the watch repaired. A took B gave C kept D made 二、阅读(一) Here are two cars. They may some day take the place of today’s big cars. If we use such cars in the future, there will be less pollution in the air. There will be more space for parking cars in cities, and the street will be less crowded. There such cars can park in the space that is needed for one of today’s cars. The little cars will be very cheap. They will be very safe, too. Because these little cars can go at a speed of only 65 kilometers per hour. The car of the future will be fine for getting around a city but they will not be useful for long trips. If the car is powered by electricity, it will have two batteries—one for the motor and the other for the lights, signals, etc. If the little cars run on gasoline, they will go 450 kilometers before they need to stop for more gas. If big cars are still used along with the small ones, we must build two sets of roads, one for the big and the other for the small, slower cars. 11 The” two cars” talked about in the first sentence of the first paragraph refer to two cars_______. A with a small size B used for long trips C running on electricity D bigger th an today’s cars

2008年辽宁专升本考试真题-基础部分

2008辽宁省专升本计算机试卷 第一部分基础知识 一、单项选择题(每小题2分,共40分) 1.第一代计算机主要应用于【】 A.科学计算 B.动画设计 C.自动控制 D.企业管理 2.将十六进制数BBBH转换成十进制数是【】 A.3001 B.3002 C.3003 D.3004 3.下列存储器中,访问速度最快的是【】 A.光盘 B.磁带 C.内存 D.硬盘 4.“计算机辅助教学”的英文缩写是【】 A.CAT B.CAD C.CAM D.CAI 5.在windows中,要关闭软件的窗口,需要用鼠标双击 A.标题栏 B.控制菜单栏 C.菜单栏 D.边框 6.在windows中,桌面上“我的电脑”图标的功能是【】 A.用来暂存用户删除的文件、文件夹等内容 B.用来管理计算机资源 C.用来管理网络资源 D.用来保持网络中的便携机和办公室中的文件同步 7.在windows中,当一个窗口已经最大化后,下列叙述中错误的是【】 A.该窗口可以关闭 B.该窗口可以移动 C.该窗口可以最小化 D.该窗口可以还原 8.在windows中,设置控制计算机硬件配置和修改桌面布局的应用程序是【】 A.控制面板 B.我的文档 C.任务栏 D.回收站 9.在word中,若要设置打印输出时的纸型,需调用“页面设置”命令,调用此命令要使用的菜单是【】 A.视图 B.格式 C.编辑 D.文件 10.在word中,关闭当前窗口可以使用的组合键是【】 A.ctrl+alt+del B.ctrl+F4 C.alt+F4 D.shift+F4 11.在word中,文档段落的对齐方式不包括【】 A.两端对齐 B.右对齐 C.居中对齐 D.外侧对齐 12.在word编辑状态下,设置页眉和页脚时使用的菜单是【】 A.编辑 B.视图 .插入 D.工具 13.在EXCEL中,单元格E10的值等于E5的值加上E6的值,单元格E10中输入的公式是【】 A.=E5+E6 B.=E5:E6 C.E5+e6 D.E5:E6 14.在EXCEL中,在单元格中输入数值17,不正确的输入形式是【】 A 17 B. 017 c +17 D. *17

2013年辽宁专升本考试真题-英语

2013年辽宁省高职高专应往届毕业生升入本科学校招生考试 英语试卷 第一部分选择题 一、词汇与语法 根据句意义及语法要求从每题A、B、C、D四个选项中,选出一个最适合的答案填空,并在答题卡上将所选答案的字母涂黑。(本大题共10小题,每小题1分,共10分) 1. ____the weather improves, we will suffer a huge loss in the tourist industry. A. As B. Since C. While D. Unless 2. We are happy at the good news ____ Mr. Black has been awarded the Best Manager. A. that B. which C. what D. whether 3. It is important that we ____ the task ahead of time. A. will finish B. finished C. finish D. shall finish 4. Would you please pass me the book ____ cover is black? A. which B. whose C. that D. its 5. ____in the company for three years, Mark has become experienced in business negotiations. A. Having worked B. Have been working C. Have worked D. Worked 6. Not until she arrived at the meeting room ____ she had forgotten to bring the document. A. she realized B. did she realize C. she did realize D. does she realize 7. John had never been abroad before, ____ he found the business trip very exciting. A. because B. though C. so D. while 8. ____ some students are to find employment after graduation, others will have to return to school and earn an advanced degree. A. Sine B. While C. Because D. If 9. We must find a way to cut prices ____ reducing our profits too much.. A. without B. despite C. with D. for 二、阅读理解 根据短文内容从每题A、B、C、D四个选项中,选出一个最适合的答案,并在答题卡上将所选答案的字母涂黑。(本大题共15小题,每小题3分,共45分) Passage1 The Key to any successful garage sale (家庭旧物出售) is to get the word out. The best means of advertising your sale is to place an ad in the local newspaper. If you have s city and neighborhood paper, make sure you advertise in both. The ad should be large enough that it stands out. It should also include information on where the sale is located with directions, the “hot” items you’re selling and the time the sale will start and end. An ad should be placed at least two days before the sale and run until the day of your event. That way people can plan their route (路线) to the sale in advance.

完整word版,2005年辽宁专升本考试真题-英语

一、选择 1.It is well known that Thomas Edison _____ the electric lamp. A) discovered B) found C) developed D) invented 2.I couldn't enter the lab because I had _____ the key in my office. A) taken B) left C) missed D) got 3.I regret _____ you that we are unable to offer you ermalovinent. A) informing B) having informed C) to inform D) to have been informed 4.The chairman has informed us that he _____ a few minutes late after the meeting begins. A) has arrived B) should arrive C) could arrive D) may arrived 5.She had made _____ many mistakes in the article that we couldn't catch what she meant. A) such B) that C) so D) as 6.I sincerely _____ him to make great progress with his new job in a short time. A)expect B) believe C) think D) instruct 7.Is _____ necessary to complete the design before National Day? A) this B) that C) it D) such 8.She said she would live in London for _____ four or five years A) another B) others C) other D) the other 9.Mr.Smith used to smoke _____ but he has given it up now. A) badly B) seriously C) heavily D) hardly 10.Thousands of people took part when the old temple _____ . A) was rebuilding B)was being built C) would be built D) had been built 二、阅读 阅读(一) Shopping for clothes is not the same experience for a man as it is for a woman. A man goes shopping because he needs something. His purpose is clear and decided in advance. He knows what he wants, and his objective is to find it and buy it; the price is the second place for consideration(考虑). All men simply walk into a shop and ask the assistant for what they want. If the shop has it, the salesman quickly produces it, and the man begins to try it at once. For a man, small problems may begin when the shop does not have what he wants, or does not have exactly what he wants. In that case the salesman will try to sell the customer something else. Very often, he offers the nearest thing that he can produce. Now how does a woman go about buying clothes? In almost every respect she does so in the opposite way. Her shopping is not often based on need. She has never fully made up her mind of what she wants, and she is "having a look round". She will still be satisfied even if she has bought nothing 11.How does a man go shopping to buy something in a shop? A) He will often ask help from the shop assistant. B) He will look at it carefully and wait for a while. C) He has made a plan before he wants to buy it. D) He will discuss it with his wife and then buy it. 12.What is a man's attitude to the price of goods? A) He cares much about it. B) He pays little attention to it

2012年辽宁省专升本考试计算机VF模拟练习题一

模拟试题(一) 一第一部分:计算机基础知识 一. 选择(40分,每个2分) 1、RAM的特点是()。 A)断电后,存储在其内的数据将会丢失 B)存储在其内的数据将永久保存 C)用户只能读出数据,但不能写入数据 D)容量大但存取速度慢 2、第一台电子计算机诞生于()。 A.1958年 B.1942年 C.1946年 D.1948年 3、一个完整的计算机系统应当包括()。 A.计算机与外设 B.硬件系统与软件系统 C.主机、键盘与显示器 D.系统硬件与系统软件 4.第4代电子计算机使用的电子元件是() A.电子管 B.晶体管 C.中小规模集成电路 D.大规模和超大规模集成电路 5.在计算机存储器的术语中,一个“Byte”包含8个() A. 字母 B. 字长 C. 字节 D. 比特(位) 6.计算机辅助设计的英文缩写是() A. CAM B. CAI C. CAD D. CAT 7.在计算机中,用来传送、存储、加工处理的信息表示形式是() A. 拼音简码 B. ASCII码 C. 二进制码 D. 十六进制码 8.计算机中央处理器(CPU)是指() A. 控制器与运算器 B. 控制器与外设 C. 运算器与内存贮器 D. 存贮器与控制器 9.十进制数23转化为二进制为() A.1010 B.10111 C.10110 D.101001 10.微机在工作中尚未进行存盘操作,突然电源中断,则计算机 ( )全部丢失,再次通电也不能恢复。 A. 硬盘中的信息 B. 软盘中的信息 C. 硬盘、软盘中所有信息 D. 内存RAM中的信息11.打印机是一种() A. 输出设备 B. 输入设备 C. 存贮器 D. 运算器 12.Word中(格式刷)按钮的作用是()。 A.复制文本 B.复制图形 C、复制文本和格式 D.复制格式 13、为了将隐藏的文件显示出来,通常在“资源管理器”中选择 ( )菜单中的文件夹选项。 A.编辑 B.查看 C.工具 D.文件 14、计算机病毒破坏的主要对象是()。 A)磁盘片 B)磁盘驱动器 C)CPU D)程序和数据 15、在Windows中,要把图标设置为缩略图方式,应选择下面()。 A.文件 B.编辑 C.查看 D.工具 16、在Window的桌面上可以同时打开多个窗口,其中当前活动窗口是()。 A.第一个打开的窗口 B.第二个打开的窗口 C.最后打开的窗口 D.无当前活动窗口 17、在Windows中,如果需要在各中文输入法之间快速切换时,可使用()。

2006辽宁专升本考试真题-C语言部分

2006辽宁省专升本计算机试卷(C语言)第二部分:计算机高级语言部分(C语言) 四、填空题(每小题2分,共10分) 41.实数有两种表示形式,分别是十进制小数形式和___________。 42.字符串的结束标志是___________。 43.定义一维数组int a[5]; 则数组a的最后一个元素的下标是___________。 44.C程序的基本单位是___________。 45.设int a=9,b=8;则表达式a = = b+1的值是___________。 五、阅读程序题(阅读下列程序,将正确的运行结果填写到答题卡相应的位置上。每小题3分,共24分) 46.下面程序运行结果是__________________。 #include main() { int x=1, y=2, z=3, sum; sum=x+y+z; printf("x=%d, y=%d, z=%d, sum=%d\n",x,y,z,sum); } x=1,y=2,z=3,sum=6 47.下面程序运行结果是__________________。 #include main() { int x=-10; int y; if(x<0) y=-x; else y=x; printf("%d\n", y); } 48.下面程序运行结果是__________________。 #include main() { int i, sum=0; for(i=1;i<=20;i++) if(i%5==0) sum+=i; printg("%d\n",sum); }

2008年辽宁专升本考试真题-英语

一、选择 1 “Sorry, there are no tickets _____ for tomorrow’s show,” the ticket officer replied. A preferable B accessible C considerable D available 2 John frequently attempts to escape being fined whenever he _____ traffic regulations. A breaks B loses C omits D passes 3 The manager promised to keep me _____ of how the whole thing was going on. A to inform B informing C being informed D informed 4 _____ better equipment and more funds, we could have done the experiment better. A For B Like C With D To 5 Mobile phones have been proved to _____ with flight instruments and have a negative effect on flight safety. A disturb B interfere C trouble D interrupt 6 Only by a complete understanding of the web _____ hope for people to grasp its full potential. A can there be B be there can C can be there D there can be 7 A supermarket has advantage over small shops in that it can meet the _____ needs of customers. A multiple B different C changeable D scattered 8 As to the election, please give your vote to _____ you think you can trust. A who B whom C one D whoever 9 The task was tough, but _____ we managed to solve it. A anyhow B anyway C somehow D somewhat 10 Don’t worry about her. Her rosy cheeks suggest that she _____ in good heal th. A be B were C is D was 二、阅读(一) The first hotels were very different from today’s hotels. They were small inns built along the road. Later, as people began to travel by train, hotels were built in the centers of large cities. Usually located near railroad stations , these hotels were many stories tall and has hundreds of rooms. Although trains were a popular means of travel for some time, automobiles slowly began to take their place. Automobile travel caused problems for city hotels, which did not have parking space for so many cars. People who traveled by automobile needed a different kind of hotel. They needed places to stay that were near highways and had room to park. Motorists did not like to drive in heavy city traffic to reach a hotel. The answer to the motorists’ problems came when a new kind of hotel was built. These new buildings were called motels, a word made from the first part of MOTORIST and the last part of HOTELS. Motels were much smaller than hotels. Built on ground level, often in separate units, they were more convenient for people traveling. The separate units also made them quieter than hotels. Best of all, there was more than enough room for cars to park. Now, many big hotels in the cities are being torn down. They can no longer make enough money to stay is business. In their place, many small motels have been built on the outskirts of

2010年辽宁专升本考试真题-英语

一、选择 1 I’ll write down your name and address lest you ___ as a witness. A. are needed B. will be needed C. need D. be needed 2 I want ___ by the president, but it was impossible. A. to see B. to be seen C. seeing D. being to see 3 ___ you’ve fo und, you must give it back to the librarian. A. That B. Because C. Whatever D. However 4 ___ he realized it was time to go back home. A. No sooner it grew dark when B. Hardly it grew dark than C. Scarcely it grew dark than D. It was not until dark that 5 To ___ wages and salaries means to increase purchasing power. A. raise B. rise C. life D. improve 6 I’ll be going to the park on foot while my car ___. A. is repairing B. is being repaired C. will be repaired D. is to repaired 7 She was given ___ pay for her hard work. A. additional B. adding C. active D. financial 8 We are celebrating for having found the solution ___ the problem. A. for B. about C. as for D. to 9 You ___ caught by the rain just now for you are all wet. A. can’t be B. must being C. must have been D. can’t have 10 ___ is easier than to do. A. To say B. Saying C. To be saying D. Being said 二、阅读(一) The picnics, speeches and parades of today’s Labor Day were all part of the first celebration held in New York City in 1882. Its promoter was an Irish-American labor leader named Peter J. McGuire. A carpenter by trade. McGuire had worked since the age of 11, and in 1882 was president of the United Brotherhood of Carpenters and Join (UBCJ). Approaching the City’s Central Labor Union that summer, he proposed a holiday that would applaud(赞许)“the industrial spirit-the great vital force of every nation“. On September 5 hi suggestion bore fruit as estimated 10.00 workers, many of them ignoring their bosses warnings, left work to march from Union square up Fifth Avenue to 42nd Street .The event gained national attention and by ’93 thirty states had mad e Labor Day an annual holiday. The quick adoption of the scheme may have indicated less about the state lawmakers’ respect for working people than about a fear of risking their anger. In the 1880s the United States was a land sharply divided between the immensely weans and the very poor. Henry George was accurate in describing the era as one of “progress and poverty”. In a society in which factory owners ride in private Pullmans while ten-year-olds slaved in the mines strong capitalists feeling ran high. Demands for fundamental change were common throughout the labor press. With socialists demanding an end to “wage slavery”and anarchists(无政府主义) singing the praises of the virtues of dynamite (炸药)middle-of-the-roaders like Samuel Gompers and McGuire seemed attractively mild by comparison. One can imagine practical seeing Labor Day as a bargain: A one-day party certainly cost them less than paying their workers decent wages.

相关文档
相关文档 最新文档