(完整word版)2018年韩山师范学院本科插班生考试试题《高级语言程序设计》A卷.docx

合集下载

2015韩山师范学院《高级语言程序设计》样卷.doc

2015韩山师范学院《高级语言程序设计》样卷.doc

韩山师范学院专升本插班生考试样卷计算机科学与技术专业高级语言程序设计样卷一、填空题(每空1分,共10分)1.C语言的数据类型中,构造类型包括:数组、结构体和共用体。

2.在C程序中,指针变量能够赋地址值或变量值。

3.C目标程序经连接后生成扩展名为exe的可执行程序文件。

4.设有定义语句 static char s[5」;则s[4]的值是0。

5.设x为int型变量。

与逻辑表达式!x等价的关系表达式是X==0。

6.若一全局变量只允许本程序文件中的函数使用,则该变量需要使用的存储类别是static 。

7.磁盘文件按文件读写方式分类可以为顺序存取文件和随机存取文件。

8.设有下列结构体变量xx的定义,则表达式sizeof(xx)的值是_________。

struct{ long num;char name[20];union{float y; short z;} yz;}xx;二、单项选择题(每小题1.5分,共30分)1.设有定义int x=8, y, z; 则执行y=z=x++, x=y= =z; 语句后,变量x值是( B )A、0B、1C、8D、9逗号表达式的运算过程为:从左往右逐个计算表达式所以先计算y=z=x++;y=z=x=8,x再自加,x=9再计算x=y==z;y=z=8,所以y==z为真,x=12.有以下程序main( ){ int i=1,j=1,k=2;if((j++‖k++)&&i++) printf("%d,%d,%d\n",i,j,k);} 执行后输出结果是( C )A、1,1,2B、2,2,1C、 2,2,2D、2,2,3[解析] 该题目的关键是要搞清楚“&&”和“‖”两个逻辑运算符的运算功能。

运算符“&&”和“‖”是双目运算符,要求有两个运算量。

且规定逻辑与运算中,只有前面运算量的值为真时,才需要判别后面的值。

只要前面为假,就不必判别后面的值。

完整word版2016年韩山师范学院本科插班生现代汉语试卷

完整word版2016年韩山师范学院本科插班生现代汉语试卷

(A卷)第1 页共7 页韩山师范学院2016年本科插班生考试试卷汉语言文学专业现代汉语试卷(A卷)分)分,共16一. 填空(每空1 得分评卷人它是一种即从结构上说,汉语作为一种语言,具有一切语言共有的性质。

1. 。

;从功能上说,它是______________________ _________个辅音声母。

2. 声母是音节开头的_________,普通话中共有 _________。

e实际是单韵母中的_________,发音条件是3. ie、üe中的。

从现行汉字楷书字形角度对汉字进行汉字字体演变的主流是_________4._________。

分析,汉字的构件包括_________和是词_________所表达的内容。

词义是语言中词的含义,是词的_________5.义中的主要部分。

和___________6. 对句子结构分析,经常采用三种方法:句子成分分析法、。

___________ 。

“现在”则是___________,7. 就词性来说,“正在”是___________ 的不同上。

语气的不同主要表现在语调和___________8.分,共20分)二. 选择(每题1 评卷人得分(请将答案填入下面的表格中)1(A卷)第2 页共7 页1. 现代汉语常用词中以双音节为主的是()A.代词B.量词C.名词D.动词2. 下列几项表述中属于口语特点的是()A.用词精审B.结构严谨C.句子简短D.逻辑性强3. 语音的本质属性是()A.物理属性B.社会属性C.生理属性D.心理属性4. 属于开口呼韵母的是()A.强B.而C.主D.远5. 韵头、韵腹、韵尾俱全的是()A.鸟B.娃C.句D.生6. pa、pai、pan、pang、pian中的a在实际发音中()A.有差异,能区别词义B.有差异,不能区别词义D.没有差异,能区别词义 C.没有差异,不能区别词义7. 从汉字跟汉语的关系来看,汉字是()A.语素文字B.音节文字C.音位文字D.音素文字8. “六书”中,促使汉字字量大大增加的结构方式是()A.会意字B.形声字C.象形字D.假借字9. 属于一个语素的是()A.蜓B.葡C.民D.柠檬汁儿10. 属于音译词的是()A.伏特加B.美德C.心疼D.深浅11. “我们热爱伟大的祖国”中包含()A.4个词、8个语素B.5个词、9个语素D.7 个词、 8个语素个语素C.6个词、712. 下列词语符合“平平仄仄”模式的是()A.光明磊落B.师出有名C.喜笑颜开D.满载而归13. 属于偏正短语的是()A.群众的智慧B.暗下去C.吃、穿、用D.喜欢游泳2(A卷)第3 页共7 页14. 属于谓词性短语的是()A.十年前B.妈妈的微笑C.有资格晋升D.一百个15. 下列句子中含补语的句子是()A.腐烂变质的食物吃不得。

2017年韩山师范学院本科插班生考试试题《高级程序设计语言》A卷

2017年韩山师范学院本科插班生考试试题《高级程序设计语言》A卷

韩山师范学院2017年本科插班生考试试卷计算机科学与技术专业 高级语言程序设计试卷(A 卷)一、填空题(每空2分,共10分)1.C 程序的基本组成单位是 函数 。

2.当a=1,b=35,c=5时,表达式a!=b>c 的值是 _____ 0 __。

3. 一个C 文件是一个__字节流__流或二进制流。

4. 一个字符数据既可以以字符形式输出,也可以以_ 整形 _形式输出。

5. 若a 是int 型变量,且a 的初值为6,则执行表达式a+=a-=a*a 后,a 的值为 -24 。

二、单项选择题(每题2分,共30分)1.下述程序段的输出结果是(D)。

int x=10;int y=x--;printf("%d,%d",(y++,x),y++);A、9,10B、11,10C、10,9D、9,11逗号运算符:表达式用逗号分开,所以最终的值应该是最后一个表达式的值2.下面各选项中,均是C语言标识符的选项组是(C)。

A、for china toB、void union _342C、long_123 short56 _doD、text.txt _075 _3ew 3.若int k=10;则执行下列程序后,变量k的正确结果是(B)。

main( ){ int k=10;switch(k){ case 9: k+=1;case 10: k+=1;break;case 11: k+=1;default: k+=1}printf(″%d\n″,k);}A、12B、11C、10D、94.在位运算中,操作数每右移一位,其结果相当于(A)。

A、操作数除以2B、操作数乘以16C、操作数除以16D、操作数乘以2左移乘二,右移除以2,都是整除5.以下能对二维数组c进行正确的初始化的语句是(B)。

A、int c[][5]={{1},{},{4}};B、int c[][5]={{1},{2},{4}};C、int c[5][]={{2},{8},{4},{5}};D、int c[5][]={{6},{6},{9}};6、以下程序执行后,sum的值是(A)。

韩山师范学院本科插班生考试《高级语言程序设计》课程试卷教学内容

韩山师范学院本科插班生考试《高级语言程序设计》课程试卷教学内容

2014年韩山师范学院本科插班生考试《高级语言程序设计》课程试卷韩山师范学院2014年本科插班生考试试卷计算机科学与技术 专业 高级语言程序设计 试卷(A 卷)一、填空题(每空1分,共10分)1.C 程序是由___函数__构成的,它包括___函数首部_和_函数体__两部分。

2.一个C 文件是一个字节流或___二进制_ 流。

3. 在C 语言中,&运算符作为单目运算符时表示的是__取地址__运算,作为双目运算符时表示的是___按位与__运算。

4. 在16位PC 机环境下,字符常量‘a ’在内存中应占__1___个字节,字符串“a”应占____2____个字节。

//后面系统自动加‘/0’。

5. 数组在内存中占用一段连续的存储空间,它的首地址由___数组名__表示。

6. 当a=9,b=40,c=3时,表达式 a>b!= c 的值是 __1_____。

二、单项选择题(每题1.5分,共30分)1.下述程序段的输出结果是(C)。

int x=10;int y=x++;printf(″%d,%d″,(x++,y),y++);A、11,10B、11,11C、10,10D、10,112.下面各选项中,均是C语言标识符的选项组是(B)。

A、for china toB、long_123 short56 _doC、void union _342D、text.txt _023 _3ew3.有以下程序,执行后输出结果是(A)。

main(){ int a[][3]={{1,2,3},{4,5,0}},(*pa)[3],i;pa=a;for(i=0; i<3; i++)if(i<2) pa[1][i] = pa[1][i]-1;else pa[1][i]=1;printf("%d\n",a[0][1]+a[1][1]+a[1][2]);}A、7B、6C、8D、无确定值4. 算法是指为解决某个特定问题而采取的正确且有限的步骤,下面不属于算法的5个特性的是(B)。

2018年本科插班生考试试题《数据结构》A试卷

2018年本科插班生考试试题《数据结构》A试卷

韩山师范学院2018年本科插班生考试试卷计算机科学与技术 专业 数据结构 试卷(A 卷)一、单项选择题(每题2分,共30分)1. 数据的最小单位是( )。

A. 数据元素 B.数据项 C.数据类型 D. 数据变量2. 一个栈的输入序列为A B C ,则下列序列中不可能是栈的输出序列的是( )。

A. B C AB.C B AC. C A BD. A B C 3.程序段s=i=0;do {i=i+1; s=s+i ;}while(i<=n);的时间复杂度为( )。

A. O(n)B. O(nlog 2n)C.O(n 2)D.O(n 3/2)4.一个非空广义表的表头( )。

A.不可能是子表B.只能是子表C.只能是原子D.可以是子表或原子5.设顺序循环队列Q[0:M-1]的头指针和尾指针分别为F 和R ,头指针F 总是指向队头元素的前一位置,尾指针R 总是指向队尾元素的当前位置,则该循环队列中的元素个数为( )。

A. R-FB.F-RC. (F-R+M)%MD. (R-F+M)%M6.设指针变量p 指向单链表中结点A ,若删除单链表中结点A ,则需要修改指针的操作序列为( )。

A. q=p->next ;p->next=q->next ;free(q);B. q=p->next ;p->data=q->data ;free(q);C. q=p->next ;p->data=q->data ;p->next=q->next ;free(q);D. q=p->next ;q->data=p->data ;p->next=q->next ;free(q);7.设有一个二维数组A [m ][n ],假设A [0][0]存放位置在644(10),A [2][2]存放位置在676(10),每个元素占一个空间,问A [3][3](10)存放在什么位置?脚注(10)表示用10进制表示( )。

韩山师范学院2018年本科插班生考试试卷英语专业英语语法试卷(A卷)

韩山师范学院2018年本科插班生考试试卷英语专业英语语法试卷(A卷)

韩山师范学院2018年本科插班生考试试卷英语专业英语语法试卷(A卷)题号一二三四五总分评卷人得分一、Choose the correct answer(每题1分,共40分)得分评卷人Direction: Complete the following sentences and then blackenthe corresponding letter on the ANSWER SHEET.1. This is one of the issues that deserve _____.A. being mentionedB. mentioningC. to mentionD. for mention2. The audience ______ excited on seeing _______ favorite star glide onto the stage.A. were…theirB. were…itsC. was…theirD. was…one’s3. Many a student ______ the importance of learning a foreign language.A. have realizedB. has realizedC . have been realized D. has been realized4. All of us would have enjoyed the party much more if there ___ quite such a crowd of people there.A. weren’tB. hasn’t beenC. hadn’t beenD. wouldn’t been5. ____ recommendation has so far been made by the technicians.A. Several suchB. No such aC. Such noD. No such6. He was not ___ to admit his mistakes in public.A. man enoughB. enough manC. a man enoughD. enough a man7. This action is ____ as I expected.A. enough of a successB. more of a successC. as much of a successD. as much success8. The students expected there ______more reviewing classes before the final exams.A. isB.beingC. have beenD.to be9. Air is to us ____water to fish.A. likeB. asC. whatD. that10. Revolution means ____the productive forces.A. to liberateB. liberatedC. liberateD. liberating11. I suppose you are not going today, ____?A. are youB. do youC. aren’t youD. don’t you12. ____illness, he retired.A. Thanks toB. According toC. Owing toD. For the sake of13. Many a time ____ them not to do so.A. we have warnedB. do we have warnedC. have we warnedD. warned we have14. He wasn't asked to take on the chairmanship of the society,____ insufficiently popular with all members.A. being consideredB. consideringC. to be consideredD. having considered15. Mr. Johnson is ____to our party.A. more than pleased to comeB. pleased more than to comeC. more pleased than to comeD. more pleasing than to come16. It is imperative that students ___ their term papers on time.A. hand inB. would hand inC. have to hand inD. handed in17. Which of the italicized parts functions as a subject?A. We never doubt that her brother is honest.B. The problem is not who will go but who will stay.C. It is clear that the crime was done deliberately.D. You must give it back to whoever it belongs to.18. Which of the following sentences is grammatically INCORRECT?A. Politics are the art or science of government.B. Ten miles seems like a long walk to me.C. Mumps is a kind of infectious disease.D. All the furniture has arrived undamaged.19. If you explained the situation to your lawyer, he ______ able to advise you much better than I can.A. will beB. wasC. would beD. were20.What’s the chance of __ a general election this year?A. there beingB. there to beC. there beD. there going to be21. “The lecturer was a tall thin man with white hair." "Then it _____ Dr. Field because he is short and fat. It ____ Dr. Jones ; he is thin."A can't be...must beB couldn't have been...might have beenC must be...can't beD can't have been...must have been22. On no account ____ever leave the baby at home alone.A should youB you shouldC shall youD you shall23. Tim ____since he lost his job three weeks ago.A. had been unemployedB. was unemployedC. has been unemployedD. has unemployed24 .I'm very much obliged to you __________ the information.A. onB. forC. withD. of25. In the preface __________ the book, the old scholar attaches great importance to practicalness.A. toB. forC. aboutD. of26. Even if his letter ______tomorrow, it ______too late to do anything.A.will arrive...isB.should arrive...wereC.arrives...will beD.arrives...would be27. If you have really been studying English for so long , it’s about time you ___ able to write letters in English.A. should beB. wereC. must beD. are28. There is no doubt ___ the company has made the right decision on the sales project.A. whyB. thatC. whetherD. when29.The trade unions in this industry are ______any reduction in wages.A. objecting againstB. opposed toC. reacted toD.resisting against30. In the sentence “It’s no use waiting for her.”The italicized phrase is ____A. the objectB. an adverbialC. a complementD. the subject31. After a long delay, She ___ replying to my e-mail.A. got away withB. got back atC. got byD. got round to32. Nancy was surprised that they have ______. They seemed to be a happy couple.A. split upB. broken downC. fallen throughD. knocked out33. There was a teapot fashioned like a china duck, out of _____open mouth the teawas supposed to come.A. whichB. itsC. thatD. whose34. Just as the soil is a part of the earth, ______ the atmosphere.A. as it isB. so isC. the same asD. and so is35. The experiment requires more money than ___.A. have been put inB. being put inC. has been put inD. to be put in36. Which of the following contains an adverbial clause of cause ?A. I got a job as soon as I left university.B. As there was no answer, I wrote again.C. You must do the exercises as I show you.D. wealthy as he is, Mike is not a happy man.37. The brilliance of his satire was ______ make even his victims laugh.A. so as toB. such as toC. so thatD. such that38.____, he always tries his best to complete it on time.A.However the task is hardB.However hard the task isC.Though hard the task isD. Though hard is the task39.Fool ___ Jane is , she could not have done such a thing.A. whoB. asC. thatD. like40. Professor Johnson is said _____ some significant advance in his research in the past year.A. having madeB. makingC. to have madeD. to make二、Correct the errors in the following sentences.(每题1分,共20分)Directions: Identify the one that would not be acceptable in standard written English. Mark out the incorrect one and correct it. And then write down your answers on the ANSWER SHEET.1. Although all the world were against me, I should still hold to myA B Copinion.D2. Hardly had he reached the gangplank than he saw her.A B C D3. The scholars met once a year to exchange experiences.A B C D4. The Greek believed in the power of men to control his own destines.A B C D5.The athlete, together with his coach and several relatives, are traveling to the Olympic Games.A B C D6. The mother flatly rejected my suggestion that she met her daughter theA B C Dnext week.7. As tired I was , I continued my experiment.A B C D8. They need much more volunteers than we think.A B C D9.Not only does he like reading stories, but also can he even write some.A B C D10.Only if I get a job I will have enough money to get the camera.A B C Dw and order mean different things to people with different politicalA B Copinions.D12.There are a time to be silent and a time to speak, a time for study and a timeA B C Dfor resignation or action.13.He has much more problems than he used to.A B C D14.Mr. Blake has had few opportunity to travel.A B C D15.The customs officer examined all these luggage at the airport.A B C D16.There was nothing to do but to escape.A B C D17.Dick’s behavior is more courteous than Bob.A B C D18.Because the weather is so bad outside, why don’t you stay with us overnight?A B C D19.The situation in that country turned out to be so seriously that it seemsA B Cas if a war might break out at any time.D20.Since his blood pressure is much higher than it should be , his doctorA B Cinsists that he does not smoke.D三、Put the verbs in brackets in the correct form.(每空1分,共20分)1. I wish I __1__ a bird. ( be )2. Many a person in these circumstances __2___ hoped for a long break. ( have )3. He was in low spirits and considered ___3___ away. ( go )4.The peasant boy swore __4___ revenge on his father’s murderer. ( take )5. If only we __5__a phone! I’m tired of queuing outside the public phone box. ( have )6. I resented ___6___ unjustly accused and asked him __7____ . ( be , apologize )7. If the train _8___ on time , it will be here in ten minutes. ( be )8. Give me time and I ___9___ a solution. ( find )9. If he __10___ that , he must be a fool. ( say )10. It is absolutely essential that all the facts ____11___ first. ( examine )11. Sheila is the __12__ (adopt) daughter of a well-known banker.12.I’m sure he is keeping something back. I’d rather he _13____ me the truth. ( tell )13.The ___14____ package had no stamps on it. (return )14.Far _15____ it from me to call him a thief. ( be )15.Somebody __16___ to speak to me. ( wait )16.Suppose you __17___ where your next meal was coming from? ( not know )17.The match is __18___ . It’s a __19___ match. ( light )18.He looks as though he never _20___ a square meal , but in fact his wife feeds himvery well. ( get )四、Fill in the blanks with proper prep., adv., determiner,coordinator or subordinator.(每空1分,共10分)1.This medicine is on sale everywhere. You can get it at____ chemist’s.2.There were two Germans in his class. _____ major in economics.3.Don’t ask me to explain ____ you really don’t understand.4.His speech , ____ bored everyone , went on and on.5.The president got down from the plate and shook hands with _____ one waiting atthe airport..6. He was always attentive ____ my ideas.7. Jack feels homesick ____ his own country.8.It was _____ he was ill that he didn’t go with us.9.Neither has Pauline wanted to rent a house , _____ has her husband.10.You’re the only person ____ can help me.五、Rewrite the following sentences according to therequirements. (每题1分,共10分)( active voice—passive voice)1.They will have to adopt a different attitude.2.They use milk for making butter and cheese.(combine sentences using subordination.)3.He came out of the Conference Room. Reporters surrounded him.( combine sentences using a relative clause)4. She was dancing with a student. He had a slight limp.( direct sentence—indirect sentence)5. He said, “ It must be pretty late. I really must go.”6. “ Must I go to school tomorrow ?” Jack asked.( Turn the following sentences into existential there )7. A car was ready for us.8.My front door had a bolt but I never used it.( Emphasize the italicized part by using introductory “it” )9.John gave Mary a handbag at Christmas.10.The book took a long time to come out because it raised so many difficultquestions .。

2017年韩山师范学院本科插班生《C语言程序的设计》试卷

2017年韩山师范学院本科插班生《C语言程序的设计》试卷

2017年韩山师范学院本科插班生考试试卷计算机科学与技术专业高级语言程序设计试卷(A卷)一、填空题(每空1分,共10分)1.一个C程序的执行是从本程序的函数开始。

2.结构化程序的三种基本结构为顺序结构、_________________、_________________。

3.能表示“整型变量x的绝对值小于5”的C语言表达式是________________ (不得使用系统函数)。

4.在C语言中,当表达式值为0时表示逻辑值“假”,当表达式值为________________时表示逻辑值“真”。

5.在位运算中,操作数每左移一位(无溢出),其结果相当于操作数____________以2。

6.设有定义FILE *fp; 则关闭fp对应文件的操作语句是。

7.在C程序中,根据数据的组织形式可以可分为___________文件和___________文件。

8.若有定义char s[]="\n123\\"; 则strlen(s)的值为_______;sizeof(s)的值为_______。

二、单项选择题(每小题1.5分,共30分)1.C语言中的标识符只能由字母、数字和下划线,且第一个字符( )。

A.必须为字母B.必须为下划线C.必须为字母或下划线D. 可以是字母或数字或下划线2.设a,b为整型变量,以下合法的表达式为( )。

A. b=a/2B. b=*a+2C. b+a=2D. b=a%2.53.以下选项中能表示合法常量的是A.整数:1,200B.实数:1.5E2.0C.字符斜杠:'\'D.字符串:"\007"4.若有a=4,b=3,c=5,则表达式a<b<c的值为( )。

A. 1B. 表达式不合法C. 0D. 25.下列关于指针变量赋空值的说法错误的是A.当赋空值的时候,变量指向地址为0的存储单元B.赋值语句可以表达为变量名=´\0´;C.赋值语句可以表达为变量名=0;D.一个指针变量可以被赋空值6.下列程序的运行结果是( )。

2018年本科插班生考试试题《基础英语》A卷

2018年本科插班生考试试题《基础英语》A卷

韩山师范学院2018年本科插班生考试试卷英语专业基础英语试卷( A卷)nguage knowledge. Choose one word, phrase or statementthat best completes the sentence. (每空1分,共20分)1. _____ dull he may be, he is certainly a very successful top executive.A. AlthoughB. WhateverC. AsD. However2 Loudspeakers were fixed in the hall so that everyone__ an opportunity to hear the speech.A. ought to haveB. must haveC. may haveD. should have3. ____ his knowledge and academic background, he is basically stupid.A. But forB. According toC. For allD. Thanks to4. The moon, being much nearer to the Earth than the Sun, is the ____ cause of the tides.A. principalB. basicC. initialD. elementary5. It is absolutely essential that William _____ his study in spite of some learning difficulties.A. continueB. continuedC. will continueD. continues6 The reception was attended by ____ members of the local community.A. excellentB. conspicuousC. prominentD. noticeable7. The party, ____ I was the guest of honor, was extremely enjoyable.A. by whichB. for whichC. to whichD. at which8. ____ he wanted to go out with his friends at the weekend, he had to stay behind to finish his assignment.A.Much though B.Much as C.As much D.Though much9. They stood chatting together as easily and naturally as ____.A. it could beB. could beC. it wasD. was10 There are only ten apples left in the baskets, ____ the spoilt ones.A. not countingB. not to countC. don't countD. having not counted11 ____ the sight of the police officers, the men ran off.A. InB. AtC. OnD. With12 A great amount of work has gone into __ the Cathedral to its previous splendor.A. refreshingB. restoringC. renovatingD. renewing13. He feels that he is not yet _____ to travel abroad.A. too strongB. enough strongC. so strongD. strong enough14. During the summer vacation, kids are often seen hanging _____ in the streets.A. aboutB. onC. overD. out15. In the sentence “The manager interviewed Jim himself in the morning” the italicized word is used to modify ___.A. the objectB. the verbC. the subjectD. the prepositional phrase16. John is up to his eyes in work at the moment. The underlined part means ___.A. very excitedB. very busyC. very tiredD. very efficient17 ____ he's already heard the news.A. Chances areB. Chance isC. Opportunities areD. Opportunity is18. He has been asked to account _____ his absence.A. forB. onC. ofD. about19. He appeared _____ with our team's performance.A. satisfyingB. to be satisfyingC. to satisfyD. satisfied20. George wasn't in class today, Professor Brown excused him ______.A. from attendingB. of attendingC. to attendD. attendingII.Derivative. Write down the correct word to complete each sentence. (每题1分,共10分)A.Warm1. I prefer _______ food to cold food.2. My job was strange at first, but now I’m ______________ to it.3. Stanley is cold and difficult to please and easily gets offended, whereas his wife is _________-hearted and gets on well with all their friends.4. Jack and his report on his expedition to Antarctic were received with both great _________ and enthusiasm.5. It is not that cold, it is ______, you could try some outdoor activities.B. Help6. Whenever we’re in any difficulty, he’s always willing to give a _____ hand.7. If we need more ________ in the activity, who’ll volunteer to come?8. Can I have another _________ of ice cream?9. Without a car in the country like this, you’ll feel as ________ as a baby.10. Used appropriately, a dictionary will always be _________ to a language learner.III.Match each word in Column A with the phrase in Column B that is similar in meaning. (每题1分,共10分)IV.Fill in each blank with a preposition from the box.(每题1分,共10分)1. Put rice on your shopping list, as we have run ______ it.2. I have never run ______ such a rude man before.3. The camp guards made sure that none of the prisoners of war would run _____.4. She needs a rest. She looks run _____ after walking for the whole afternoon.5. During the lunch hour, my brother ran _____ his notes about the speech.6. He ran _____ the main points in the letter quickly.7. The new clock radio has run _____; we must change the batteries.8. You must be careful of your expenses. Don’t run ____ a large bill at the motel,9. When a friend is in danger, we can’t look _____ with folded arms.10. When he looked _____ on his early struggle as a salesman in a big store, he realized he was a changed man.V.Reading comprehension. Choose the one that you think is the best answer and mark your answers on Answer Sheet.(每题2分,共10分)Passage OneImagine you are a citizen of Athens, enjoying a warm Mediterranean night in the Theater of Heroes Atticus. You are wearing jeans and a T-shirt, listening to a great concert.Now rewind this picture 1,839 years. You are in the same seat, only you are watching classical Greek entertainment and wearing a simple chiton, or tunic.The city of Athens is a fun mix of the old and the new, the classic and the modem. Often a little shop is located next to the rains of a temple, which is only a block from a large, air-conditioned hotel. The great city of 2,500 years ago is still visible today.Ruins are the most obvious sign of ancient Athens, and the most famous of these is the Acropolis. The Acropolis is a large hill that was the center of life in Athens. On its slopes were temples, monuments, and theaters. From the top, you can see how the urban sprawl of Athens stretches out in every direction.On the top of the Acropolis is the Parthenon. This was once a huge temple to Athena, the city's patron. It was first completed in 432 B.C., but has been damaged and destroyed several times. However, visitors can still see the "tricks" used in building the Parthenon. The columns along the outside lean inward, and are slightly fatter in the middle. The temple is also higher in the middle than on the sides. All these effects make theParthenon look perfectly straight from a distance.Only a block away from the Acropolis is the neighborhood of Plaka. The area, with its little shops and restaurants, is very popular with both tourists and locals, and is an important part of modem Athenian culture.Many great thinkers, writers, and political leaders lived in ancient Athens. The ruins of their homes and favorite spots are scattered throughout the busy port city. The hill where St. Paul addressed early Christian Athenians is located near the Acropolis. Great thinkers such as Pericles and Demosthenes spoke to the civil assemblies held at the Pnyx Hill. Today the Pnyx is an open-air theater for light and sound shows. Greeks still use some ancient sites, such as the Pnyx and the Theater of Heroes Atticus. During Roman times, in 76 A.D., gladiators used the Panathenaic Stadium for contests. The Olympics were held there in 1896, and today people still jog and exercise in the stadium.Tourism is very important to people who live in modem-day Athens. Thousands of people come every year to see these ruins and to tour the many museums that house artifacts from ancient times. This provides many jobs and brings money into Athens, which helps the city pay for improvements. Athenians take pride in the accomplishments of their ancestors, and people from all around the world come to admire them. By looking around the city today, we can imagine what life was like in ancient Athens.1. Which of the following statements is INCORRECT about the city of Athens?A. The culture of the city is a mixture of the old and modem.B. Traces of the ancient city can still be found.C. Ruins and modem hotels co-exist in the city.D. All the temples are not far away from air-conditioned hotels.2. Which tourist attraction was ancient Athens most famous for?A. Plaka.B. Acropolis.C. Pnyx.D. Parthenon.3. According to the context, "tricks" in Paragraph Five refer to ______.A. mischievous actsB. confusing constructing skillsC. skillful constructing methodsD. constructing materialsPassage TwoWhat we know of prenatal development makes all this attempt made by a mother to mold the character of her unborn child by studying poetry, art, or mathematics during pregnancy seem utterly impossible. How could such extremely complex influences pass from the mother to the child? There is no connection between their nervous systems. Even the blood vessels of mother and child do not join directly. An emotional shock to the mother will affect her child, because it changes the activity of her glands and so the chemistry her blood. Any chemical change in the mother's blood will affect the child for better or worse. But we can not see how a looking for mathematics or poetic genius can be dissolved in blood and produce a similar liking or genius in the child.In our discussion of instincts we saw that there was reason to believe that whatever we inherit must be of some very simple sort rather than any complicated or very definite kind of behavior. It is certain that no one inherits a knowledge of mathematics. It may be, however, that children inherit more or less of a rather general ability that we may call intelligence. If very intelligent children become deeply interested in mathematics, they will probably make a success of that study.As for musical ability, it may be that what is inherited is an especially sensitive ear, a peculiar structure of the hands or the vocal organs connections between nerves and muscles that make it comparatively easy to learn the movements a musician must execute, and particularly vigorous emotions. If these factors are all organized aroundmusic, the child may become a musician. The same factors, in other circumstance might be organized about some other center of interest. The rich emotional equipment might find expression in poetry. The capable fingers might develop skill in surgery. It is not the knowledge of music that is inherited, then nor even the love of it, but a certain bodily structure that makes it comparatively easy to acquire musical knowledge and skill. Whether that ability shall be directed toward music or some other undertaking may be decided entirely by forces in the environment in which a child grows up.4. Which of the following statements is not true?A. Some mothers try to influence their unborn children by studying art and other subjects during their pregnancy.B. It is utterly impossible for us to learn anything about prenatal development.C. The blood vessels of mother and child do not join directly.D. There are no connection between mother's nervous systems and her unborn child's.5. A mother will affect her unborn baby on the condition that ____.A. she is emotionally shockedB. she has a good knowledge of inheritanceC. she takes part in all kind of activitiesD. she sticks to studyingVI.Cloze. Decide which of the words given in the box below would best complete the passage if inserted in the corresponding blanks.The words can be used ONCE ONLY. Mark the letter for eachword on Answer Sheet.(每题1分,共10分)The U.S. Department of Education is making efforts to ensure that all students have equal access to quality education. Today it is 1___the launch of the Excellent Educators for All Initiative. The initiative will help states and school districts support great educators for the students who need them most.“All children are 2___ to a high-quality education regardless of their race, zip code or family income. It is 3___ important that we provide teachers and principals the support they need to help students reach their full 4___,” U.S. Secretary of Education Arne Duncan said. “Despite the excellent work and deep 5___ of our nation's teachers and principals, students in high-poverty, high-minority schools are unfairly treated across our country. We have to do better. Local leaders and educators will 6___ their own creative solutions, but we must work together to 7___ our focus on how to better recruit, support and 8___ effective teachers and principals for all students, especially the kids who need them most.”Today’s announcement is another important step forward in improving access to quality education, a 9___ of President Obama’s year of action. Later today, Secretary Duncan will lead around table discussion with principals and school teachers from across the country about the 10___of working in high-need schools and how to adapt promising practices for supporting great educators in these schools.e the words given in parentheses to translate the following sentences. Change the forms if necessary.(每题3分,共15分)1. 虽然上课时我们常做听写,但我们还是请老师多给我们一些小段听写文章,好让我们在课后做。

2018年本科插班生考试试题《高级语言程序设计》A卷

2018年本科插班生考试试题《高级语言程序设计》A卷

韩山师范学院2018年本科插班生考试试卷计算机科学与技术专业 高级语言程序设计试卷(A 卷)一、填空题(每空2分,共10分)1.C 程序源文件的后缀名是 。

2.设变量a 的值是1,则表达式(2+a )∧(~3)的值是_ _____ 。

3. fgetc 函数的作用是从指定文件读入一个 。

4. C 语言程序至少必须包含一个 函数。

5. 若有定义:int a[3][5];则数组a 中共有________个元素。

二、单项选择题(每题2分,共30分)1.C语言程序编译时,程序中的注释部分__________。

A.不参加编译,但会出现在目标程序中B.不参加编译,也不会出现在目标程序中C.参加编译,但不会出现在目标程序中D.参加编译,并会出现在目标程序中2.以下程序执行后sum的值是__________。

A.15 B.不确定 C.14 D.0 main(){ int i , sum=0;for(i=1;i<6;i++) sum+=i;printf("%d\n",sum);}3.下列程序段的输出结果是__________。

A.2 1 4 3 B.1 2 1 2 C.1 2 3 4 D.2 1 1 2 void fun(int *x, int *y){ printf("%d %d ", *x, *y); *x=3; *y=4;}main(){ int x=1,y=2;fun(&y,&x);printf("%d %d",x, y);}4.以下程序的输出结果是__________。

main(){ char c='a';printf("%c",c+25);}A.A B. a C.a+25 D.z5. 以下能正确定义,且赋初值的语句是_________A. int n1=n2=10;B. char c=32;C. Float f=f+1;D. double x=12.3E2.56. 以下程序的输出结果是__________main(){ char ch[3][5]={"AAAA","BBB","CC"};printf("\"%s\"\n",ch[1]);}A."AAAA" B."BBB" C."BBBCC" D."CC"7. 设有定义:int a=3,b,*p=&a;则下列使b不为3的语句是_________A.b=*&aB.b=*pC.b=aD.b=*a8. 若有说明语句:int a,b,c,*d=&c;,则能正确从键盘读入三个整数分别赋给变量a、b、c的语句是__________。

完整word版2018年韩山师范学院本科插班生考试试题高级语言程序设计A卷x

完整word版2018年韩山师范学院本科插班生考试试题高级语言程序设计A卷x

(A卷)第11页共11页韩山师范学院2018年本科插班生考试试卷计算机科学与技术专业高级语言程序设计试卷(A卷)I.c程序源文件的后缀名是・C _______________ o2 .设变量a的值是1,则表达式(2 + a) A (〜3)的值是3.feete 函数的作用是从指定文件读入一个字符 _________4.C语言程序至少必须包含一个mail ___________ 函数。

5.若有定义:htaC3]E];则数组a中共有_ 15—个元素。

