当前位置:文档之家› 2011级期中考试试题C

2011级期中考试试题C

2011级期中考试试题C
2011级期中考试试题C

湛江师范学院2012- 2013学年度第一学期

2011级期中考试试题C

(考试时间:100分钟)

考试科目:大学英语

题号I 总分

分值100 100

Part I Choose the Correct Answer to Each Question and Mark Your Answers on the Answer Sheet. (100%)

1. He went to the dance last night but couldn’t find a _______ because of his strange clothes.

A) pond B) saddle C) partner D) salad

2. They _______ cattle mainly for the international market.

A) carpenter B) district C) ox D) breed

3. The Foreign Minister made an excellent _______ on the current international situation.

A) committee B) command C) comment D) commission

4. The ______production of engines in our factory has doubled this year.

A) manual B) annual C) amount D) alike

5. These diseases ______ a vicious circle of poverty and hopelessness by depressing production.

A) reinforce B) worsen C) deteriorate D) increase

6. In order to _______ a good knowledge of English, he gave up his job and went to study in an

English school.

A) require B) inquire C) acquire D) address

7. Metals expand when they are heated and _______ when cooled.

A) indicate B) eliminate C) conquer D) contract

8. Jack is _______ of stealing the books from the library.

A) accused B) witnessed C) strained D) found

9. It’s just _______ bite. There is nothing to worry about.

A) a vessel B) a temple C) an insect D) an arbitrary

10. Jack London worked very hard and finally he _______ success.

A) made B) found C) sought D) achieved

11. The rebuilding plan was _______ to the committee.

A) taped B) admitted C) trapped D) napped

12. The rent for this house is $ 250. But you need also pay $50 first as the _______.

A) deposit B) council C) desired D) submitted

13. This highway runs _______ to the railway.

A) identical B) suitable C) parallel D) distribution

14. She likes the _______ flower instead of the natural one.

A) article B) adventure C) ancient D) artificial

15. Some people say that education is the best _______ for children.

A) investigation B) organization C) investment D) origin

16. The ground around here is mostly _______ and not very good for farming.

A) board B) clay C) kid D) wax

17. His speech _______ the young people to continue their study.

A) glanced B) delayed C) inspired D) created

18. It is a _______ truth that man is the only animal that has the power to speak and reason.

A) worthy B) virtual C) universal D) indefinite

19. What we need to learn is how to put theory into _______ when we begin our fieldwork here.

A) appearance B) application C) accomplish D) achievement

20. The _______ between the two playing periods of a football game is only a few minutes.

A) internal B) reserve C) interval D) radium

21. The question then ________: What are we going to do when we graduate from the university?

A) raises B) arouses C) arises D) rises

22. There are two governments in this country. But neither of them is regarded as the _______ one

by the other.

A) panel B) legal C) purple D) republic

23. The wounded soldiers’ blood _______ the ground red at the front.

A) died B) dumped C) drawn D) dyed

24. How can we finish the work in the _______ of any other helpers?

A) era B) haste C) spare D) absence

25. Since 1978, many new _______ have been developed in our university to meet the increasing

demands of the students.

A) disciplines B) entrances C) checks D) flames

26. If there is no other way to save a _______ person in a tall building on fire, fire fighters may

spread a net into which the person can jump.

A) volt B) wrapped C) trapped D) deserted

27. In the film we saw last night, the hero _______ his wife to death with his sword.

A) throat B) thrust C) trust D) thread

28. Postage rates depends upon several factors: the type of communication, the ______, the weight

and the method of transportation.

A) destination B) destiny C) distribution D) termination

29. His hands were __________ so violently that he almost spilt his tea.

A) quivering B) tremble C) shivering D) shaking

30. Our son doesn’t know what to ____at the university; he can’t make up his mind about his future.

A) take in B) take up C) take over D) take after

31. No one had told smith about _______ a lecture the following day.

A) there be B) there would be C) there was D) there being

32. Purchasing the new production line will be a __________ deal for the company.

A) forceful B) tremendous C) favorite D) profitable

33. None of us expected the chairman to___ at the party. We thought he was still in hospital.

A) turn in B) turn over C) turn up D) turn down

34. The twentieth century has witnessed an enormous worldwide political, economic and cultural

_______.

A) tradition B) transportation C) transmission D) transformation

35. Although a teenager, Fred could resist ________ what to do and what not to do.

A) being told B) telling C) to be told D) to tell

36. Apart from caring for her children, she has to take on such heavy _______housework as

carrying water and firewood.

A) time-consumed B) timely-consumed C) time-consuming D) timely-consuming

37. The lecture which l asted about three hours was so ____ that the audience couldn’t help

yawning.

A) tedious B) bored C) clumsy D) tired

38. I’ve _____ out your share of the expenses at $5.

A) worked B) found C) checked D) looked

39. We tried _______ to contact her.

A) vacant B) in vain C) in vest D) vice

40. They ______ to get some information.

A) volunteered B) looked forward C) interviewed D) voted

41. Some white ants surround their nests with huge mounds of _____ up to forty feet high.

A) sticks B) effluents C) slime D) dirt

42. It is a ______ experience.

A) worthy B) worthwhile C) worthy of D) worth

43. It is reported that these medals are awarded _____ for achievements in the fields of arts,

sciences, government and entertainment.

A) specifically B) annually C) partly D) periodically

44. Peter loves his mother very much and he also loves his wife. To him, they ______ equally.

A) value B) counter C) weigh D) count

45. There is a big distinction between working hard and being a ________.

A) workaholic B) workaholics C) workaholism D) materialism

46. For years now, the people of that faraway country have been cruelly ______ by a dictator.

A) depressed B) immersed C) oppressed D) cursed

47. To those who understand ______ service, it is no surprise that tension and emotional problems

are so prevalent in our me-first society.

A) self B) selfless C) self-sufficient D) selfish

48. Free medical treatment in this country covers sickness of mind as well as _____ sickness.

