北京语言《英语基础写作》第四次作业

北京语言《英语基础写作》第四次作业

《英语基础写作》第四次作业

一、简答/计算题

你的网友写信给你,问你是怎样学好英语的。请用英文给他写封回信,信中给出你对学好英语的建议:

1.坚持学习英语,一天也不能放弃。

2.经常复习巩固所学内容。

3.除了背好单词、学好语法外,还要多读书。

4.每天听半个小时英语以锻炼你的听力。

5.要多说英语,只有多使用你所学过的语言才能过掌握它。

6.强迫自己读英文报纸和书籍,经过一段时间你就感到容易了。

第六次作业

习题九 一、选择题 9-1.C语言程序由函数组成。它的。 A.主函数必须在其它函数之前,函数内可以嵌套定义函数 B.主函数可以在其它函数之后,函数内不可以嵌套定义函数 C.主函数必须在其它函数之前,函数内不可以嵌套定义函数 D.主函数必须在其它函数之后,函数内可以嵌套定义函数 9-2.一个C语言程序的基本组成单位是。 A.主程序B.子程序C.函数D.过程 9-3.以下说法中正确的是。 A.C语言程序总是从第一个定义的函数开始执行 B.在C语言程序中,要调用的函数必须在main( )函数中定义 C.C语言程序总是从main( )函数开始执行 D.C语言程序中的main( )函数必须放在程序的开始部分 9-4.已知函数abc的定义为: void abc ( ) { ....... } ?则函数定义中void的含义是。 A.执行函数abc后,函数没有返回值B.执行函数abc后,函数不再返回??C.执行函数abc后,可以返回任意类型D.以上三个答案全是错误的 9-5.在以下对C语言的描述中,正确的是。 A.在C语言中调用函数时,只能将实参的值传递给形参,形参的值不能传递给实参B.C语言函数既可以嵌套定义又可以递归调用 C.函数必须有返回值,否则不能使用函数 D.C语言程序中有调用关系的所有函数都必须放在同一源程序文件中 9-6.以下叙述中错误的是。 A.在C语言中,函数中的自动变量可以赋初值,每调用一次赋一次初值 B.在C语言中,在调用函数时,实参和对应形参在类型上只需赋值兼容 C.在C语言中,外部变量的隐含类别是自动存储类别 D.在C语言中,函数形参的存储类型是自动(auto)类型的变量 9-7.说明语句"static int i=10;"中"i=10"的含义是。 A.只说明了一个静态变量B.与"auto i=10;"在功能上等价 C.将变量i初始化为10 D.将变量i赋值为10 9-8.C语言中的函数。

北语《大学英语(一)》作业2答案

北语《大学英语(一)》作业2答案 1 Don’t believe him. What he said ______ be true. A mustn’t B needn’t C shouldn’t D may not 答案:D 2 She just can’t ___ to see children being treated so badly. A forbive B expect C endure D permit 答案:C 3 You _____ before the football match began. A ought to get everything ready B ought to get ready everything C have ought to get everything ready D ought to have got everything ready 答案:D 4 We all hope he can be_____to this new job. A enough B adequate C ample D sufficient 答案:B 5 I was always taught that it was ___ to interrupt. A rude B coarse C rough D crude 答案:A 6 Last year_________ of new books were published on environmental protection. A the hundred B hundreds C a hundred D one hundred 答案:B 7 He was ___ to stay in the small town that he never thought of going to somewhere else.

北语《大学英语(一)》作业1答案

北语《大学英语(一)》作业1答案 1 The old gentleman never fails to help_____ is in need of his help. A whom B who C whoever D whomever 答案:C 2 Your horse is going too fast, you must _____ it _____. A give…in B hold…in C hand…in D hold…onto 答案:B 3 In order to prevent stress from being set up in the metal, expansion joints are fitted which _____the stress by allowing the pipe to expand or contract freely. A reclaim B reconcile C rectify D relieve 答案:D 4 It is the third time that I ___ Shanghai. A visited B visit C am visiting D have visited 答案:D 5 It is more difficult for the Smiths to _____ money now because of the high rate of inflation(通货膨 胀). A set down B set about C set up D set aside 答案:D 6 A pair of cotton trousers ___ I now need badly. A is what B are what

第六次c语言作业