(A卷)第2页共11页1.C语言程序编译时,程序中的注释部分—卫__________ OA.不参加编译,但会出现在目标程序中B.不参加编译,也不会出现在目标程序中C.参加编译,但不会出现在目标程序中D.参加编译,并会出现在目标程序中2.以卜程序执行后sum的值是__ ___________ oA.15B.不确定C・14 D・0m ah 0{inti, sum 二0 ;for(Fl ;K6 ;卄+) sum + 二i;printfC% dgsum );}3.下列程序段的输出结果是__A __________ oA・ 2 14 3 B ・1 2 1 2 C ・1234 D ・ 2 112void fiin (int*x, ht*y){printfC% d % d "、*x, *y); *x=3 ; *y=4 ;}m a in 0{htx=l,y=2;fin (&y,&x);printfC% d % d〃,x, y);}〃解析:本题中函数传递的是变量的地址,如果形参在函数中发生改变,相对应的实参也就有了改变(A卷)第11页共11页4.以下程序的输出结果是 D __ o(A 卷)第4页共11页m ah 0 {char c=,a ,; printfC% c",c+25); }A ・AB ・aC ・a+25D ・z5. __________________________________________ 以下能正确定义,且赋初值的语句是__B __________________________________ A. htnl=n2=10; C ・ Float 匸fH ;D ・ double x=12.3E2.56. ________________________ 以下程序的输出结果是 Bm ah 0A. 〃AAAA 〃 B ・ Z/BBB Z , 7.设有定义:int a=3,b,^=&a;DA.b 二怨 aB.b=^〃指的是第二个元素C ・ 〃BBBCC 〃D ・ 〃CC 〃 则下列使 b 不为3的语句是 C .b =aD ・b 二*a8•若有说明语句:hta,b,c,*d=&c ;,则能正确从键盘读入三个 整数分别赋给变量a 、b 、c 的语句是 A oA ・ scanff% d% d% d 〃,&a,&b,d);B ・ scanff% d% d% d 〃,&a,&b,&d);C ・ scanfC% d% d% d",a,b,d);D ・ scanfC% d% d% d ,z,a,b,*d); 9.有定义语句:intx, y;若要通过scanff% d,% d 〃,&x,&y );语句使变量 x 得到数值11,变量y 得到数值12,下面四组输入形式中,错误的是{char ch[3][5>rAAAA 气卞 B B 〃,〃CC 0; printfCV% s\\i 〃,ch[ 1D;(A卷)第11页共11页___ C ______ OA. 11, 12< 回车 > B ・ 11 12< 回车 >C・11,〈回车>12〈回车〉D ・11,12〈回车>10・有以下程序的输出结果是_ D___char ch ;htk;ch=,a,;k=12;prhtfOG c,% d〃,ch,ch,k);prhtfCk=% d〃,k);A.因为变量类型与格式描述符的类型不匹配输出无定值B.输出项与格式描述符个数不符,输岀为零值或不定值C.a,97,12k=12D .a,97k= 1211・有以下程序,输出是__B __________#include <stdi).h>void m ah 0{hta=0,b=0,c=0,d=0;ifQ=l) b=l ;c=2;else d=3;prhtf( “% d, % d, % d, % d ” ,a,b,c,d);}A.0,1,2,0B.0,0,0,3C.l ,1,2,0 D・编译有错12.判断char型变量cl是否为小写字母的正确表达式为___ D ______(A卷)第6页共11页A.,a,< = cl< =,z,B. (cl〉二a)&& (cl〈z)C . ('a'〈 = cl)||('z‘> = cl)D . (cl>= (cl< =,z,)13.设有以下结构类型说明和变量定义,则变量a在内存所占字节数是___________sttuctstud{charnum [6];double ave ;} a;A・ 14B.18 C ・ 26D ・ 2214.下面表达式中______ C _____ 的值等于0。