A) normal B) regular C) average D) ordinary

49. I hope that you'll be more careful in typing the letter. Don't _____ anything.

A) withdraw B) omit C) reduce D) lead

50. Many new ____ will be opened up in the future for those with a university education.

A) realities B) necessities C) opportunities D) probabilities

51. The little girl was so frightened that she just wouldn't ______ her grip on my arm.

A) remove B) loosen C) relieve D) dismiss

52. Not having a good command of English can be a serious _____ preventing you from achieving

your goals.

A) offense B) fault C) obstacle D) distress

53. A house with a dangerous gas _____ can be broken into immediately.

A) leak B) mess C) split D) crack

54. He is __________ about his chances of winning a gold medal in the Olympics next year.

A) optimistic B) optional C) outstanding D) obvious

55. We booked rooms at the hotel ________we should find no vacancies on our arrival.

A) whenever B) if C) since D) lest

56. The roof of the house was _____ falling in and the front steps were rotting away.

A) practically B) essentially C) always D) basically

57. Professor Baker told me that this bottle was _____ as poison.

A) signed B) labeled C) labored D) determined

58. The ____ goal of the book is to help bridge the gap between research and teaching particularly between researchers and teachers.

A) intensive B) concise C) joint D) overall

59. When the wind died down, the sailboat ____ toward the beach.

A) headed B) returned C) hurried D) drifted

60. Fluency in three languages ____ her for work in the European Parliament.

A) qualifies B) enables C) credits D) deserves

61.Now let’s take a look at Shanghai and Beijing. The former is now the center of trade and finance,

and the ____ seat of the national government.

A) last B) latter C) later D) late

62. Sport provides a(n) ____ for a teenager’s feelings of aggression or frustration.

A) exit B) exhaust C) outlet D) leak

63. Y ou cannot imagine how I feel ____ with my duties sometimes.

A) overflowed B) overwhelmed C) overthrown D) overturned

64. The cancellation of the flight ____ many passengers to spend the night at the airport.

A) geared B) abandoned C) obliged D) tortured

65. Only a selected number of landladies in the neighborhood have been allowed by the university

to take in _____.

A) residents B) inhabitants C) lodgers D) settlers

66. A lot of people find _____ art very difficult to understand.

A) contemporary B) content C) conscious D) consistent

67. We are doing this work in the _____ of reforms in the economic, social and cultural spheres.

A) context B) contest C) pretext D) texture

68. The team _____ in spite of the extremely difficult conditions.

A) carried out B) carried off C) carried on D) carried forward

69. When crossing a busy street, we should be very _______ of the speeding cars.

A) ignorant B) cautious C) capable D) alert

70. Success in school _______ much hard work.

A) calls for B) calls off C) calls up D) calls on

71. His constant _____ with his peers has left its mark on his growth.

A) consent B) contract C) context D) contact

72. In his wife’s eyes, his _____ to their marriage life is far from perfect.

A) requirement B) commitment C) participation D) reflection

73. Experts have _____ with some effective measures to prevent the disease from spreading.

A) come down B) come up C) come cross D) come

74. The problem is that what you do is not _____ with what you say.

A) consistent B) continuous C) considerate D) continual

75. Nothing is worse than the ____ between what is right and what is wrong.

A) connection B) establishment C) illustration D) confusion

76. Our journey was slow because the train stopped ____ at different villages.

A) unceasingly B) gradually C) continuously D) continually

77. During the conference the speaker tried to_____ to the audience his feelings concerning the

urgency of a favorable decision.

A) comply B) impose C) imply D) convey

78. _____ the popular belief that classical music is too complex, it achieves a simplicity that only a

genius can create.

A) Subject to B) Contrary to C) Familiar to D) Similar to

79. I am firmly _____ that this plan would do much good to our company.

A) composed B) convinced C) recognized D) satisfied

80. She was afraid that unless the train speeded up she would miss her _______ to Scotland.

A) junction B) connection C) seat D) carriage

81. We need to ______ the purpose of the experiment again.

A) clarify B) cling C) claim D) clap

82. His long illness and ______ absence put him far behind in his study.

A) sequent B) consequent C) frequent D) subsequent

83. This class is only ______with English language.

A) related B) have do C) concerned D) dealt

84. It is very ______ of you to make all the necessary arrangement for me.

A) considerable B) considerate C) thoughtfully D) thankful

85. The poet _____ the woman he loves to a rose.

A) contrasts B) compares C) compels D) companies

86. The discussion quickly became a very ______ argument about increasing price.

A) heated B) roaring C) warm D) boiling

87. Should you require any further details at this time,please do not ______ to contact me.

A) void B) hesitate C) delay D) prevent

88. The story was so touching that I could hardly ______ my tears.

A) hold on B) hold on to C) hold up D) hold back

89.When Jane fell off the bike,the other children______.

A) were not able to help laughter B) could not help but laughing

C) could not help laughing D)could not help to laugh

90. He tried to ______ with the manager for his salary.

A) evaluate B) object C) bargain D) pause

91. The soldier was of running away when the enemy attacked.

A) scolded B) charged C) charged D) accused

92. We had to ______ a lot of noise when the children were at home.

A) go in for B) hold on to C) put up with D) keep pace with

93.San Francisco is usually cool in the summer,but Los Angeles_______.

A) is rarely B) rarely is C) is hardly D) is scarcely

94. It is not easy to learn English well but if you _______ ,you will succeed in the end.

A) hang up B) hang about C) hang on D) hang onto

95. He was killed in a traffic_______ in 1999.

A) incident B) event C) incidence D) accident

96. The traffic police were searching for evidence to prove the accused man's _______,but in vain.

A) mistake B) guilt C) fault D) defect

97. Every camera we sell comes with a two-year_______.

A) guarantee B) safety C) confirmation D) conservation

98.Nowadays, almost every household has different kinds of electrical ____ to relieve manual labor.

A) apparatus B) facilities C) equipment D) appliances