第六次课作业 下次课默写交换排序、选择排序和冒泡排序。 习题6-1 题码:章节:数组考查点:一维数组的定义、引用及格式输出难度:2 编写一程序p717.C实现以下功能 输入10个整型数存入一维数组,输出值和下标都为奇数(数组第1个元素的下标为0)的元素及其个数。编程可用素材:printf("Input 10 integers.\n")...、printf("count=...\n"...、 printf("a[...]=...\n"...。 程序的运行效果应类似地如图1所示,图1中的2 45 34 56 78 12 41 55 86 37是从键盘输入的内容。 图1 程序运行效果示例 习题6-2 题码:章节:数组考查点:一维数组定义、输入和输出的掌握,对递推算法的掌握难度:2 编写一程序p725.C实现以下功能 利用数组,求斐波拉契数列的前n(n的范围为:3~20)项,并输出到屏幕上(数和数之间用字符'\t'隔开),斐波拉契公式:f(1)=1,f(2)=1,f(n)=f(n-1)+f(n-2) (n≥3)。编程可用素材:printf("input a data(3--20): ")...。 程序的运行效果应类似地如图1所示,图1中的11是从键盘输入的内容。 图1 程序运行效果示例 习题6-3 题码:章节:数组考查点:一维数组的应用难度:2 编写一程序p718.C实现以下功能 有一递推数列,满足f(0)=0,f(1)=1,f(2)=2, f(n+1)=2f(n)+f(n-1)f(n-2) (n>=2), 编写程序求f(n)的值(n由键盘输入,13>=n>=2)。编程可用素材:printf(“Input n (13>=n>=2): ”)...、printf(“\nf(...)=...\n”...。 程序的运行效果应类似地如图1所示,图1中的10是从键盘输入的内容。 图1 程序运行效果示例 习题6-4 题码:章节:数组考查点:键盘输入技巧的掌握和二维数组的应用,判断条件的设定难度:2 编写一程序p217.C实现以下功能 求任意的一个m×m矩阵的对角线上元素之和,m(2<=m<=20)及矩阵元素从键盘输入(只考虑int型,且不需考虑求和的结果可能超出int型能表示的范围)。编程可用素材:printf("Please input m: ")...、 printf("\nPlease input array:\n")...、printf("\nsum=...\n"...。 程序的运行效果应类似地如图1所示,图1中的5和 1 45 67 235 464 35 6 89 32342 8 347 9346 47 95 746 46 785 436 19434 634 3235 567 24 8465 25 是从键盘输入的内容。

北语19春《大学英语》(三)练习4

精心整理 (单选题)1:It'sbad________foryoutosmokeinthepublicplaceswheresmokingisnotallowed. A:behavior B:action C:manner D:movement 标准答题: (单选题)2:Inatyphoon,winds___aspeedgreaterthan120kmsperhour. A:assume B:accomplish (选题ely. (选题(单选题B:says (单选题A:therebe B:therewouldbe C:therewas D:therebeing 标准答题: (单选题)7:Hitlerstrengthen___hisresolvenottoallowhimselforhisbridetobemadeaspectacle. A:in B:up C:upon D:firm

标准答题: (单选题)8:Thedoctorhadalmostlosthopeatonepoint,butthepatientfinally___. A:pulledout B:pulledthrough C:pulledup D:pulledover 标准答题: (单选题)9:He___overastump,nearlyfallingontotheground. A:passed B:stumbled C:bumped (选题 (单选题 (单选题 A:said B:told (单选题 D:effort 标准答题: (单选题)14:Thedoctorsdon’t___thathewilllivemuchlonger. A:articulate B:manifest C:anticipate D:monitor 标准答题: (单选题)15:Itisnotthatwearemoreeager,___wehaveinventedallsortsofsocialdevicestohastenthepr ocess.

北语19秋《大学英语》(三)练习1答案

19秋《大学英语》(三)练习1 试卷总分:100 得分:100 一、单选题(共20 道试题,共100 分) 1.He has been in office for 3 years ___. A.up to the day B.to the same day C.to the day D.in the day 答案:C 2.The doctor had almost lost hope at one point, but the patient finally ___. A.pulled out B.pulled through C.pulled up D.pulled over 答案:B 3.It’s difficult to ___ her from her sister. A.spoke to B.said to C.distinguish D.differ 答案:C 4.Without poorer lessons, you could ___ a lot of bad habits when playing the piano. A.keep up B.catch up C.pick up D.draw up 答案:C 5.Had you come five minutes earlier, you ________ the train to Birmingham. But now you missed it. A.would catch B.would have caught C.could catch D.should catch 答案:B 6.Eggs, though rich in nourishments, have ________ of fat. A.the large number B.the large amount C.a large number D.a large amount

c语言第六次作业

第五题 #include int main () { int a[10][10],i,j,n; printf("Input n:"); scanf("%d",&n); printf("* "); for(j=1;j<=n;j++) { a[0][j]=j; printf("%d ",a[0][j]); } printf("\n"); for(i=1;i<=n;i++) { a[i][0]=i; printf("%d ",a[i][0]); for(j=1;j<=i;j++) { a[i][j]=a[i][0]*a[0][j]; printf("%d ",a[i][j]); } printf("\n"); } return 0; } 第二题 #include int main(void) { int a[12]={31,0,31,30,31,30,31,31,30,31,30,31};

int year,month,day,sum=0,i; printf("Input year,month,day:"); scanf("%d%d%d",&year,&month,&day); if(year%4==0&&year%100!=0||year%400==0) a[1]=29; else a[1]=28; for(i=0;i int main () { int n,i,j,a[6][6],index1,index2,index3,max; printf("Input n:"); scanf("%d",&n); printf("Input arry:"); for(i=0;i=max)

北语_大学英语(二)模拟试卷和答案

《大学英语(二)》模拟试卷一 注意: 1.试卷,考生不得将试卷带出考场或撕页,否则成绩作废。请监考老师负责监督。 2.请各位考生注意考试纪律,考试作弊全部成绩以零计算。 3.本试卷满分100分,答题时间为90分钟。 4.本试卷分为试题卷和答题卷,所有答案必须答在答题卷上,答在试题卷上不给分。 I. Multiple Choice. (2 points for each, altogether 40 points) Directions: There are 20 sentences in this section. Beneath each sentence there are four choices respectively marked by letters A, B, C and D. Choose the word that you think best complete the sentence. Write your answers on the answer sheet. 1. Studies have shown _______ teenagers often suffer from depression. 2. The party has failed to _______ the majority of voters that it is capable of governing the country. 3. Many of us visited the industrial exhibition, __________, to our disappointment, we saw very few high-tech products. 4. The kids are _______ be hungry when they get home. 5. All the characteristics that distinguish birds _______ other animals can be traced to prehistoric times. 6. Management often works hard to set up a situation work is done in series. 7. If we _______ everything ready by now, we should be having a terrible time tomorrow. 8. In his composition there were no other errors _______ a few misspelled words. 9. In deciding _______ a course of action ,the candidates tried to estimate its likely impact on the voters. 10. Since we have a focused subject, we should not talk _______. 11. Border _____ between the two countries are on the rise. [A] accident [B] incidents [C] events [D] occurrences 12. It is the duty of physicians to _____ the sick. [A] that [B] which [C] in which [D] in that [A] trust [B] credit [C] convince [D] believe [A] where [B] which [C] as [D] that [A] obliged to [B] bound to [C] desired to [D] motivated to [A] to [B] between [C] for [D] from [A] that [B] where [C] which [D] what [A] hadn’t got [B] didn’t get [C] wouldn’t have got [D] wouldn’t get [A] beside [B] except [C] then [D] than [A] what to pursue [B] which to pursue [C] whether to pursue [D] if to pursue [A] at once [B] at hand [C] at intervals [D] at random [A] nurse [B] tend [C] mind [D] minister

c语言第六次作业解析

第六次作业:指针 (以下题目如无特殊声明,请使用指针技术实现,尽量不要使用数组作为形参,也尽量避免使用数组下标引用数组元素) 1.数组元素循环移位 有n个整数,使前面的各整数顺序向后移动m个位置,后面的m个整数则变成最前面的m个数。写一函数实现以上功能。 在主函数中输入n及n个整数,输入m (m void main() { void inv(int *p,int n,int m); int n,m,a[20],*p; printf("please input n="); scanf("%d",&n); printf("please input %d numbers:",n); p=a; while(p

2. 矩阵元素的排序 将一个5×5的整数型矩阵中各元素重新排序。排序规则为,矩阵元素按照从左到右,从上到下的顺序依次递增,即 4,41,10,14,03,02,01,00,0.......a a a a a a a a ≤≤≤≤≤≤≤。 要求编写一个函数实现上述排序功能。 在主函数中输入该矩阵,调用编写的上述函数,然后输出排序后的矩阵。 #include void main() { void inv(int (*x)[5]); int i,j,a[5][5]; int (*p)[5]; printf("please input an 5*5 array:\n"); p=a; for(i=0;i<5;i++) for(j=0;j<5;j++) scanf("%d",*(p+i)+j); inv(p); printf("the new array:\n"); for(i=0;i<5;i++) { for(j=0;j<5;j++) printf("%4d",*(*(p+i)+j)); putchar('\n'); }

北语20春《大学英语(一)》作业2.doc

1.Don’t believe him. What he said ______ be true. A.mustn’t B.needn’t C.shouldn’t D.may not 【参考答案】: D 2.She just can’t ___ to see children being treated so badly. A.forbive B.expect C.endure D.permit 【参考答案】: C 3.You _____ before the football match began. A.ought to get everything ready B.ought to get ready everything C.have ought to get everything ready D.ought to have got everything ready 【参考答案】: D 4.We all hope he can be_____to this new job. A.enough B.adequate C.ample D.sufficient 【参考答案】: B 5.I was always taught that it was ___ to interrupt. A.rude B.coarse C.rough D.crude 【参考答案】: A https://www.360docs.net/doc/892818486.html,st year_________ of new books were published on environmental protection. A.the hundred B.hundreds C.a hundred D.one hundred 【参考答案】: B

北航大一上c语言第四五六七八次作业

3. 字母频率统计 【问题描述】 编写程序从标准输入中读入一段英文,统计其中小写字母出现次数,并以柱状图的形式显示其出现次数。 【输入形式】 在标准输入上输入一段英文文章(可能有一行,也可能有多行),在新的一行的开头输入ctrl+z键表示结束。 【输出形式】 在屏幕上依次输出表示每个小写字母出现次数的柱状图(以“*”字符表示柱状图,空白处用空格字符表示,某个小写字母出现多少次,就显示多少“*”字符;柱状图的高度以出现最多的字母次数为准),在最后一行依次输出26个小写字母。 【样例输入】 The computing world has undergone a revolution since the publication of The C Programming Language in 1978. 【样例输出】 【样例说明】 在输入的英文短文中,小写字母a出现了6次,所以其上输出了6个字符"*"。出现次数最多的是字母n,所以柱状图的高度为9个字符。字母j没有出现,所以其上都为空格字符。 【评分标准】 该题要求输出柱状图表示的字母出现次数,共有5个测试点。上传C语言文件名为bar.c。

【输入形式】从标准输入读取顶点坐标。格式为:第一行是点的个数N(3≤N≤15),后面紧接着N 行,每行两个数字(由空格隔开),分别表示该点的X、Y坐标(0≤X,Y≤32767)。所有点的坐标互不相同,且按顺时针次序给出。 输入数据确保该多边形是一个凸多边形。 【输出形式】向标准输出打印一个浮点数,是该多边形的面积。该浮点数保留两位小数。 【输入样例】 4 3 3 30 10 1 2 【输出样例】 5.00 【样例说明】输入数据表示了如图所示的四边形。其面积为5.00。 提示:求三角形面积可用海伦公式,求平方根可用头文件中定义的sqrt函数。 【评分标准】结果完全正确得20分,每个测试点4分。提交程序名为:points.c。

北语 18春《大学英语(一)》

18春《大学英语(一)》作业_1 一、单选题( 每题4分, 共25道小题, 总分值100分) 1.We all hope he can be_____to this new job. A. enough B. adequate C. ample D. sufficient 答案:B 答案可以联系屏幕左上的“文档贡献者”。 2.The panic attacks may ____ for only a few minutes;some, however, continue for several hours. A. happen B. begin C. last D. end 答案:C 3.The first textbooks ______ for teaching English as a foreign language came out in the 16th century. A. to be written B. Written C. being written D. having written 答案:B 4.We ___ so far ten passages. A. cover B. covered C. are covering D. have covered 答案:D 5.She plays the piano very well, ______. A. so every one of us does B. every one of us does C. so does every one of us D. so do every one of us 答案:C 6.It is not that I do not like plays. The reason why I did not go to the theater last night was that I could not_________the time. A. offer B. leave C. afford

北语20秋《大学英语(一)》作业1【标准答案】

(单选题)1: My _____ brother is three years older than I. A: elder B: younger C: elderly D: oldest 正确答案: A (单选题)2: John writes beautiful handwriting _____ his age. A: thinking B: considering C: in D: regarding of 正确答案: B (单选题)3: We could do _____ wait for the instructor to arrive. A: nothing only B: nothing merely C: nothing but D: nothing just 正确答案: C (单选题)4: Mr. Smith had an unusual ___: he was first an office clerk, then a sailor, and ended up as a school teacher. A: profession B: occupation C: position D: career 正确答案: D (单选题)5: I don’t think Jack will come today, _____. A: nor will Mary B: and Mary doesn’t C: Mary will either D: or Mary does 正确答案: A (单选题)6: Playing violin is my favourite_____. A: relaxment B: relaxation C: entertation D: entertainmen 正确答案: B (单选题)7: If he_____of all the dangers, he should change his mind.

北语201303批次大学英语(二)模拟试卷汇总

《大学英语(二)》模拟试卷一 I.Multiple Choice. (1 point for each, altogether 20 points) 1. Studies have shown ____[A] that __ teenagers often suffer from depression. 2. The party has failed to ____[C] convince ___ the majority of voters that it is capable of governing the country. 3. Many of us visited the industrial exhibition, ____[A] where ___, to our disappointment, we saw very few high-tech products. 4. The kids are ____[B] bound to ___ be hungry when they get home. 5. All the characteristics that distinguish birds ___[D] from ____ other animals can be traced to prehistoric times. 6. Management often works hard to set up a situation [B] where work is done in series. 7. If we __[B] didn’t get _____ everything ready by now, we should be having a terrible time tomorrow. 8. In his composition there were no other errors ____[D] than ___ a few misspelled words. 9. In deciding ___[C] whether to pursue ____ a course of action,the candidates tried to estimate its likely impact on the voters. 10.Since we have a focused subject, we should not talk __[D] at random _____. 11. Border __[C] events ___ between the two countries are on the rise. 12. It is the duty of physicians to __[B] tend ___ the sick. 13. The average temperature is__[B] on the decrease ___. 14. __[C] In no case ___, I cannot make an exception. 15. The roots of all these events __[C] lie in ___history. 16. A large part of human activity, particularly in relation to the environment, is _[A] in response to __ conditions or events. 17. As you have seen, the value of nation's currency is a _[C] reflection __ of its economy. 18. I felt somewhat disappointed and was about to leave, _[C] when __ something occurred attracted my attention. 19. She shows great __[B] aptitude ___for learning languages. 20. __[D] Abnormal ___human behavior may be caused by eating substance as that upset the delicate chemical in the brain. II.Cloze (1 point for each, altogether 10 points) "Yes, but what did we use to do before ther (电视机) . We rush home and gulp down(狼吞虎咽地吞下) 21.__[D] with _ 22._[A] without _ 23._[B] spare_ 24.[[C] out _ 25.[A] belongs _ 26.__[D] time ___27._[B] program __28._[A] at ___ 29._[D] providing _30._[D] during _ III.Reading Comprehension. (2 point for each, altogether 30 points) Passage 1 Billy is 14 years old and in the ninth grade. 门廊小费 31. Keeping a part-time job tells us that Billy ___[D] is independent and self-confident ___. 32. He did his work ___[A] perfectly well ___. 33. To deliver newspapers means ___[B] to send newspapers ___. 34. One of the purposes of delivering newspapers is ____[A] to get some money for college education _. 35. The prize for an outstanding newspaper boy is __[D] A or B ____. Passage 2 Friends or contemporaries(同龄人)are a 36. The passage mainly talks about ___[B] peer pressure __. 37. In the third sentence of the second paragraph,"them" refers to ___[C] acceptance and friendship __. 38. "being your own person” in the last sentence most probably means __[A] acting according to your own beliefs and values _. 39. The second paragraph focuses on ___[D] why young people are easily influenced by their peers __. 40. Who can influence us on the actions, thoughts? ___[D] Friends and contemporaries __. Passage 3 Background music may seem harmless,音乐广播网 41. The reason why background music is so popular is that ___[C] it can help to create a soothing atmosphere __. 42. Background music means __[D] the music you are listening to while you are doing something ___. 43. Restaurant owners complain about background music because ___[D] it decreases their sales ___. 44. The word "up-tempo music"(para. 3 the last line but two) probably means ___[C] fast music ___. 45. According to this passage, we learned that ___[D] background music can have a powerful effect on some people.___ V. Translation. (3 points for each, altogether 30 points) 56. 战争已经威胁了这些人们几十年,他们似乎已学会接受这一现实了。(seem to, live with) D The war has threatened the people for decades, they seem to have accepted this reality. 57.那位指挥官太友善了,以至于在很多场合下我都几乎想对他直呼其名了。(be tempted to) A The commander too friendly, so that in many occasions, I almost want to call him by name. 58.我在报纸上登广告卖我的汽车,但到目前为止尚无回音。(have no response) B I put an advertisement in the paper to sell my car, but so far there is no echo. 59.我在回答考试时的问题时非常紧张,以至于我的心里七上八下的。(feel butterflies in one’s stomach) C I was very nervous at the examination questions answer, that I was an unsettled state of mind. 60.除一人外,其他学生都已经做完试卷离场了。(all but)

北语《大学英语(二)》作业3答案

北语《大学英语(二)》作业3答案 1 Many Westerners ___ Christianity. A respect B admire C believe D believe in 答案:D 2 It’s the kind of story we ___ as myth. A think of B think of it C think it of D think 答案:A 3 Tom ___ to review his lessons before exams. A went out his way B went out of his way C went of his way D went out of a way 答案:B 4 Jack’s mother has to (A) call him at least half a dozen (B)times until(C) he comes down(D) to his d inner.(选择有错误的一项) A has to B half a dozen C until D comes down 答案:C 5 She ___ the child for being late to school. A scolded B blamed C accused D criticized 答案:A 6 Circus tiger, although they have been tamed, can ___ attack their trainer. A unexpectedly B deliberately C reluctantly D subsequently 答案:A

C语言第7次作业

单选题: 1、若要求在if后一对圆括号中表示a不等于0的关系,则能正确表示这一关系的表达式为________。 A.a < > 0 B.!a C.a=0 D.a!=0 学生答案: C 参考答案: D 2、若变量都已经说明,则以下程序段输出为( ) a=10;b=50;c=30; if (a > b) a=b; b=c;c=a; printf("a=%db=%dc=%d\n",a,b,c); A.a=10 b=50 c=10 B.a=10 b=30 c=10 C.a=50 b=30 c=10 D.a=50 b=30 c=50 学生答案: C 参考答案: B 3、以下程序的输出结果是 main() { int a= -1,b=1; if((++a < 0)&& ! (b-- < =0)) printf("%d %d\n",a,b); else printf("%d %d\n",b,a); } A.-1 1 B.0 1 C.1 0 D.0 0 学生答案: B 参考答案: C 4、若执行下面的程序从键盘输入3和4,则输出是_______ main() { int a,b,s; scanf("%d%d",&a,&b); s=a; if (a < b) s=b; s=s*s; printf("%d\n",s); } A.14

B.16 C.18 D.20 学生答案: C 参考答案: B 5、下面的程序是______ main() { int x=3,y=0,z=0; if (x==y+z) printf("****"); else printf("####"); } A.有语法错误不能过通过编译 B.输出**** C.可能通过编译,但是不能通过连接,因而不能运行 D.输出#### 学生答案: C 参考答案: D 6、请读程序: main() { float x,y; scanf("%f",&x); if(x < 0.0) y=0.0 else if((x < 5.0)&&(x!=2.0)) y=1.0/(x+2.0); else if( x < 10.0) y=1.0/x; else y=10.0; printf("%f\n",y); } 若运行时从键盘上输入2.0(表示回车),则上面程序的输出结果是 A.0.000000 B.0.250000 C.0.500000 D.1.000000 学生答案: B 参考答案: C 7、执行下面语句后的输出为( ) int i= -1; if (i < =0)printf("****\n") else printf("%%%%\n") A.**** B.%%%% C.%%%%C D.有语法错,不能执行 学生答案: B

相关文档
最新文档