(完整版)高级语言程序设计习题答案(免费)

(完整版)高级语言程序设计习题答案(免费)
6. sqrt(pow((x-10),2) + pow((y-20),2))< 35
7. a+b>c && b+c>a && c+a>b
8. (year%4 == 0) && (year%100!=0)||(year%400==0)
1.4
1.#include <ioห้องสมุดไป่ตู้tream.h>
void main()
23.已知i=0,j=1,k=2,则逻辑表达式++i||--j&&++k的值为(b)。
(a)0(b)1(c)2(d)3
24.执行下列语句后,x的值是( d ),y的值是( c )。
int x , y ;
x = y = 1;++ x || ++ y;
(a)不确定(b)0(c) 1(d) 2
25.设X为整型变量,能正确表达数学关系1< X < 5的C++逻辑表达式是( b, c, d )。
2. x * ( x * ( x * ( a * x + b ) + c ) + d ) + e
3. log( 1 + pow( fabs( ( a + b )/( a – b ) ),10)
4. sqrt(1 + 3.14159/2 * cos( 48 * 3.14159/180 ) )
5. 1/tan( ( 1 - x*x )/( 1 + x*x))
default:s+=2;
}
cout<<"s="<<s<<endl;

2007年韩山师范学院本科插班生《C语言程序设计》试卷