99. In ____ with the new regulations, each member has to pay the fee by 5th every month.

A) combination B) connection C) accordance D) equipment

100. It is sometimes possible for students to _____ a large vocabulary without the help of a teacher.

A) acquire B) achieve C) grasp D) attain

C语言期中测试题(含答案)

一、填空 1.C 语言源程序文件的后缀是.c 。 2.结构化程序由顺序结构、选择结构、循环结构三种基本结构组成。 3.在C 语言中,用关键字int 定义基本整型变量,一个基本整型变量系统分配2字节,用关键字 float 定义单精度实型变量,一个单精度实型变量系统分配4字节,用关键字 double 定义双精度实型变量,一个双精度实型变量系统分配8字节。 二、选择 1. 以下选项中正确的实型常量是( A ) A .12. B .-20 C . 1,000 D . 4 5 6 2.以下选项中不正确的实型常量是(无正确答案) A . 2.607E-1 B .0.8103e2 C . -77.77 D . 456e-2 3.以下选项中不合法的用户标示符是( C ) A. _123 B .A12_1 C .A $ D .Dim 4.C 语言中运算对象必须是整型的运算符是( A ) A .% B ./ C .! D .* 5. 若变量已正确定义并赋值,符合C 语言语法的表达式是( B ) A .a=a+7; B .a=7+b+c,a++ C .int(12.3%4) D .a=a+7=c+b 6.下面合法的赋值语句是( C ) A .a=b=58 B .k=int(a+b) C . a=58,b=58 D .--i 7.若变量已正确定义为int ,要给a,b,c 输入数据,正确的输入语句是( D ) A .read(a,b,c) B .scanf(“%d%d%d ”,a,b,c) C .scanf(“%D%D% D ”,&a,&b,&c) D .scanf(“%d%d%d ”,&a,&b,&c) 8.若变量a,b,t 已正确定义,要将a 和b 中的数进行交换,以下选项中不正确的语句组是( C ) A .a=a+b,b=a-b,a=a-b; B . t=a,a=b,b=t; C .a=t;t=b;b=a D .t=b;b=a;a=t; 9.若有正确定义语句: double x=5.16894; 语句printf(“%f\n ”,(int)(x*1000+0.5)/(double)1000);的输出结果是( D ) A .输出格式说明与输出项不匹配,输出无定值 B .5.170000 C .5.168000! D .5.169000 10.若有以下程序段: int a=0,b=0,c=0; c=(a-=a-5),(a=b,b+3); printf(“%d,%d,%d\\n ”,a,b,c); 执行后的输出结果是( B ) A .3,0,-10 B .0,0,5 C .-10,3,-10 D .3,0,3 11.下列运算符中优先级别最高的是( A ) A .! B .% C .-= D .&& 12.为表示关系:z y x ≥≥,应使用的C 语言表达式是(A ) A .(x>=y)&&(y>=z) B .(x>=y)AND(y>=x) C .(x>=y>=z) D .(x>=y)&(y>=z) 13.设a 、b 和c 都是int 型变量,且a=3,b=4,c=5,则以下的表达式中值为0的表达式是

C语言期末考试试题

C语言试题1 一填空题(15分) 1.设x的值为15,n的值为2,则表达式x%=(n+=3)运算后,x的值为()。 2.设int a=7,b=9,t;执行完表达式t=(a>b)?a:b后,t的值是()。 3.下面程序段的输出结果是()。 int a=1234; a=a&0377; printf(“%d %o\n”,a,a); 4.a数组定义如下,按照内存排列顺序,a数组中的所有元素是()。 char a[3]; 5.设有以下宏定义,则执行赋值语句a=PP*20;(a为int型变量)后,a的值是()。 #define PR 80 #define PP PR+403 6.在C程序中,可以通过三种运算方式为指针变量赋地址值,它们是:()、()和()。7.在C文件中,数据存在的两种代码形式是()和()。 8.C语言中调用()函数打开文件,调用()函数关闭文件,调用()函数可实现文件的随机读写。 9.若有int a[3]={10,12,30};则a+1是()的地址,*(a+2)=()。 二判断对错(5分,对的划“√”,错的划“×” 1.在Turbo C中,整型数据在内存中占2个字节。() 2.表达式1/4+2.75的值是3。() 3.结构体类型只有一种。() 4.函数若无返回值,则它一定无形参。() 5.C语言只能处理文本文件和二进制文件。() 三选择题(20分) 1.设int a=12; 表达式a+=a-=a*=a的值是()。 A 12 B 144 C 0 D 132 2.以下程序的输出结果是()。 main( ) { int a=011; printf(“%d\n”,++a); } A 12 B 11 C 10 D 9 3.以下程序的输出结果是()。 #define ADD(x) (x)+(x) main() { int a=4,b=6,c=7,d=ADD(a+b)*c; printf(“d=%d”,d); } A d=70 B d=140 C d=280 D d=80 4.下面的选项中正确的赋值语句是(char a[5],*p=a;)()。 A p=“abcd”; B a=“abcd”; C *p=“abcd”; D *a=“abcd”; 5.若k为整形,则while循环执行()次。 k=2; while(k==0) printf(“%d”,k); k--; printf(“\n”); A 10 B 9 C 0 D 1

VF期中考试试题

石柱县职业教育中心 2012年秋高2014级计算机专业期中考试试题 VF数据库基础 考试时间:100分钟总分:100分 一、选择题(每个3分,12个小题,共36分) 1.在符号约定表中,尖括号< >里的内容是()。 A 、必选项目B、任选项目C、两个项目中任选一个D、前面的项目可以重复多次 2.下列不能作为字段名的是()。 A、5_价格 B、价格 C、价格_A D、价格_5 3.某数值型字段的宽度为9位,小数位数为3位,则该字段的最大值是()。 A、999999999 B、999 C、99999.999 D、99999.99 4.下面关于命令的叙述,错误的是()。 A、一行只能写一条命令 B、命令格式中的英文字母大小写等效 C、一条命令可以写在多行 D、一行可以写多条命令 5.下列说法错误的是()。 A、表从数据库移出后,仍然具有数据库表的特性 B、数据库表和自由表的扩展名都是.DBF C、属于某个数据库的表不能被添加另一个数据库中 D、自由表可以被添加到数据库中成为数据库表 6.数据库管理系统是()。 A、应用软件 B、系统软件 C、辅助设计软件 D、科学计算软件 7.按照数据模型分类,Visual FoxPro数据库属于()。 A、层次型 B、网状型 C、关系型 D、混合型 8.每个字段有4个属性,下面哪个不是字段的属性()。 A、字段名 B、字段类型 C、字段宽度 D、字段属性 9.表ST.DBT对应的备注文件是()。 A、ST.FPT B、ST.FTP C、ST.DBC D、ST.QPR 10.设表文件及其索引文件已打开,为了确保指针定位在物理记录号为3的记录上,应该使 用命令()。 A、GO TOP B、GO 3 C、SKIP 1 D、GO BOTTOM 11.在设计表结构时,允许用户定义字段宽度的数据类型是()。 A、逻辑型 B、日期型 C、数值型 D、备注型 12.在Visual FoxPro 6.0中,数据表的索引分为复合和单索引两类索引文件,其扩展名分 别是()。 A、.IDX和.IDX B、.IDX和.CDX C、.CDX和.CDX D、.CDX和.IDX 二、填空题(每空2分,20个空,共40分) 1.数据库系统由用户、计算机系统、数据库管理系统和_ 共同构成。

《C语言程序设计》期中考试试卷

淮海工学院 10 – 11 学年第 2 学期 C语言程序设计期中考试试卷 单项选择题答题表 题答题表中) 1.以下叙述中正确的是()。 A) C 程序的基本组成单位是语句 B) C 程序中的每一行只能写一条语句 C)简单C 语句必须以分号结束 D) C 语句必须在一行内写完在 2.一个C程序是由____________。 A)一个主程序和若干个子程序构成 B)一个或多个函数构成 C)若干过程组成 D)若干子程序组成 3.以下选项中正确的定义语句是____________。 A)double a; b; B)double a=b=7; C)double a=7, b=7; D)double, a, b; 4.计算机能直接执行的程序是()。 A)C源程序 B)目标程序 C)汇编程序 D)可执行程序 5.下列符号可以作为变量名的是____________。 A)+a B)*p C)_DAY D)next day 6.设c是字符变量,则以下表达式正确的是____________。 A)c=666 B)c='c' C)c="c" D)c="abcd" 7.以下说法正确的是____________。 A)输入项可以为一个实型常量,如scanf("%f", B)只有格式控制没有输入项也能进行正确输入,如scanf("%d") C)当输入一个实型数据时,格式控制部分应规定小数点后的位数,如 scanf(%4.2f", &f) D)当输入数据时,必须指定变量的地址,如scanf("%f", &f) 8.若a, b, c均定义为整型,要给它们输入数据,正确的输入语句是____________。 A)read(a, b, c); B)scanf("%d%d%d", a, b, c); C)scanf("%D%D%D", a, b, c); D)scanf(%d%d%d", &a, &b, &c); 9.若有if (w) –x; else ++y; 则其中与w 等价的表达式是____________。 A)w == l B)w == 0 C)w != l D)w != 0 10.为了避免嵌套的if-else语句的二义性,C语言规定else总是与____________ 组成配对关系。 A)缩排位置相同的if B)在其之前未配对的if C)在其之前最近的未配对的if D)同一行上的if

VF考试试题及答案

? 《Visual FoxPro程序设计基础》 模拟试题及解答 一、项目管理器、数据库、表和记录的输入和维护(25分) 1、在自建文件夹下创建以自己名字拼音字母命名的项目管理器(如张三同学,应以“”文件名,以下同); 解答:①建立自己的目录: ②设路径:点击VF程序中【工具】下拉菜单【选项】 / ③建立项目名称:点击VF程序中【文件】下拉菜单【新建】