2007年韩山师范学院本科插班生《C语言程序设计》试卷

2007年韩山师范学院本科插班生考试试卷计算机科学与技术专业高级语言程序设计试卷(A卷)一.填空题(每空1分,共10分)1.定义一个宏EOF,使其与-1等价,定义为 ( )。

2. 在一个函数内部直接或间接调用该函数本身,称为函数的( ) 调用。

3. C语言变量按其作用域分为局部变量和( )。

4. 判断一个字符变量c是数字字符的表达式是( )。

5. 在C语言中,二维数组元素在内存中的存放顺序是( )。

6. 请把数学式a acb 242写成C语言的表达式( )。

7. 表达式12345= =12345/3*3的值为( )。

8. 以下定义的结构体类型拟包含两个成员,其中成员变量info用来存入整形数据;成员变量link是指向自身结构体的指针.请将定义补充完整。

struct node{int info;( ) link;}9. 在C语言的文件系统中,最重要的概念是“文件指针”,定义文件指针fp 的方法为( )。

10.在C程序中,根据数据的组织形式可以可分为文ASCII件和( )文件。

二.选择题(每小题2分,共32分)1. 若希望当A的值为奇数时,表达式的值为“真”,A的值为偶数时,表达式的值为“假”。

则以下不能满足要求的表达式是( )。

A. A%2==1B. !(A%2==0)C. !(A%2)D. A%22.若 a 为int型变量,且a=2,则表达式 a*=2+3 的结果为( )。

A. 24B. 10C. 7D. 83.设a,b为整型变量,以下合法的表达式为( )。

A. b=a/2B. b=*a+2C. b+a=2D. b=a%2.54.关闭文件使用的函数是( )。

A. fseekB. fopenC. rewindD. fclose5. 算法是指为解决某个特定问题而采取的正确且有限的步骤,下面不属于算法的5个特性的是( )。

A.有零个输入或多个输入 B.高效性 C.有穷性 D.确定性6. 下面是对数组s的初始化,其中不正确的是( )。

14114-韩师《C语言程序设计》答案

14114-韩师《C语言程序设计》答案

韩山师范学院本科插班生考试样卷计算机科学与技术专业高级语言程序设计样卷一、填空题(每空1分,共10分)1.C语言的数据类型中,构造类型包括:数组、和。

2.在C程序中,指针变量能够赋值或值。

3.C目标程序经后生成扩展名为exe的可执行程序文件。

4.设有定义语句 static char s[5」;则s[4]的值是。

5.设x为int型变量。

与逻辑表达式!x等价的关系表达式是。

6.若一全局变量只允许本程序文件中的函数使用,则该变量需要使用的存储类别是。

7.磁盘文件按文件读写方式分类可以为顺序存取文件和。

8.设有下列结构体变量xx的定义,则表达式sizeof(xx)的值是_________。

struct{ long num;char name[20];union{float y; short z;} yz;}xx;二、单项选择题(每小题1.5分,共30分)1.设有定义int x=8, y, z; 则执行y=z=x++, x=y=z; 语句后,变量x值是( C )A、0B、1C、8D、92.有以下程序main( ){ int i=1,j=1,k=2;if((j++‖k++)&&i++) printf("%d,%d,%d\n",i,j,k);} 执行后输出结果是( C )A、 1,1,2B、2,2,1C、 2,2,2D、2,2,33.已知i、j、k为int型变量,若从键盘输入:1,2,3<回车>,使i的值为1、j的值为2、k的值为3,以下选项中正确的输入语句是( C )A、scanf( “%2d%2d%2d”,&i,&j,&k);B、scanf( “%d %d %d”,&i,&j,&k);C、scanf( “%d,%d,%d”,&i,&j,&k);D、scanf( “i=%d,j=%d,k=%d”,&i,&j,&k);4.有以下程序main(){ int a=5,b=4,c=3,d=2;if(a>b>c) printf("%d\n",d); a>b为真,返回值1else if((c-1>=d)= =1) printf("%d\n",d+1);else printf("%d\n",d+2);} 执行后输出结果是 ( B )A、2B、3C、 4D、编译时有错,无结果5.以下程序段 ( C )x=1;do { x=x*x;} while (!x);A、是死循环B、循环执行二次C、循环执行一次D、有语法错误6.以下不能正确定义二维数组的选项是( C )A、int a[2][2]={{1},{2}};B、int a[][2]={1,2,3,4};C、int a[2][2]={{1},2,3};D、int a[2][]={{1,2},{3,4}};7.有以下程序main(){ int aa[4][4]={{1,2,3,4},{5,6,7,8},{3,9,10,2},{4,2,9,6}};int i,s=0;for(i=0;i<4;i++) s+=aa[i][1];printf(“%d\n”,s);}程序运行后的输出结果是 ( B )A、11B、19C、 13D、208.以下程序的输出结果是 ( B )main(){ char ch[3][5]={"AAAA","BBB","CC"};printf("\"%s\"\n",ch[1]);}A、"AAAA"B、"BBB"C、"BBBCC"D、"CC"9.有以下程序#define f(x) x*xmain( ){ int i;i=f(4+4)/f(2+2);printf(“%d\n”,i);} 执行后输出结果是( A )4+4*4+4/2+2*2+2A、28B、22C、16D、410.决定C语言中函数返回值类型的是( D )。

2015年韩山师范学院本科插班生考试《高级语言程序设计》课程试卷

2015年韩山师范学院本科插班生考试《高级语言程序设计》课程试卷

韩山师范学院2015年本科插班生考试试卷计算机科学与技术 专业 高级语言程序设计 试卷(A 卷)一、填空题(每空1分,共10分)1. C 程序的语句分隔符是_ 。

2. C 程序的上机步骤是编辑、_ 、_ 、执行。

3. _ 是C语言程序的基本单位。

4. 程序设计的三种基本结构是_、_ 、循环结构。

5. 程序运行过程中,其值不能被改变的量称为_ 。

6. ++,--运算符为单目运算,要求运算对象只能是_ 。

7. fclose 函数的功能是_ _ 。

8.设变量a 的二进制是1010 0111,则表达式(2+x )∧(~3)的值是 _ (二进制)。

二、选择(每题2分,共30分)1. 以下叙述中正确的选项是__________A .C 语言比其他语言高级B .C 语言可以不用编译就能被计算机执行C.C程序是由语句构成的D.C语言接近英语国家的自然语言和数学语言的表达式形式2. 求程序输出结果__________main(){ int i=0;switch(i){case 0:printf("%d",i++);case 2:printf("%d",i++);default:printf("%d",i++);}}A.1B.0C.123D.0123.在C语言中,函数的隐含存储类别是__________A.autoB.staticC.externD.无存储类别4. 以下合法的用户标识符是__________A.float B._3d C.3D D.a.txt5. 在C语言中,要求运算数必须是整型的运算符是__________A.% B./ C.* D.!6. x为偶数,下列表达式的值为真的是_________A.!(x/2*3-x)B.x%2==0C.!x%2!=0D.x%2!=07. 如下程序的执行结果是_________main(){int a=0,b=1;printf("%d %d ",++a,b++);}A.1 1B.1 2C.0 2D.0 18. 有以下程序,若输入5,则输出是_________main(){int x;scanf("%d",&x);if(x--<5) printf("%d",x);else printf("%d",x++);}A.3B.4C.5D.69.有以下程序:main(){int a=3,b=4,c=5,d=2;if(a<b)if(b<c)printf(“%d”,d+1);elseprintf(“%d”,d);}A.2B.3C.32D.没有输出10.如下程序段中,while循环执行的次数是__________int k=0;while(k=1) k++;A.无限次B.有语法错误,不能执行C.一次也不执行D.执行一次11. 若有说明:int a[5][2];则对数组元素的正确引用是__________A. a[5][2]B. a[1+1][0]C. a[0,3]D. a(2)(1)12.下面叙述错误的是__________A.不同的函数可以使用相同的变量名B.在一个函数内部可以在复合语句中定义变量C.形参是局部变量D.main函数中定义的变量在整个文件或程序中都有效13.下面定义不正确的是__________A.#define str abcdB.#define m =2*4C.#define PI 3.14D.#define PI 3.14;14.设有如下定义:struct sk{ int a;float b;}data;int *p;若要使p指向data中的a域,正确的赋值语句是__________A.p=&a;B.p=data.a;C.p=&data.a;D.*p=data.a15.若要使用fopen函数建立一个新的二进制文件,该文件既能读也能写,则文件方式字符串应是__________A. “ab+”B. “wb+”C. “rb+”D. “ab”三、阅读程序,将运行结果写到各题右侧的空白处(每小题4分,共20分)1.main(){ int i , sum=0;for(i=1;i<6;i++) sum+=i;printf("%d\n",sum);}2.main(){ char ch[3][5]={"AAAA","BBB","CC"};printf("\"%s\"\n",ch[1]);}3. main(){ int a[ ]={1,2,3,4,5,6,7,8,9,0,},*p;p=a;printf("%d\n",*p+9);}4.struct st{int x;}*p;struct st a[]={1,2,3,4};main(){p=a;printf(“%d,”,p->x);printf(“%d”,++p->x);}5. void f(int v,int w){ int t;t=v;v=w;w=t;}main(){int x=1,y=3,z=2;if(x>y) f(x,y);else if(y>z) f(y,z);else f(x,z);printf("%d,%d,%d",x,y,z);}四、阅读程序或程序段,填空(每小题4分,共20分)1.以下程序打印左下三角的九九乘法表,请填空。

2018年本科插班生考试试题《英语语法》A卷

2018年本科插班生考试试题《英语语法》A卷

韩山师范学院2018年本科插班生考试试卷英语专业英语语法试卷(A卷)题号一二三四五总分评卷人得分一、Choose the correct answer(每题1分,共40分)得分评卷人Direction: Complete the following sentences and thenblacken the corresponding letter on the ANSWER SHEET.1. This is one of the issues that deserve _____.A. being mentionedB. mentioningC. to mentionD. for mention2. The audience ______ excited on seeing _______ favorite star glide onto the stage.A. were…theirB. were…itsC. was…theirD. was…one’s3. Many a student ______ the importance of learning a foreign language.A. have realizedB. has realizedC . have been realized D. has been realized4. All of us would have enjoyed the party much more if there ___ quite such a crowd of people there.A. weren’tB. hasn’t beenC. hadn’t beenD. wouldn’t been5. ____ recommendation has so far been made by the technicians.A. Several suchB. No such aC. Such noD. No such6. He was not ___ to admit his mistakes in public.A. man enoughB. enough manC. a man enoughD. enough a man7. This action is ____ as I expected.A. enough of a successB. more of a successC. as much of a successD. as much success8. The students expected there ______more reviewing classes before the final exams.A. isB. beingC. have beenD. to be9. Air is to us ____water to fish.A. likeB. asC. whatD. that10. Revolution means ____the productive forces.A. to liberateB. liberatedC. liberateD. liberating11. I suppose you are not going today, ____?A. are youB. do youC. aren’t youD. don’t you12. ____illness, he retired.A. Thanks toB. According toC. Owing toD. For the sake of13. Many a time ____ them not to do so.A. we have warnedB. do we have warnedC. have we warnedD. warned we have14. He wasn't asked to take on the chairmanship of the society,____ insufficiently popular with all members.A. being consideredB. consideringC. to be consideredD. having considered15. Mr. Johnson is ____to our party.A. more than pleased to comeB. pleased more than to comeC. more pleased than to comeD. more pleasing than to come16. It is imperative that students ___ their term papers on time.A. hand inB. would hand inC. have to hand inD. handed in17. Which of the italicized parts functions as a subject?A. We never doubt that her brother is honest.B. The problem is not who will go but who will stay.C. It is clear that the crime was done deliberately.D. You must give it back to whoever it belongs to.18. Which of the following sentences is grammatically INCORRECT?A. Politics are the art or science of government.B. Ten miles seems like a long walk to me.C. Mumps is a kind of infectious disease.D. All the furniture has arrived undamaged.19. If you explained the situation to your lawyer, he ______ able to advise you much better than I can.A. will beB. wasC. would beD. were20.What’s the chance of __ a general election this year?A. there beingB. there to beC. there beD. there going to be21. “The lecturer was a tall thin man with white hair." "Then it _____ Dr. Field because he is short and fat. It ____ Dr. Jones ; he is thin."A can't be...must beB couldn't have been...might have beenC must be...can't beD can't have been...must have been22. On no account ____ever leave the baby at home alone.A should youB you shouldC shall youD you shall23. Tim ____since he lost his job three weeks ago.A. had been unemployedB. was unemployedC. has been unemployedD. has unemployed24 .I'm very much obliged to you __________ the information.A. onB. forC. withD. of25. In the preface __________ the book, the old scholar attaches great importance to practicalness.A. toB. forC. aboutD. of26. Even if his letter ______tomorrow, it ______too late to do anything.A. will arrive...isB. should arrive...wereC. arrives...will beD. arrives...would be27. If you have really been studying English for so long , it’s about time you ___ able to write letters in English.A. should beB. wereC. must beD. are28. There is no doubt ___ the company has made the right decision on the sales project.A. whyB. thatC. whetherD. when29.The trade unions in this industry are ______any reduction in wages.A. objecting againstB. opposed toC. reacted toD. resisting against30. In the sentence “It’s no use waiting for her.”The italicized phrase is ____A. the objectB. an adverbialC. a complementD. the subject31. After a long delay, She ___ replying to my e-mail.A. got away withB. got back atC. got byD. got round to32. Nancy was surprised that they have ______. They seemed to be a happy couple.A. split upB. broken downC. fallen throughD. knocked out33. There was a teapot fashioned like a china duck, out of _____open mouth thetea was supposed to come.A. whichB. itsC. thatD. whose34. Just as the soil is a part of the earth, ______ the atmosphere.A. as it isB. so isC. the same asD. and so is35. The experiment requires more money than ___.A. have been put inB. being put inC. has been put inD. to be put in36. Which of the following contains an adverbial clause of cause ?A. I got a job as soon as I left university.B. As there was no answer, I wrote again.C. You must do the exercises as I show you.D. wealthy as he is, Mike is not a happy man.37. The brilliance of his satire was ______ make even his victims laugh.A. so as toB. such as toC. so thatD. such that38. ____, he always tries his best to complete it on time.A. However the task is hardB. However hard the task isC. Though hard the task isD. Though hard is the task39. Fool ___ Jane is , she could not have done such a thing.A. whoB. asC. thatD. like40. Professor Johnson is said _____ some significant advance in his research in the past year.A. having madeB. makingC. to have madeD. to make二、Correct the errors in the following sentences.(每题1分,共20分)Directions: Identify the one that would not be acceptable in standard written English. Mark out the incorrect one and correct it. And then write down your answers on the ANSWER SHEET.1. Although all the world were against me, I should still hold to myA B Copinion.D2. Hardly had he reached the gangplank than he saw her.A B C D3. The scholars met once a year to exchange experiences.A B C D4. The Greek believed in the power of men to control his own destines.A B C D5.The athlete, together with his coach and several relatives, are traveling to the Olympic Games.A B C D6. The mother flatly rejected my suggestion that she met her daughter theA B C Dnext week.7. As tired I was , I continued my experiment.A B C D8. They need much more volunteers than we think.A B C D9.Not only does he like reading stories, but also can he even write some.A B C D10.Only if I get a job I will have enough money to get the camera.A B C Dw and order mean different things to people with different politicalA B Copinions.D12.There are a time to be silent and a time to speak, a time for study and a timeA B C Dfor resignation or action.13.He has much more problems than he used to.A B C D14.Mr. Blake has had few opportunity to travel.A B C D15.The customs officer examined all these luggage at the airport.A B C D16.There was nothing to do but to escape.A B C D17.Dick’s behavior is more courteous than Bob.A B C D18.Because the weather is so bad outside, why don’t you stay with us overnight?A B C D19.The situation in that country turned out to be so seriously that it seemsA B Cas if a war might break out at any time.D20.Since his blood pressure is much higher than it should be , his doctorA B Cinsists that he does not smoke.D三、Put the verbs in brackets in the correct form.(每空1分,共20分)1. I wish I __1__ a bird. ( be )2. Many a person in these circumstances __2___ hoped for a long break. ( have )3. He was in low spirits and considered ___3___ away. ( go )4.The peasant boy swore __4___ revenge on his father ’s murderer. ( take )5. If only we __5__ a phone! I ’m tired of queuing outside the public phone box. ( have )6. I resented ___6___ unjustly accused and asked him __7____ . ( be , apologize )7. If the train _8___ on time , it will be here in ten minutes. ( be )8. Give me time and I ___9___ a solution. ( find )9. If he __10___ that , he must be a fool. ( say )10. It is absolutely essential that all the facts ____11___ first. ( examine )11. Sheila is the __12__ (adopt) daughter of a well-known banker.12. I ’m sure he is keeping something back. I ’d rather he _13____ me the truth.( tell )13. The ___14____ package had no stamps on it. (return )14. Far _15____ it from me to call him a thief. ( be )15. Somebody __16___ to speak to me. ( wait )16. Suppose you __17___ where your next meal was coming from? ( not know )17. The match is __18___ . It ’s a __19___ match. ( light )18. He looks as though he never _20___ a square meal , but in fact his wife feedshim very well. ( get )四、Fill in the blanks with proper prep., adv., determiner, coordinator or subordinator.(每空1分,共10分)1. This medicine is on sale everywhere. You can get it at ____ chemist ’s.2. There were two Germans in his class. _____ major in economics.3. Don ’t ask me to explain ____ you really don ’t understand.4. His speech , ____ bored everyone , went on and on.5. The president got down from the plate and shook hands with _____ onewaiting at the airport..6. He was always attentive ____ my ideas.7. Jack feels homesick ____ his own country.8.It was _____ he was ill that he didn’t go with us.9.Neither has Pauline wanted to rent a house , _____ has her husband.10.You’re the only person ____ can help me.五、Rewrite the following sentences according to therequirements. (每题1分,共10分)( active voice—passive voice)1.They will have to adopt a different attitude.2.They use milk for making butter and cheese.(combine sentences using subordination.)3.He came out of the Conference Room. Reporters surrounded him.( combine sentences using a relative clause)4. She was dancing with a student. He had a slight limp.( direct sentence—indirect sentence)5. He said, “ It must be pretty late. I really must go.”6. “ Must I go to school tomorrow ?” Jack asked.( Turn the following sentences into existential there )7. A car was ready for us.8.My front door had a bolt but I never used it.( Emphasize the italicized part by using introductory “it” )9.John gave Mary a handbag at Christmas.10.The book took a long time to come out because it raised so many difficultquestions .。

2013韩山师范学院专升本插班生考试《C语言程序设计》课程试卷

2013韩山师范学院专升本插班生考试《C语言程序设计》课程试卷

韩山师范学院2013年专升本插班生考试试卷教育技术学 专业 C 语言程序设计 试卷 (A 卷)一、填空题(每空1分,共10分)1.结构化程序设计方法规定程序或程序段的结构有三种: 、选择结构和循环结构。

2.在内存中存储 "A" 要占用 个字节,存储 'A' 要占用 字节。

3.有语句:char A[]={"I am a student"};该字符串的长度是 ,A[3]= 。

4.能表述 "20<x<30" 的C 语言表达式是 。

5.C 语言的预处理语句以_____ _____开头。

6.数组名代表数组的 。

7.C 语言中字符串的结束符是 。

8.定义fp 为文件型指针变量的定义方法为__ _______。

二、单项选择题(每题1.5分,共30分)1、下面标识符中,不合法的用户标识符为________。

A.hot_do B.cat1 C._pri D.2ab2、下列叙述中正确的是________。

A.每个C源文件中都必须有一个main()函数B.在C程序中main()函数的位置是固定的C.一个C程序只能由一个源文件组成D.在C程序的函数中不能定义另一个函数3.以下变量x.、y、z均为double类型且已正确赋值,不能正确表示数学式子x/yz的C语言表达式是________。

A.x/y*z B.x*(1/(y*z)) C.x/y*1/z D.x/y/z 4.printf函数中用到格式符%5s,其中数字5表示输出的字符串占用5列,如果字符串长度大于5,则输出按________方式。

A.从左起输出该字符串,右补空格B.按原字符长从左向右全部输出C.右对齐输出该字串,左补空格D.输出错误信息5、以下程序段的输出结果是________。

char str[15]=”hello!”;printf(“%d\n”,strlen(str));A.15 B.14 C.7 D.66.巳知字母A的ASCII码是65,以下程序的执行结果是________。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

(A 卷)第 1 页共11 页韩山师范学院 2018 年本科插班生考试试卷计算机科学与技术专业高级语言程序设计试卷(A卷)题号一二三四五总分评卷人得分得分评卷人一、填空题(每空 2 分,共 10 分)1.C程序源文件的后缀名是.C。

2 .设变量 a 的值是1, 则表达式( 2+a)∧ ( ~ 3) 的值是 ______。

3. fgetc函数的作用是从指定文件读入一个字符。

4. C 语言程序至少必须包含一个main函数。

5.若有定义:int a[3][5];则数组a中共有__15__个元素。

得分评卷人二、单项选择题(每题 2 分,共 30 分)题号12345678910答案题号1112131415答案1.C语言程序编译时,程序中的注释部分___B_______。

A.不参加编译,但会出现在目标程序中B.不参加编译,也不会出现在目标程序中C.参加编译,但不会出现在目标程序中D.参加编译,并会出现在目标程序中2.以下程序执行后 sum的值是 ___A_______。

A.15B.不确定C.14D.0main(){ int i , sum=0;for(i=1;i<6;i++) sum+=i;printf("%d\n",sum);}3.下列程序段的输出结果是__A________。

A.2 1 4 3B.1 2 1 2C.1 2 3 4D.2 1 1 2 void fun(int *x, int *y){ printf("%d %d ", *x, *y); *x=3; *y=4;}main(){ int x=1,y=2;fun(&y,&x);printf("%d %d",x, y);}//解析:本题中函数传递的是变量的地址,如果形参在函数中发生改变,相对应的实参也就有了改变4.以下程序的输出结果是____D______。

main(){ char c='a';printf("%c",c+25);}A.A B.a C.a+25D.z5.以下能正确定义,且赋初值的语句是 ___B______A. int n1=n2=10;B. char c=32;C. Float f=f+1;D. double x=12.3E2.56.以下程序的输出结果是 ____B______main(){ char ch[3][5]={"AAAA","BBB","CC"};printf("\"%s\"\n",ch[1]);// 指的是第二个元素}A."AAAA"B."BBB"C."BBBCC" D . "CC"7.设有定义:int a=3,b,*p=&a;则下列使 b 不为 3 的语句是___D______A.b=*&aB.b=*pC.b=aD.b=*a8.若有说明语句:int a,b,c,*d=&c;,则能正确从键盘读入三个整数分别赋给变量a、 b、 c 的语句是 ___A_______。

A.scanf("%d%d%d",&a,&b,d); B .scanf("%d%d%d",&a,&b,&d); C.scanf("%d%d%d",a,b,d);D.scanf("%d%d%d",a,b,*d); 9. 有定义语句: int x, y; 若要通过 scanf("%d,%d",&x,&y); 语句使变量x 得到数值 11,变量 y 得到数值 12,下面四组输入形式中,错误的是____C______。

A.11, 12< 回车 >B.11 12<回车>C.11,< 回车 >12<回车 >D.11,12<回车>10.有以下程序的输出结果是_D____char ch;int k;ch='a';k=12;printf("%c,%d",ch,ch,k);printf("k=%d",k);A.因为变量类型与格式描述符的类型不匹配输出无定值B. 输出项与格式描述符个数不符,输出为零值或不定值C.a,97,12k=12D.a,97k=1211.有以下程序,输出是 ___B_______#include <stdio.h>void main(){int a=0,b=0,c=0,d=0;if(a=1) b=1;c=2;else d=3;printf(“%d, %d, %d, %d ”,a,b,c,d);}A. 0,1,2,0B. 0,0,0,3C. 1,1,2,0D.编译有错12.判断 char 型变量 c1 是否为小写字母的正确表达式为____D______A. 'a'<=c1<='z'B. (c1>=a)&&(c1<z)C.( 'a'<=c1)||( 'z'>=c1)D.(c1>= 'a')&&(c1<='z')13. 设有以下结构类型说明和变量定义,则变量 a 在内存所占字节数是__________struct stud{ char num[6];double ave;} a;A.14B. 18 C .26D .2214. 下面表达式中 _____C_____的值等于 0。

( 设:int a=1;b='0';)A.!a==!bB.!a||bC.!(a==b)D.a&&!b15.在位运算中,操作数每左移一位 , 其结果相当于 ___C_______。

A、操作数除以 2B、操作数乘以16C、操作数乘以 2D、操作数除以16//左移乘二,右移除以 2得分评卷人三、阅读程序,将运行结果写到各题右侧的空白处(每题 4 分,共 20 分)1.main(){ int i=0,s=0;do{if(i%2){i++;continue;}i++;s+=i;}while(i<7);printf("%d\n",s);}答: 16//这个程序就是当i%2 为 1 时执行 if 里面的语句 i++ ,然后 continue 跳出这个循环继续执行下次当i%2 为 0 时 i++ ,执行 s+=i ,一直到 i 不满足小于 7 (程序也就是累加 1+3+5+7 )最后输出应该是 162.#define f(x)x*x main( ){ int i;i=f(3+1)/f(2+2);printf("%d\n",i);}3.main(){ char string1[64] = "abc";char *string2 = "def";char string3[] = "123";strcat(string1, string2);strcat(string1, string3);printf("%d\n", strlen(string1));}4.main(){ int a[ ]={1,2,3,4,5,6,7,8,9,0,},*p;p=a;printf("%d\n",*p+9);}5.void f(int v,int w){ int t;t=v;v=w;w=t;}main(){int x=1,y=3,z=2;if(x>y) f(x,y);else if(y>z) f(y,z);else f(x,z);printf("%d,%d,%d",x,y,z);}得分评卷人四、阅读程序或程序段,填空(每题4 分,共20分)1.以下程序完成对一维数组 Array 进行冒泡排序(从大到小),请填空。

main( ){int array[11]; intj, k, temp;for(j=1;j<11;j++)scanf( “%d” ,&array[j]);for(j = 1; j < 10; j++)for(k = 1;①;k++)if(②){temp = array[k];array[k]=array[k+1];array[k+1]=temp;}}2.将一个 4×3 的二维数组 a 行和列互换,存到另一个3× 4 的二维数组 b 中,并将两个数组的数据输出,请填空。

main(){ int a[4][3]={{1,2,3},{4,5,6},{7,8,9},{10,11,12}};int b[3][4],i,j;printf("\narray a:\n\n");for(i=0;①;i++){ for(j=0;j<3;j++){ printf("%5d",a[i][j]);②}printf("\n");}printf("\narray b:\n\n");for(i=0;i<3;i++){ for(j=0;j<4;j++)printf("%5d",b[i][j]);printf("\n");}}3.编写一个程序将用户输入的由数字字符和非数字字符组成的字符串中的数字提取出来,请填空。

main(){char str[20],*p;p=str;gets(str);for(;①;p++){ if(②)printf("%c",*p);}}4.以下程序的功能是:在N 行 M列的二维数组中,找出最小值,以及最小值所在的行下标,请填空。

#define N 3#define M 3main(){ int a[N][M] ={21,11,23,6,1,15,9,17,20};int i,j,row=0,min=a[0][0];for(i=0;i<N;i++)for(j=0;j<M;j++)if(a[i][j]<min){ ①②}printf("min=%d,line=%d\n",min,row);}5.以下程序的功能是:输出a,b,c三个变量中的最大值,请填空。

相关文档
最新文档