2、在以自己名字拼音字母命名的项目管理器中建立一个以自己名字命名数据库(如张三同学,应为“”); 解答:①建立数据库: 3、在数据库中创建学生表(表文件名为XS .DBF),长表名为:学生情况登记表,表结构如下: ~ 字段名 类型宽度小数位数标题 Xh C6《学号 Xm C8姓名 Xb{ C 2性别 Zydh C6: 专业代号 Ximing C12系名

` ②长表名:

4、在同一数据库中创建成绩表(表文件名为CJ .DBF), 长表名为:成绩表,表结构如下: 小数位数标题 字段名类型- 宽度 Xh C6学号 C2课程代号! Kcdh Cj N5} 成绩 1 解答:①建立表:

②长表名 ) 5、在学生表()和成绩表()中分别添入如下记录 Xh Xm Xb Zydh Ximing 200901—男102001信息管理系

朱元元 200902刘刚男109003' 计算机科学系200903高萍萍女109004数字通信系 200904陆海丽( 女 109005微波通信系 表二、 Xh Kcdh Cj 200901~ 01 20090102 20090201 、 200902 02 解答:①点击VF程序中【显示】下拉菜单【浏览】(要先点选中) ②点击VF程序中【显示】下拉菜单【追加方式】 ③点击VF程序中【显示】下拉菜单【浏览】(要先点选中) ④点击VF程序中【显示】下拉菜单【追加方式】 ( 6、为表二中的字段Cj设置字段有效性规则:Cj应该在0到100之间,否则提示“你的输入有错误,请重新输入!”; 解答:①点击VF程序中【修改】,在选中CJ,在其字段有效性下面选中规则(R)

0l-xjubb大学英语期中考试与平日成绩评分细则

、 .~ 1 我们‖打〈败〉了敌人。 ②我们‖〔把敌人〕打〈败〉了。 大学英语期中考试与平日成绩评分细则 (2010—2011第2学期) 为了贯彻落实教育部《大学英语课程基本要求》中对培养学生英语综合应用能力的精神,在日常教学中,通过加强形成性评估所占比重,对学生的学习全过程进行科学的考察、督促和评价,从而实现帮助学生掌握科学的学习方法,改善英语学习效度,培养自主学习能力的目的。本学期期中考试与平时成绩评分细则如下: 一、平日成绩〈本科20分,专科40分〉 平日成绩由两部分组成:学生课堂表现以及学生作业的完成情况。 1、课堂表现根据课堂上学生回答教师提问、课文预习、单词听写、课 文朗读或背诵、课堂出勤、参与课堂互动活动等表现打分。本科学生课堂表现满分为10分,专科学生课堂表现满分为30分; 2.作业根据学生是否按时完成教师布置的笔头或口头作业,作业完成质量情况酌情打分。本科学生作业成绩满分为10分,专科学生作业成绩满分为10分; 二、口语考试 按照教学计划,本学期期中口语考试定于第十一周进行,在学生总评成绩中所占分值分别为专科20分;2009级本科及2010级本科音体美专业20分; 2010级本科(不含音体美专业)口语考试成绩包括读写教师期中口语考试10分和外教口语课10分两部分; 1.考试方式: 1)考试按照教学计划随堂进行。 2)以小组讨论为基本形式,学生自由结合,4-6人一组。从上述话题中自由选题,由一人执笔写出一篇英文报告。 内容包括:题目、小组成员、准备所用时间、每个成员的观点(每人120词左右)、结论。 3)考试时每个小组要有一人串联谈话内容并做出总结,成员之间要有互动交流,避免孤立地背诵。成员之间观点一致时要就观点做出深入阐述。 4)每个小组限时5分钟。

c语言期中考试试题及答案

《C语言程序设计》期中考试试卷 课程编号:03402513试卷类型:A卷考试形式:笔试考试日期: 注意事项:1.请将试卷最后一页的答题纸撕下,将答案填写在其中;2.交卷时请确认答题纸是否按要求写好姓名等信息并与试题一起上交;3.不准携带任何书籍、资料、纸张等。4.草稿纸用试卷的背面。 一、单项选择题(1空1分,共20分) 1、C语言程序的基本结构是(【1】) 。 【1】 A) 函数 B) 语句 C) 字符 D) 程序行 2、一个C程序的执行是(【2】) 。 【2】A) 从本程序的主函数开始,到本程序的主函数结束 B)从本程序的第一个函数开始,到本程序的最后一个函数结束 C) 从本程序的主函数开始,到本程序的最后一个函数结束 D)从本程序的第一个函数开始,到本程序的主函数结束 3、下列四个叙述中,错误的是(【3】) 。 【3】 A) 一个C源程序必须有且只能有一个主函数 B) 一个C源程序可以含一个或多个子函数 C) 在C源程序中注释说明必须位于语句之后 D) C源程序的基本结构是函数 4、下面不属于C语言保留字的是(【4】) 。 【4】 A) short B) ELSE C) extern D) for 5、下列四个叙述中,正确的是(【5】) 。 【5】 A) 库函数也是C语言本身的组成部分 B) C语言中的输入输出操作是由相应语句完成的 C) 库函数是C编译系统提供的功能函数 D) 标题文件(头文件)可以在程序的函数内部调用 6、下列四组数据类型中,C语言允许的一组是(【6】)。 【6】 A) 整型、实型、逻辑型 B) 整型、实型、字符型 C) 整型、双精度型、布尔型 D) 整型、实型、复型 7、在C语言中不同数据类型的的长度是(【7】)。 【7】 A) 固定的 B) 由用户自己定义的 C) 任意的 D) 与机器字长有关

C语言期中考试试题及答案-1

高级语言程序设计试题 答案在最后 一、单项选择题(本大题共20小题,每小题2分,共20分)在每小题列出得四个选项中只有一个 选项就是符合题目要求得,请将正确选项前得字母填在题后得括号内。 1、C语言程序编译时,程序中得注释部分就是( ) A、参加编译,并会出现在目标程序中 B、参加编译,但不会出现在目标程序中 C、不参加编译,但会出现在目标程序中 D、不参加编译,也不会出现在目标程序中 2、设int a=3;则表达式a<1&&--a>1得运算结果与a得值分别就是( ) A、0与2 B、0与3 C、1与2 D、1与3 3、与语句if(a>b)if(c>d)x=1;else x=2;等价得就是( ) A、if(a>b){if(c>d)x=1;else x=2;} B、if(a>b){if(c>d)x=1;}else x=2; C、if((a>b)&&(c>d))x=1;else x=2; D、if(a<=b)x=2;else if(c>d) x=1; 4、设char x='a';则printf("x=%c,y=%c\n",x,97);得输出就是( ) A、x=a,y=97 B、x=97,y=a C、x=97,y=97 D、x=a,y=a 5、执行下列程序 int a[3][3]={{1},{2},{3}}; int b[3][3]={1,2,3}; main() {printf("%d\n”,a[1][0]+b[0][0]);} 后输出得结果就是( ) A、0 B、1 C、2 D、3 6、结构化程序设计所规定得三种基本控制结构就是( ) A) 输入、处理、输出B) 树形、网形、环形 C) 顺序、选择、循环D) 主程序、子程序、函数 7、完成C源文件编辑后、到生成执行文件,C语言处理系统必须执行得步骤依次为( ) A、连接、编译 B、编译、连接 C、连接、运行 D、运行 8、下列各语句中,能够且仅输出整型变量a、b中最大值得就是( ) A、if(a>b) printf(″%d\n″,a);printf(″%d\n″,b); B、printf(″%d\n″,b);if(a>b) printf(″%d\n″,a); C、if(a>b) printf(″%d\n″,a);else printf(″%d\n″,b); D、if(a

全国计算机等级考试二级VFP模拟试题及答案

全国计算机等级考试二级VFP模拟试卷考试及答案 第一项:单项选择题答案见最后 1、下面关于运行应用程序的说法,正确的是 A)APP应用程序可以在Visual FoxPro和Windows环境下运行 B)EXE应用程序只能在Windows环境下运行 C)EXE应用程序可以在Visual FoxPro和Windows环境下运行 D)APP应用程序只能在Windows环境下运行 2、调用报表格式文件pp1预览报表的命令是 A)REPORT FROM PP1 PREVIEW B)DO FROM PP1 PREVIEW C)REPORT FORM PP1 PREVIEW D)DO FORM PP1 PREVIEW 3、报表的数据源可以是 A)自由表或其他报表 B)数据库表、自由表或视图 C)数据库表、自由表或查询 D)表、查询或视图 4、确定列表框内的某个条目是否被选定应使用的属性是 A)Value B)ColumnCount C)ListCount D)Selected 5、在Visual FoxPro中,为了将表单从内存中释放(清除),可将表单中退出命令按钮的Click事件代码设置为 A)Thisform.Refresh B)Thisform.Delete C)Thisform.Hide D)Thisform.release 6、在Visual FoxPro中,控件分为 A)容器类和控件类 B)控件类和基类 C)容器类和基类 D)控件类的基础类 7、在Visual FoxPro中,扩展名为.DBC的文件是 A)数据库表文件 B)表单文件 C)项目文件 D)数据库文件 8、在下面Visual FoxPro表达式中,运算结果为字符串的是

大学英语3 期中考试答案

Unit 1 Education: A Transformation of the Soul 1On my first day of high school, my teacher showed the class a Power Point presentation entitled The Value of Education. The first slide read simply this: ―Education = $‖. I felt uncomfortable, not knowing exactly why. 2 Education, throughout my high school experience, continued to be described to me like this: college means a diploma. A diploma means a better job. A better job means more money. More money means a good life. But I wondered who had decided the criteria for a ―better‖ job and a ―good‖ life. It all seemed so mathematical. Education was presented to me as an equation equaling a person I had not chosen to be. 重点单词的句子翻译: 1.她读了一首题为《想起你》的诗。(entitle) 2.他给这本书取名为《野性的爱》。(entitle) 3.教育的关键在于激励和享受,而不是一所学校或一个大学文凭。(diploma) 4.那青年用了3 年的时间取得研究生文凭。(diploma) 5.我自己成功的标准是能够努力工作和快乐生活。(criteria) 3 I went on to college, of course, as everyone told me to do. College is how you become an earner, they told me. My major that first semester was International Relations. I liked the woman I envisioned myself as in this field – a diplomat, a savvy citizen of the world. But gradually I began to realize that this person was not someone I bore any resemblance to. She was, rather, a clone of the well-educated, well-moneyed ideal my teacher had presented to me years ago. This woman had earning potential; she was smart and worldly. But she was not someone I would become. She had nothing I really wanted.

《C语言程序设计》期中考试试卷

《C语言程序设计》期中考试试卷

淮海工学院 10 – 11 学年第 2 学期 C语言程序设计期中考试试卷 题号一二三四五总分 得分 单项选择题答题表 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 题答题表中) 1.以下叙述中正确的是()。 A)C程序的基本组成单位是语句 B)C程序中的每一行只能写一条语句 C)简单C 语句必须以分号结束 D)C语句必须在一行内写完在 2.一个C程序是由____________。 A)一个主程序和若干个子程序构成 B)一个或多个函数构成 C)若干过程组成 D)若干子程序组成 3.以下选项中正确的定义语句是 ____________。 A)d ouble a; b; B)d ouble a=b=7; C)d ouble a=7, b=7; D)d ouble, a, b; 4.计算机能直接执行的程序是()。 A)C源程序 B)目标程序 C)汇编程序 D)可执行程序 5.下列符号可以作为变量名的是 ____________。 A)+a B)*p C)_DAY 1

D)n ext day 6.设c是字符变量,则以下表达式正确的是____________。 A)c=666 B)c='c' C)c="c" D)c="abcd" 7.以下说法正确的是____________。 A)输入项可以为一个实型常量,如scanf("%f", 3.5) B)只有格式控制没有输入项也能进行正 确输入,如scanf("%d") C)当输入一个实型数据时,格式控制部分 应规定小数点后的位数,如scanf(%4.2f", &f) D)当输入数据时,必须指定变量的地址, 如scanf("%f", &f) 8.若a, b, c均定义为整型,要给它们输入数 据,正确的输入语句是____________。 A)r ead(a, b, c); B)s canf("%d%d%d", a, b, c); C)s canf("%D%D%D", a, b, c); D)s canf(%d%d%d", &a, &b, &c); 9.若有if (w) –x; else ++y; 则其中与w 等 价的表达式是____________。 A)w == l B)w == 0 C)w != l D)w != 0 10.为了避免嵌套的if-else语句的二义性, C语言规定else总是与____________组成 配对关系。 A)缩排位置相同的if B)在其之前未配对的if 2

C语言期中考试题目及答案

一、选择题: 【1】在C语言中,用户能使用的正确标识符是。 A) 5f B) _for C) struct D) _f.5 答案:B 分析:标识符只能由字母、数字、下划线组成,且第一个字母必须是字母或下划线;大小写敏感;不能使用关键字;最长32个字符。 【2】以下那个是正确的C语言常量。 A) 0678 B) '\0101' C) 1.2E3.5 D) 123L 答案:D 【3】以下对C语言源程序有关常识正确的描述是。 A)main函数必须位于文件的开头 B)每个语句必须单独一行 C)标识符中大小写字母没有区别 D)宏定义#define部分不一定要放在程序的最开头位置 答案:D 【4】以下for循环的执行次数是。 for(x=0,y=0;(y=123)&&(x<4);x++) A)是无限循环B)循环次数不定C)执行4次D)执行3次 答案:C 分析:若要判断(y=123)&&(x<4)假,因为y=123永远为真,所以只需要判断x<4为假即可。【5】对for(表达式1;;表达式3)可理解为。 A)for(表达式1;0;表达式3) B)for(表达式1;1;表达式3) C)for(表达式1; 表达式1;表达式3) D)for(表达式1; 表达式3;表达式3) 答案:B 【6】设有程序段 int k=10; while(k=0) k=k-1; 则下面描述中正确的是。 A)while循环执行10次B)循环是无限循环 C)循环体语句一次也不执行D)循环体语句执行一次 答案:C 分析:因为k=0为假,所以程序不执行其后的语句。 【7】C语言中while和do-while循环的主要区别是。 A) do-while的循环体至少无条件执行一次 B) while的循环控制条件比do-while的循环控制条件严格 C) do-while允许从外部转到循环体内 D) do-while的循环体不能是复合语句 答案:A 【8】设有:int a=1,b=2,c=3,d=4,m=2,n=2;执行(m=a>b)&&(n=c>d)后n的值为。A)1 B)2 C)3 D)4 答案:B 分析:对于&&运算,只要第一个操作数为假,就不判定第二个操作数。对于||运算,只要第

vf期中考试试题

2015-2016学年第二学期期中考试 VF试题 一、填空题(每空1,共30分) 1、数据库文件的默认扩展名为,表文件的默认扩展名为。 2、数学式子20≤X<35对应Visual FoxPro表达式是 3、字符型变量的定界符可以是、或 4、“am”$“I am a student”的值是 5、“I am a student”=“am”的值是 6、“This is a student”=“This”的值是 7、“Visual FoxPro”= =“Visual foxPro”的值是 8、3*(4-2)>9+15/5 OR “abcd”=“abc”的值是 9、Visual FoxPro提供了个工作区 10、Visual FoxPro的索引分为四种类型:、、和唯一索引。 11、x=8 y=15 表达式x>5, y<10, x>5 OR y<10, x>5 AND y<10, NOT y<10的值分别是: 、、、、 12、x=486.735 ?ROUND(x,4-2), ROUND(x,1), ROUND(x,0), ROUND(x,-1),ROUND(X,-2)的值 分别是、、、、 13、已知X是一个三位数,用X1、X2、X3分别表示百位、十位、个数上的数字,则X1= X2= X3= . 若将X个位与百位上的数字颠倒,则这个数的表达式为 14、MOD(27,-3)的值是二、写命令题(每个2分,共16分) 1、给变量XH赋值为字符串:12345 2、给变量XH赋值为日期型数据:2011年10月7日 3、用一条命令给变量XH1、XH2、XH3赋值为表达式6+40/5的值 4、把当前表的记录指针移到第5条记录。 5、把当前表的记录指针移到最末一条记录。 6、以当前记录为基准,把记录指针向下移动1条记录。 7、定义数组A,共100个元素。 8、选择当前没有使用的工作区号最小的工作区为当前 三、选择题(每个2分,共14分) 1、查询文件的默认扩展名是() A、·MPR B、·QPR C、·APP D、·FRX 2、表达式“北京”—“上海”+“重庆”的值是() A、北京上海重庆 B、北京上海重庆 C、北京上海重庆 D、北京上海重庆 3、下面对内存变量的叙述,错误的是()

创新大学英语一期中考试试题B音体美试题

创新大学英语一期中考试试题B音体美试题 This manuscript was revised on November 28, 2020

Mid-term Examination for Freshmen 姓名:班级:学号:成绩: Part I Translation Directions: Translate the following words and phrases. (8×1'+6×2') 1.sophomore ______ 2. schedule ______ 3. association ______ 4. dormitory ______ 5. admiration ______ 6. outlooks ______ 7. betray ______ 8. cherish ______ 9. in times of trouble and tension _________________________________ 10. make new acquaintances and friends _________________________________ 11. dispel feelings of isolation and loneliness ________________________________ 12. read one’s mind _________________________________ 13. get involved in social activities _________________________________ 14. smooth the transition from …to…_________________________________ Part II Vocabulary Directions: Fill in the blanks using some of the word and phrase given below the form where necessary. Change their form if necessary. (14×2') 1.The final results of the experiment are _______ on December 9. 2.We only had time to pack a few _______. 3. A newborn baby needs _______ care and attention. 4.My father _______ to be in good health. 5.An unhappy home _______ can affect a child’s behavior. 6.The literature course has been hard work, but very _______. 7.Some hospital patients experience high levels of _______.

大一C语言期末考试题

大一C语言期末考试题 悬赏分:40 |解决时间:2010-6-29 14:28 |提问者:345387547 1. 数组int a[3][5]; 共定义了______15__个元素。 2. 有float f= 3.1415927; 则printf(“%5.4f”, f );输出的结果是___3.1416__。 3. 下面程序的功能是:输出100以内(不包含100)能被3整除且个位数为6的所有整数,请填空。 main( ) { int i; for(i=1; __i<100 ___; i++) if (_(i%3==0)&&(i%10==6)_) printf("%d", i); } 4. 设有“int x=2, y”说明,则逗号表达式“y=x+5,x+y”的值是____7____ 5. 以下是使用指针,进行字符串复制的程序,请填空。 main() { char a[]= “Tsinghua University”, b[30], *p1,*p2; p1=a; p2=b; for(; *p1!= __'\0'____; p1++, p2++) *p2 _=_*p1; *p2= ___'\0'______; printf(“string a is:%s\n”,a); printf(“string b is:%s\n”,b); } 6. 下面程序用冒泡法对数组a进行降序排序,请填空。 main() { int a[5]={4,7,2,5,1}; int i,j,m; for(i=0;i<4;i++) for(j=0;j<____4____;j++) if( a[j]

vf考试试题及答案

VF期末考试复习选择题及答案 1.在Visual FoxPro中,skip命令移动记录指针的基准是(B )。 A、第一条记录 B、当前记录 C、指定纪录 D、库文件尾 2.一个数据库文件中多个备注字段的内容是存放在(B )。 A、这个数据库文件中 B、一个备注文件中 C、多个备注文件中 D、一个 文本文件中 3.在有关数据库的概念中,若干记录的集合称为(D)。 A. 文件 B. 字段 C. 数据项 D. 表 4.联接运算要求联接的两个关系有相同的(B)。 A. 主键 B. 属性名 C. 实体名 D. 主属性名 5. 逻辑运算符在运算时的优先顺序是(A) A.NOT→AND→OR B.AND→NOT→OR C.OR→NOT→AND D.从左至右按先后次序 6. 数学表达式5≤X≤8在Visual FoxPro中应表示为(B)。 A. X>=5.OR.X<=8 B. X>=5.AND.X<=8 C. X≤8.AN D.5≤X D. 5≤X.OR. X≤8 7. 在关系运算中,查找满足一定条件的元组的运算称之为(B)。 A. 投影 B. 选择 C. 关联 D. 复制 8.以下各表达式中,运算结果为数值型的是(D)。 A. 9<6 B. “D”$”ASD” C. TIME()+9 D. LEN(SPAC(8))-9 9.物理删除某一打开的表中的第3条记录,使用以下命令:①DELE ②GO 3③PACK。正确的操作顺序是(D) A.①②③ B.②③① C.①③② D.②①③ 10.设表文件及其索引文件已打开,为了确保指针定位在记录号为1的记录上,应该使用命令(B)。 A.GO TOP B. GO 1 C. GO RECNO()=1 D. SKIP 1 11.当前表中含xm(姓名,字符型)字段,显示姓“李”的记录的命令是(D) A.DISP FOR "李"=xm B.DISP FOR xm=李 C.DISP FOR SUBS(xm,1,1)= '李' D.DISP FOR SUBS(xm,1,2)=[李] 12. 求平均值的命令是(D) A.COUNT B.TOTAL C.SUM D.AVERAGE 13.不能作为索引关键字的数据类型是(B) A.数值型 B.备注型 C.日期型 D.字符型 14.在Visual FoxPro的一个工作区中,同一时刻最多能打开( B )个库文件。 A、10 B、1 C、任意多 D、256 15. Visual FoxPro中数据库文件的扩展名为( B )。 A、dbf B、dbc C、fpt D、prg 16. 当前数据库文件中有10条记录,要在第五条记录后面插入一条新记录,应使用命令(B )。 A、append B、insert C、edit D、brows 17. 在Visual FoxPro中,对数据库进行排序的关键字可为(C)。 A、逻辑型和备注型 B、日期型和备注型 C、日期型和字符型 D、逻辑型、日期型和备注型 18.在Visual FoxPro中,对数据库建立索引,将产生相应的索引文件,原库文件内容(A )。 A、并不改变 B、顺序改变 C、指定纪录改变 D、数据改变

大学英语期末试卷(2)及答案

****大学课程考核试卷 xxxx—xxxx学年第x学期xxxx 级xxxx 专业(类) 考核科目大学英语二课程类别必修考核类型考试考核方式闭卷卷别 A Part I Listening Comprehension (30 marks, 1 mark) Section A Directions:In this section you will hear 10 short conversations. At the end of each conversation, a question will be asked about what was said. The conversation and the question will be read only once. After each question there will be a pause. During the pause you must read the four choices marked A., B., C., and D., and decide which is the best answer. 1. A. To the restaurant. B. To the subway station. C. To the hotel. D. To the railway station. 2. A. To get enough money for the course. B. To set aside more time for the course. C. To take a full-time course in computing. D. To attend a part-time course in computing. 3. A. Because he’s very busy in the office. B. Because he’s dining with a client. C. Because he’s having a meeting. D. Because he’s on a business trip. 4. A. A police officer. B. A bank clerk. C. A waiter. D. A journalist. 5. A. She had a terrible headache. B. She couldn’t see the questions clearly. C. She couldn’t remember what she had reviewed. D. She quit the exam in the middle of the exam. 6. A. In a coffee bar. B. In an office.

C语言期中考试

1.下列标识符中,非法的C 语言标识符是( B )。 A )sum B )5AB C )temp_3 D )_123 2.已知大写字母A 的ASCII 码是65,小写字母a 的ASCII 码是97,则用八进制表示的字符常量'\101'是( A )。 A) 字符A B) 字符a C) 字符e D) 非法的常量 3.在C 语言中,以下对一维整形数组a 的正确说明是( D ) A) int a(10) B) int n=10,a[n]; D) #define SIZE 10 int a[SIZE]; 4. 以下循环语句哪一个不是死循环: ( B ) A).while ( i=10) printf(“OK.”); B).loop: if ((c=getchar())!=’\n’) goto loop; C).do {printf(“Hello.”)} while( -10 ); D).for( ; ; ); 5. 选出如下对字符数组初始化不正确的选项是 ( B ) A).char a[]=”this is a book”; B).char a[]={‘this is a book’} ; C).char a[4]={‘t’,’h’,’e’}; D).char a[]={“this is a book”}; 6.下列数据中,非法的C 语言实型常量是( D )。 A )123.0 B )123.567e5 C ).1234 D )e3 7.以下定义语句中错误的是( B )。 A )int a=3,b=5; B )float x1; x2; C )char c1,c2,c3; D )double y3, y4; 8.若将整数4和5赋给整型变量a 和b ,对于语句 scanf("%d%d" , &a,&b); 在从键盘输入数据时,正确的数据输入格式为( B )。 A )4,5 B )4 5 C )4:5 D )4#5 9.若整型变量a 和b 的值分别为6和8,则下列语句 printf("a=%d,b=%d",a,b); 的输出结果为( D )。 A )6, 8 B )6 8 C )a=6 b=8 D )a=6, b=8 10.C 语言中的转义字符\t 的作用是( B )。 A )回车换行 B )横向跳格 C) int n; scanf (“%d”,&n); int a[n];

相关主题
文本预览
相关文档 最新文档