最新11级C++综合习题(含答案)

合集下载

C++语言程序设计试卷(11级网络、11级安全C卷含答案)

C++语言程序设计试卷(11级网络、11级安全C卷含答案)

C++语言程序设计试卷(11级网络、11级安全C卷含答案)-CAL-FENGHAI.-(YICAI)-Company One1江西理工大学考试试卷班级学号姓名一、单项选择题(每题2分、共40分)1. 下面对C语言优点的描述中,错误的是():A. 程序简洁B. 数据类型丰富C. 运算符较少D. 运行效率高2. 以下不正确的是()。

A. 语句for(i=0; ; i++)表示无限循环B. for(; ;)表示无限循环C. for()也表示无限循环D.while(1) 表示无限循环3.在以下关于C/C++语言的叙述中,正确的是()A.if语句结构中必须有else语句B.switch语句结构中必须有default语句C.C程序必须有return语句D.C中使用输入输出函数完成输入输出操作。

4. 下列C语言上机步骤中,正确的是()A. 编辑→连接→编译→执行B. 编辑→编译→连接→执行C. 编辑→编译→执行D. 编辑→连接→执行5. 下面关于for循环表达式执行顺序中,正确的是()A.表达式1→表达式2→表达式3→循环体B.表达式1→表达式2→循环体→表达式3C.表达式1→循环体→表达式2→表达式3D.表达式1→循环体→表达式3→表达式26.若有定义float *p,m;则以下正确的表达式是()。

A. p=&mB. p=mC. *p=&mD. *p=*m7. 已有定义char s1,s2;,下面正确的语句是()A.scanf(“%s%c”,s1,s2); B. scanf(“%s%c”,s1,&s2);C. scanf(“%c%c”,&s1,&s2);D. scanf(“%c%c”,s1,s2);8. 语句n1=2,n2=++n1,n1=n2++;执行后变量n1,n2的值分别为()A.3,4 B.3,3 C.2,3 D. 2,49.已知x,y为整型,z为实型,ch为字符型,下列表达式中合法的是()A.z=(y+x)++B.x+y=zC.y=ch+xD.y=z%x10. 设 x 是值为10的int 型变量,则在计算表达式x+=x-=x-x后,x的值是( ).A. 1B. 20C. 40D. 3011. 已知字符数组b[6]中存放了字符串“BASIC”,下面输出该字符串的函数( )是错误的.A. printf(“%s”,b)B. puts(b)C. pri ntf(“%s”,&b)D. printf(“%s”,&b[0])12. ( )不是C/C++的基本数据类型。

2011年全国大学生英语竞赛C级样题及答案

2011年全国大学生英语竞赛C级样题及答案

注:注:1. 1. 本次竞赛的评奖方式是按照各位参赛选手在本校的竞赛成绩排名来决出国家级、省级、本次竞赛的评奖方式是按照各位参赛选手在本校的竞赛成绩排名来决出国家级、省级、一二三等奖和优秀奖,以及校级一二三等奖和优秀奖。

一般情况下,竞赛成绩在比赛结束后15天左右公布,具体时间比赛当天会有通知,请各位同学及时关注本网站的竞赛信息!天左右公布,具体时间比赛当天会有通知,请各位同学及时关注本网站的竞赛信息!2. 2. 竞赛题目难度和题型与本套样题基本相当!本套试题主要是让大家了解一下竞赛题目难度和题型与本套样题基本相当!本套试题主要是让大家了解一下考试的题型和把握一下竞赛的难度,本套题没有标准答案,只是样题!如果想准备考试做些题,可以购买竞赛模拟题和往年试题(配有答案)!如果想购买竞赛题或参与辅导,可以直接联系董老师系董老师 159 159 159,祝各位参赛同学在本次比赛中取得优异的成绩!,祝各位参赛同学在本次比赛中取得优异的成绩!,祝各位参赛同学在本次比赛中取得优异的成绩!2011年全国大学生英语竞赛C 级冲刺模拟试题及详解Part Ⅰ Listening Comprehension (25 minutes, 30marks) (略)Part Part ⅡⅡ Vocabulary and Structure (10 minutes, 15 points)Directions : There are 15 incomplete sentences in this part. For each blank there are four choices marked A, B, C and D. Choose the one that best completes the sentence. Then mark the corresponding letter on the Answer Sheet with a single line through the centre. 31. Because Edgar was convinced of the accuracy of this fact, he stick _______ his opinion. A. at B. to C. for D. for 32. student with a little common sense should be able to answer the question. A. Each B. Any C. Either D. One 33. Obviously, the Chairman ’s remarks at the conference were and not planned. A. substantial B. spontaneous C. simultaneous D. synthetic 34. All substances , take up space. A. whether are liquid or solid B. whether are they liquid or solid C. be they liquid or solid D. no matter they are solid and liquid35. The girl was a shop assistant; she is now a manager in a large department store. A. preliminarily B. presumably C. formally D. formerly 36. A Loan is a written document that states that a lender has agreed to lend borrower a sum of money at certain rate of interest for a specific period of time, which may contain sets of conditions and a date by which the loan must close. A. obligation B. duty C. responsibility D. commitment ’t move a step farther. 37. after a long walk, I couldnA. Having worn out B. Wearing out C. To wear out D Worn out 38. Before the first non-stop flight made in l949, it necessary for all planes to land for refueling. A. would be B. has been  D. would have beenC. had been 39. Government reports, examination compositions, legal documents and most business letters are the main situations formal language is used. A. in which B. on which C. in that D. at what 40. It took him several hours to ________the paper off all four walls. A. shear B. strike C. scrape D. chip 41. ______ you were busy, I wouldn’t have bothered you with my questions.  B. Had I realized C. I realized that D. As I realized A. If I realized 42. doubt there are a lot of natural resources in this country. A. Little do we B. Little we C. Seldom did we D. Few do we  B. Little we C. Seldom did we D. Few do we 43. Although a teenager, Fred could resist what to do and what not to do. A. to be told B. having been told C. being told D. to have been told 44. M: Hello, Fred’s Motors. W: Hello, it’s Mrs. Williams here. I’m just phoning up because my Volvo is making ’d be able to have a look at very, very strange noises, and I wondered if youit. M: Yeah. When was the last time you had it serviced? ’s a sort of knocking noise. W: I think it was only about a month ago. But itM: Well, tomorrow morning, yeah? A. do it B. change it C. bring it in D. take it away 45. M: What’s 53 times 115? I can’t . W: Why don’t you use a calculator? A. work it out B. count it C. have it done D. work it up Part Ⅲ Reading Comprehension (20 minutes, 35 marks)Section A (5 marks)In this section, there is one passage with five questions. For each question, there are four choices marked A, B, C arid D. You should decide on the best choice, then mark the corresponding letter on the answer sheet with a single line through the center. Questions 46-50 are based on the following passage. Mark Twain pointed out that if work were so pleasant, the rich would keep it for themselves. But however much people may think they dislike work, everyone has a deep psychological need for it. Everyone wants to be valued, and wages and salaries are the visible proof that we matter. Not all kinds of work qualify, however. No matter how worthwhile or demanding they might be, bringing up children, housework and voluntary employment are not usually seen as proper jobs. The only proper job is one that provides paid employment. Being paid for a job in our society means higher personal status. Of course we would also prefer work to be useful, pleasant and interesting —and also well paid. But you don ’t really have to enjoy your work to get pleasure from it. The fact that we have to overcome some difficulties that we have to deal with doing routine tasks, in some way gives us pleasure. For example, having to be in a particular place at a particular time, working as part of a team towards a common goal, gives us a sense of purpose. The modern workplace also provides somewhere where people can assert their identity or create a new one. Without work many people become untidy and lazy, and find they are unable to enjoy enjoy the the the leisure leisure leisure time time time which which which is is is available available available to to to them. them. them. When When When some some some people people people retire retire retire from from work, work, they they they lose lose lose their their their sense sense sense of of of value value value and and and purpose. purpose. purpose. For For For most most most of of of their their their lives, lives, lives, their their personality, personality, self-image and self-image and status status have been have been defined defined by by by work; work; work; without without without it it it they they they lose lose their appetite for life. People who suddenly lose their jobs can find the situation particularly difficult. At a single stoke they lose all the advantages and status that a paid job provides. In a culture dominated by work, they are seen by those with jobs as incompetent or lazy. It is little wonder that stress and illness occur more frequently among the unemployed. Employment Employment is is is now now now changing, changing, changing, however. however. however. Information Information Information technology technology technology has has has already already significantly significantly altered altered altered the the the world world world of of of work. work. work. For For For many, many, many, the the the idea idea idea of of of a a a job job job for for for life life life is is is no no longer longer realistic. realistic. realistic. Many Many Many people people people fear fear fear they they they will will will lose lose lose their their their jobs, jobs, jobs, and and and some some some are are are being being persuaded to accept the possibility of part-time work. Even the workplace itself may become become a a a thing thing thing of of of the the the past past past with with with more more more and and and more more more people people people working working working at at at home. home. home. This This means means that that that we we we may may may no longer no longer be able to to depend depend depend on on on work work work to to to define define define ourselves and ourselves and our position in in society, and society, and that that we we we will have to will have to f ind find find new ways new ways to to give our lives give our lives a a sense of value and purpose. Questions:46. Mark Twain pointed out that______. A. the rich should work more B. work is not such a pleasurable thing C. the rich should keep all the work for themselves D. work makes people rich 47. People have a deep psychological need for work because______. A. they want to be rich B. they like being told what to do C. everyone needs money D. they want to be valued and work proves this value 48. People don ’t have to enjoy their work to get pleasure from it because______. A. the salary makes them happy B. they get used to the routine C. coping with problems can be satisfying D. they know their work is still useful 49. People who have no work often______. A. enjoy their leisure time B. develop a better self-image C. have difficulty coping with the change D. take an interest in new activities 50. The arrival of information technology has______. A. enhanced people ’s interest in work B. made work more stressful C. made the workplace unnecessary D. made people change their attitude to work Section B (10 marks)In this section, there is one passage followed by a summary. Read the passage carefully and complete the summery below by choosing a maximum of three words from the passage to fill in each of the blanks 51-55. Remember to write the answers on the answer sheet. Companies say that in many cases, the benefits of foreign-language knowledge can lie outside the specific realm of business. That ’s one reason why the programs are optional. Mayer says that the benefits are more to help each employee adjust to his or her new surroundings and to promote the company ’s policy of being a good neighbor and becoming integrated into local communities than to help the executive conduct actual business. At IBM, company-subsidized foreign-language training is provided on a case-by-case basis, says Mia Vanstraelen, director of human resources for learning in Europe, the Middle East and Africa. If employees need foreign-language skills to do their job properly —for for example, example, example, an an an expatriate expatriate expatriate manager manager manager who who who functions functions functions as as as the the the point point point person person between between an an an overseas overseas overseas operation operation operation and and and headquarters headquarters headquarters or or or a a a sales sales sales employee employee employee who who who deals deals with clients on the ground overseas —the company will provide financial support. In addition, company support is often available for employees seeking business-related skills to further their own careers within the company. A less-than-aggressive attitude toward foreign-language acquisition at the corporate level is typical, some experts say, and the reasons range from high cost to a lack of necessity. English, the language of business, the language of technology, the the language language language of of of Hollywood, Hollywood, Hollywood, is is is the the the language language language to to to know know know in in in global global global business business business even even even for for traditionally non-English-speaking countries. While While Americans Americans Americans have have have to to to decide decide decide which which which second second second language language language might might might be be be most most most useful useful for for their their their business business business careers careers careers according according according to to to their their their areas areas areas of of of interest, interest, interest, potential potential potential business business professionals professionals in in in other other other countries countries countries whose whose whose native native native language language language is is is not not not English English English have have have a a a clear clear answer to that question. And as more students worldwide learn to conduct business in English, its position as the language of commerce solidifies. Even multinationals that are headquartered in other countries are using English as the language of business, Van Someren says. He cites Sony ’s Berlin headquarters as an example. In that office, which has about 400 employees, there are 45 different nationalities and almost as many languages, he says. “So the cost and effort associated with trying to teach everyone German when a lot of them will be moving on on to to to other other other assignments assignments assignments in in in a a a matter matter matter of of of months months months probably probably probably doesn doesn doesn’’t t make make make a a a lot lot lot of of sense,” sense,” he he he say say says. s. s. Language Language Language acquisition acquisition acquisition can can can be be be a a a slow slow slow process, process, process, and and and companies companies companies that that need someone who speaks a foreign language can can’’t wait years for the right employee employee to to to gain gain gain the the the skills. skills. skills. When When When knowledge knowledge knowledge of of of a a a foreign foreign foreign language language language is is is what what what is is specifically specifically required, required, required, that that that’’s s the the the skill skill skill set set set human human human resources resources resources looks looks looks for. for. for. Lieberthal Lieberthal Lieberthal says says that that in in in many many many ways, ways, ways, training training training high-level high-level high-level employees employees employees in in in a a a foreign foreign foreign language language language such such such as as Chinese simply doesn ’t make good business sense. “It’s a large investment with high front-front-end costs.” Top executives end costs.” Top executives could harm their careers by taking time off to study could harm their careers by taking time off to study a language. In addition, he says, even if an executive were willing to put in the time to to learn learn learn a a a language, language, language, the the the training training training just just just doesn doesn doesn’’t t make make make economic economic economic sense. sense. sense. An An An employer employer would have to not only cover the cost of language training as well as the executive ’s salary, salary, but but but also also also absorb whatever financial burden absorb whatever financial burden results results from lost from lost productivity. productivity. An An executive sitting in the classroom memorizing vocabulary could be an investment in the future, but it would be a very costly one, Lieberthal says, and one that might not produce great returns. Section C (10 marks)In this section, there is passage followed by five uncompleted sentences. Read the passage carefully, and then complete the sentences in a maximum of three words for each blank. Remember to write the answers on the answer sheet. Questions 56-60 are completed with the information given.Virgin Trains CarLinkHaving trouble finding a fast, easy way to get to or from the train station? Stop worrying. Let Virgin Trains CarLink drive you. If you ’re travelling from the northwest of England, we ’ll pick you up from your door, take you to the station and then meet you when you return. Or Or if if if you you you’’re re coming coming coming to to to the the the northwest northwest northwest of England, of England, we we’’ll ll meet meet meet you you you off off off the the the train, train, take you where you want to go to and then —when you ’re ready —take you back to the station. HOW it worksSummary:Some companies believe that foreign-language ability plays an unimportant role in (51) , but it does help their employees become (52) into a foreign environment. IBM offers (53) to employees who need foreign language skills to do their job well. Because of the high cost and lack of necessity, corporations do not think training executives in a a foreign foreign foreign language makes (54) language makes (54) and and believe it believe it may may not not not generate generate (55) . How to bookTo secure a CarLink journey you must book in advance: •five days in advance of travel, if you book via the Virgin Train Line 0345 222 333. •by 18:00 the day before travel, if you book in person at a station. 56. CarLink services operate in the . 57. For each one-way journey you need to give the driver plus the balance of the fare. 58. You will still be picked up at the station even if your train . 59. Bear in mind that if things change, call CarLink to inform your . 60. To secure a CarLink journey you must book in advance by telephone or . Section D (10 marks)In this section, there is one passage followed by five questions. Read the passage carefully, and then answer the questions in a maximum of ten words. Remember to write the answers on the answer sheet. Questions 61-65 are based on the following passage.Of all the many factors which contributed to the Industrial Revolution, the most revolutionary revolutionary and and and the the the most most most impressive impressive impressive was was was not not not coal coal coal but but but steam steam steam power. power. power. J. J. J. L. L. L. and and Barbara Hammond said that steam power “declared the triumph of industry and the glory glory of of of man man man””. . From From From clumsy clumsy clumsy and and and inefficient inefficient inefficient beginnings beginnings beginnings it it it was was was quickly quickly quickly improved improved improved to to open up tremendous possibilities for industrial progress. The limitations of muscle —power are obvious, and though water had served well to work bellows and hammers in iron works ,or to turn machinery like the water-frame and the mule in the textile industry, it could only be applied in a limited way in Britain. For water power is most useful useful in in in a a a land land land with with with many many many fast-flowing fast-flowing fast-flowing streams streams streams and and and apart apart apart from from from areas areas areas like like like the the Pennines, Scotland, and Wales, this country ’s rivers flow slowly. The Alpine area of Europe, and much of the United States relied on water power for much longer than Britain, and hydroelectricity has brought water back into its own in many parts of the world. The geographical geographical limitations of limitations of Britain Britain’’s water power, h owever, necessitated however, necessitated finding an alternative solution to the problem. When When water water water vaporizes vaporizes vaporizes it it it expands expands expands 1,800 1,800 1,800 times. times. times. The The The idea idea idea of of of harnessing harnessing harnessing this this energy is far from new. It was probably used by Hero of Alexandria in the 1st century B.C. to open temple doors or to pour libations apparently by magic. Hero ’s writings were rediscovered during the Renaissance and many people, including, for example, the Marquis of Worcester (1601-1667) experimented with devices using steam. Regretfully, therefore, we must dismiss the old myth that steam power was born in the the mind mind mind of of of a a a bright bright bright Scots Scots Scots lad lad lad called called called James James James Watt Watt Watt as as as he he he sat sat sat one one one winter winter winter’’s s evening evening watching watching his his his mother mother mother’’s s kettle kettle kettle boil boil boil on on on the the the hearth. hearth. hearth. Watt Watt Watt’’s s contribution contribution contribution to to to steam steam steam is is incalculable, but but steam-pumps steam-pumps steam-pumps had had had been been been used used used in in in Britain Britain Britain for for for over over over seventy seventy seventy years years before he began his work. The first steam-engine used in industry was invented by Thomas Savery (1650-1715). Called “The The Miners Miners Miners’’ Friend Friend or or or an an engine engine to to to raise raise water water by by fire fire””, , it it it was was patented in 1698 and worked on simple principles. It pumped water from wells quite efficiently and was used successfully in Cornish copper-mines, but its limitations were revealed when it was tried in the Broadwater Collieries in Staffordshire in 1706 and was found to be capable of pumping water up no more than 100 feet. When greater pressure was used the boiler burst. Therefore, Savery ’s engine was used to supply water in gentlemen ’s houses or to work fountains —tasks it could perform effectively, though not quite safely as there was no pressure-gauge. It was Thomas Newcomen (1663-1729), a Dartmouth blacksmith and ironmonger, ironmonger, who who who produced produced produced the the the first first first steam-pump steam-pump steam-pump to to to be be be used used used widely widely widely in in in industry. industry. industry. It It was known as an “atmospheric engine ” because, in contrast to Savery ’s engine, the steam steam in in in the the the cylinder cylinder cylinder was was was not not not used used used to to to drive drive drive the the the pump pump pump but but but only only only to to to create create create a a a partial partial vacuum vacuum when when when condensed. condensed. condensed. Ordinary Ordinary Ordinary air air air pressure pressure pressure drove drove drove the the the piston piston piston into into into the the the cylinder cylinder and this raised the pump which was connected to the piston by a see-sawing cross-beam. A large piston meant that it was possible to gain more force without increasing steam pressure and this made Newcomen ’s engine much more powerful than Savery ’s. The first engine was made about 1706 but it was a clumsy affair. The piston did not not fit fit fit tightly tightly tightly into into into the the the cylinder cylinder cylinder and and and condensation condensation ,which which was was was achieved achieved achieved by by by pouring pouring cold water on the outside of the cylinder ,was far from complete. Moreover ,the tap controlling controlling the the the passage passage passage of of of steam steam steam into into into the the the cylinder cylinder cylinder was was was worked worked worked by by by hand hand hand seven seven seven or or eight eight times times times a a a minute. minute. minute. These These These difficulties difficulties difficulties were were were ironed ironed ironed out out out by by by 17201720;water water was was was now now sprayed sprayed into into into the the the cylinder cylinder cylinder to to to improve improve improve condensation, condensation, condensation, the the the operation operation operation of of of the the the taps taps taps had had been made automatic, and a safety-valve had been fitted to eliminate the danger of explosion. The improved engine soon became standard equipment in most large mines ,and and it it it was was was also also also used used used to to to pump pump pump water water water into into into canals canals canals and and and to to to supply supply supply drinking-water drinking-water drinking-water in in towns. It is difficult to know exactly how many were in use by the second half of the 18th century but in 1767 fifty-seven were found around Newcastle ,and there were eighteen in Cornish mines in 1780. Questions:61. Why could water power only be applied in a limited way in Britain? 62. Who was the first person mentioned in the text trying to use steam power? 63. Who invented the first steam engine used in industry? 64. How was Newcomen ’s engine different from that of Savery ’s? 65. What was installed to the first engine to prevent explosion? Part Ⅳ Cloze (15 minutes, 15 marks)Read the following passage and fill in each blank with one word. Choose the word in one of the following three ways: according to the context; using the correct form of the given word; according to the given letters of a word. Remember to write the answers on the answer sheet. There are many wedding traditions in the West. And some of them date back to several hundreds of years and most of their origins have their (66) r in ancient superstitious beliefs. “Something old, new, borrowed and blue ” is a popular bridal attire (盛装) rhyme. It dates from the Victorian times. Something old refers (67) wearing something that represents a link with the bride’s family and her (68) (precede) life. Usually, the the bride bride bride wears wears wears a a a piece piece piece of family of family jewelry jewelry or maybe or maybe her mother ’s ’s or grandmother’s or grandmother’s wedding dress. Wearing something new (69) (symbol) good fortune and success in the bride’s new life.The bride’s wedding dress is usually chosen, or purchased new, (70) b it can be any other new item of the bride’s wedding attire. Weari ng something borrowed is meant to (71) b good luck to the marriage. It could be an item of bridal clothing, a handkerchief or an item of jewelry. Wearing something blue dates back to biblical times (72) the color blue was considered to represent purity and fidelity. The custom of the wedding veil is thought to (73) pre the wedding dress by centuries. One explanation for it is that during the times of arranged marriage, the bride’s bride’s face face face was was was covered covered covered until until until the the the groom groom groom was was was committed committed committed (74) (74) her her at at at the the ceremony ceremony——so it would be too late for him to run off if he did not like the look of her! It is also thought that rite veal was worn to (75) pr the bride from evil spirits that would be floating around on her wedding day. This is why the veal covers the brides’ face throughout the ceremony until the minister (76) p the couple man and wife. And traditionally a bride’s (77) (engage) ring and wedding ring are worn on the fourth finger of the left hand. (78) Th no precise evidence explains the origin of this tradition, one belief is strongly held to it. It (79) ori from the 17th century. During a wedding then, the priest arrived at the fourth finger (80) a touching the three fingers on the left hand “... in the name of the Father, the Son and the Holy Ghost”.Part Ⅴ Translation (15 minutes, 20 marks)Section A (10 marks)Translate the underlined sentences of the following passage into Chinese. Remember to write the answers on the answer sheet. (81) (81) For For For many many many women women women choosing choosing choosing whether whether whether to to to work work work or or or not not not to to to work work work outside outside outside their their home is a luxury: they must work to survive. Others face a hard decision. Perhaps the easiest choice has to do with economics. One husband said, “Marge and and I I I decided decided decided after after after careful careful careful consideration consideration consideration that that that for for for her her her to to to go go go back back back to to to work work work at at at this this moment was an extravagance (奢侈 ) we couldn ’t afford ”. (82) With two preschool children, it soon became clear in their figuring that with babysitters, transportation, and and increased increased increased taxes, taxes, taxes, rather rather rather than than than having having having more more more money, money, money, they they they might might might actually actually actually end end end up up with less. Economic Economic factors factors factors are are are usually usually usually the the the first first first to to to be be be considered, considered, considered, but but but they they they are are are not not not the the most most important. important. important. The The The most most most important important important aspects aspects aspects of of of the the the decision decision decision have have have to to to do do do with with with the the emotional needs of each member of the family. (83) It is in this area that husbands and wives find themselves having to face many confusing and conflicting feelings. (84) (84) There There There are are are many many many women women women who who who find that find that homemaking homemaking is is is boring or who boring or who f eel feel imprisoned (被囚禁) if they have to stay home with a young child or several children. On On the the the other other other hand, hand, hand, there there there are are are women women women who who who think think think that that that homemaking homemaking homemaking gives gives gives them them them the the deepest satisfaction. From my own experience, I would like to suggest that sometimes the decision to go go back back back to to to is is is made made made in in in too too too much much much haste. haste. haste. There There There are are are few few few decisions decisions decisions that that that I I I now now now regret regret more. I wasn ’t mature enough to see how much I could have gained at home. (85) I 。

ly_新标准C++程序设计教材1120章课后题答案

ly_新标准C++程序设计教材1120章课后题答案

新标准C++程序设计教材11-20章课后题答案第11章:1.简述结构化程序设计有什么不足,面向对象的程序如何改进这些不足。

答案:结构化程序设计的缺点:(1)用户要求难以在系统分析阶段准确定义,致使系统在交付使用时产生许多问题。

(2)用系统开发每个阶段的成果来进行控制,不适应事物变化的要求。

(3)系统的开发周期长。

面向对象的程序设计如何改进这些不足:面向对象程序设计技术汲取了结构忧程序设计中好的思想,并将这些思想与一些新的、强大的理念相结台,从而蛤程序设计工作提供了一种全新的方法。

通常,在面向对象的程序设计风格中,会将一个问题分解为一些相互关联的子集,每个子集内部都包含了相关的数据与函数。

同时会以某种方式将这些子集分为不同等级,而一个对象就就是已定义的某个类型的变量。

2.以下说怯正确的就是( )。

A、每个对象内部都有成员函数的实现代码B、一个类的私有成员函数内部不能访问本类的私有成员变量C、类的成员函数之间可以互相调用D、编写一个类时,至少要编写一个成员函数答案:C3.以下对类A的定义正确的就是( )。

A.class A{B.class A{private: int v; int v; A * next;public: void Func() {} void Func() {}} };C.class A{ D、class A{int v; int v;public: public:void Func(); A next;}; void Func() {}A::void Func() { } };答案:B4.假设有以下类A:class A{public:int func(int a) { return a * a; }};以下程序段不正确的就是( )。

A.A a; a、func(5);B.A * p = new A; p->func(5);C.A a; A&r =a ; r、func(5);D.A a,b; if(a!=b) a、func(5);答案:D5.以下程序段不正确的就是(A)。

陕西省安全员C证理论考试100题(含答案)

陕西省安全员C证理论考试100题(含答案)

陕西省安全员C证理论考试100题(含答案)1、【多选题】关于拖式铲运机,下列做法正确的有()。

(ABCD)A、铲土时,铲土与机身应保持直线行驶B、在下陡坡铲土时,铲斗装满后,在铲斗后轮未达到缓坡地段前,不得将铲斗提离地面C、在不平地段行驶时,应放低铲斗,不得将铲斗提升到高位D、拖拉陷车时,应有专人指挥,前后操作人员应配合协调E、作业后,应将铲运机停放在平坦地面,并应将铲斗停放在距地面200mm处2、【多选题】关于移动式操作平台,下列哪些说法是错误的?O(AE)A、移动式操作平台高宽比不应大于3:1;B、立柱底端离地面不得大于80mm;C、移动式操作平台制动器除在移动情况外,均应保持制动状态;D、移动式操作平台架体应保持垂直,不得弯曲变形;E、移动式操作平台的行走轮和导向轮可不配置制动措施。

3、【多选题】在TN系统中,下列哪些电气设备不带电的外露可导电部分应做保护接零。

O(ABCD)A、配电柜与控制柜的金属框架B、电机、变压器、电器、照明器具、手持式电动工具的金属外C、电气设备传动装置的金属部件D、配电装置的金属箱体、框架及靠近带电部分的金属围栏和金属门E、安装在配电柜金属框架和配电箱的金属箱体上,且与其可靠电气连接的电气测量仪表、电流互感器、电器的金属外壳4、【多选题】安装前应根据专项施工方案,对塔式起重机基础的下列O项目进行检查。

确认合格后方可实施。

(ABDE)A、基础的位置、标高、尺寸B、基础的隐蔽工程验收记录和混凝土强度报告等相关资料C、混凝土强度回弹D、基础的排水措施E、安装辅助设备的基础、地基承载力、预埋件等5、【多选题】带锯机作业时,应根据锯条的O及时调节档位或增减带锯机的压坨(重锤)。

(BC)A、长度B、宽度C、厚度D、平整度E、锯齿数6、【多选题】平地机作业区内不得有下列哪些障碍物?O(BDE)A、少量杂草B N树根C、碎砖块D、大石块E、小孩7、【多选题】总承包单位配备项目专职安全生产管理人员应当满足下列要求Oo(ADE)A、1万平方米以下的工程不少于1人B、广5万平方米的工程不少于3人C、5万平方米及以上的工程不少于5人D、广5万平方米的工程不少于2人E、5万平方米及以上的工程不少于3人8、【多选题】挡土墙的形式有:Oo(ABCDE)A、重力式挡土墙B、钢筋混凝土挡土墙C、锚杆挡土墙D、锚定板挡土墙E、其他轻型挡土墙9、【多选题】施工过程中,施工现场的消防安全负责人应定期组织消防安全管理人员对施工现场的消防安全进行检查。

2011-2013年全国大学生英语竞赛C类试题

2011-2013年全国大学生英语竞赛C类试题

2011 National English Contest for College students(Level C-Preliminary)Part I Listening Comprehension (30 marks)Section A (5 marks)In this section, you will hear five short conversations. Each conversations will be read only once. At the end of each conversation, there will be a twenty-second pause, read the question and the there choices marked A,B and C ,and decide which is the best answer.Then mark the corresponding letter on the answer sheet with a single line through the centre.1.What does the man want to do?A.Get something to eat now.B.Find a quiet place that shows games.C.Watch the next game with the woman.2.Why does not the man have a MySpace account?A.He is not skilled at using computer.B.All of the instruction are in EnglishC.The woman won not teach him.3.How long does the woman plan to try teleworkingA.For a few days.B.For a few weeks.C.For a few months.4.What does the man hope will happen?A.The price of cell phone novels will go down.B.The novel’s author will writer longer stories.C.The woman will tell him ho the story ends.5.what is the woman going to do next?A.turn on her computer.B.Go for a walk with peter.C.Visit her new neighbors.Section B (10 marks)In this section, you will hear two long conversations. Each conversation will be read only once. At the end each conversation, there will be a one minute pause. During the pause, read the questions, each with three choices marked A, B and C, and decide which is the best answer. Then mark the corresponding letter on the answer sheetwith a single line through the centre.Conversation one6.What did Jack do over the summer?A.He studied very hard.B.He took a summer class.C.He visited one of his teachers.7.What does Jack think of Ms Wellington as a teacher?A.Easy-going.B.Tough.C.Interesting.8.Why is Ms Wellington’s class har d?A.Her exams are difficult.B.She does not give students the help they need.C.She makes do lots of work.Conversation two9.Why is Mrs. Griffin going to the city where the hotel is located?A.He is on holiday.B.He’s on a business tripC.He is going to a conference.10. How many times has Mrs. Griffin stayed at the Sunrise Hotel?A. Twice.B. Once.C. Three times.11. Where is Mrs. Griffin form?A. Canada.B. New Zealand.C. Australia.12. What is Mrs. Griffin’s passport number?A.87647489B.87637289C.8763748913. What kind of room does Mrs. Griffin want?A. A single room for two nights.B. A double room for two nights.C. A single room for one night.14. When will Mrs. Griffin arrive at Sunrise Hotel?A. at 9:15 pmB. at 9:35 pmC. at 10:00 pm15. What food will b e put into Mrs. Griffin’s room?A. a sandwich with fries.B. a cheese sandwich.C. a burger with chips.Section C (5Marks)16. What does the Associated Press ask editor and news directors to do?A. vote for the top stories of the year.B. describe the oil spill in the Gulf of MexicoC. writes about the 11 workers killed in the explosion17. Where are the doctors and technology experts from?A. New York.B. LondonC. Tokyo18. For how long does President Obama agree to extend the tax cuts?A. for four yearsB. for three yearsC. for two years.19. How many people in the world don’t have enough to eat,according to the report?A. more than one billion.B. some six hundred million.C. nearly nine hundred million20. What have astronomers recently discovered?A. there are unknown plants in older galaxies.B. there are many galaxies in the universeC. there are a lot more red dwarf in older galaxiesSection D (10 marks)In the section, you will hear a short passage. There are 10 missing words phrases. Fill in the blanks with the exactwords or phrases you hear. Remember to write the answer on the answer sheetWhat do you do if you don’t get your first choice university? This ____ faces thousands of British every year. Many such_____ turn to Clearing, a service that helps find university places for students at the last moment. If they don’t have the marks to get into their____, Clearing tells them about places available at other university, though they might have to read a difficult subject.This year has seen a record number of people applying to university. This, combined with the_____________________,an uncertain job market, and budget cuts at university, product even more of a scramble for places than usual. Some sources say six students have applied for eachremaining___________________________ placeThe British University Admissions Service, UCAS, says up to a quarter of this year’s universityapplicants-almost 190000 people-have not been admitted into a____________________________. That is an increase of over 46000 students from last year.Faced with these figure, some British students might consider an interestingalternative:_____________________________. The University of Nottingham for is offering place at its campuses in Ningbo, near Shanghai, and Kuala Lumpur, Malaysia. Students at these institutions can earn University of Nottingham degrees, according, engineering and English. Similarly, the University of Bolton says it has unlimited places at its campus in the United Arab Emirates.To deal with t hese problems, the UK’s Higher Education Minister, David Willet’s, is encouraging students who have not made the grade to consider alternatives to university, such as _______________________and studying at home.―There are arrange of options available, ―he says. ―people can reapply next year, so they should consider spending this year in a way that will add positively to their CVs. Getting _____________________or other skills will strengthen their chances next year.‖ Some commentators say, though that ri sing university costs, poorlong-term_______________________, and a drop in graduate recruitment mean this the worst time to be a university student in the UK.Part Two Vocabulary and Structure (15 marks )There are 15 incomplete sentences in this section. For each blank there are four choices marked A, B, C and D. Choose the one that best completes the sentence. Then mark the corresponding letter on the answer sheet with a single line through the centre.31.After four days of talks, we are glad to announce that the union and management have reached an______. The agreement is fair and benefits both sides.A.accordB. accomplishmentC. identityD. undertaking32.As the clerk______prepared my milk shake, I wondered how long she had been working there ,mindlessly making ice cream treats in a set order of steps.A.logicallyB. methodicallyC. graphicallyD. synthetically33. As a boy he wanted to be a fireman. As a high school student, he thought he'd like to become a teacher. Nowhe______to be nothing more than a janitor.A.AssumesB. PrescribesC. AspiresD. Presumes34. Regardless of what caused it, I an grateful that have finally reached a point in my life_______I can appreciate my strengths, accept my weaknesses and try to be comfortable with everything in between.A.WhyB. WhereC. WhichD. What35. ______information provided by members of the public, the police would have a much move difficult job.A.SupposingB. Provided theC. If it were not forD. On condition that36.Peter Brown was a painstaking writer;______, he once spent half a day on the composition of a single sentence.A.On the other handB. NeverthelessC. MoreoverD. For example37.----What an I going to do about a present for Carol?----You______some flowers.A.Might have sent herB. Must have sent herC. Could send herD. Would send her38.Without the air holding in some of the sun's heat, the earth______cold at night, too cold for us to live on.A.Will be freezingB. Would be freezingC. An be frozenD. Would be frozen39.The students in our university each______an English dictionary. That is to say, each of the students in our university______an English dictionary.A.Have; hasB. Have; haveC. Has; haveD. Has; has40.Here's your kitchen. I hope you enjoy cooking here. Is there______else that you need?A.SomethingB. AnythingC. NothingD. Everything41.David______his business partner over plans to reduce the workforce.A.Came down toB. Broke down toC. Fell out withD. Went along with42.______is this piece of equipment to be removed from the building.A.On no accountB. AbsolutelyC. ScarcelyD. Not at all43.Helen' s parents were______that she was still on the job., but she had resigned.A.In doubtB. Of the opinionC. Under the impressionD. With suspicion44.----I don't think I will ever, in my life, win a lottery of five million dollars.----Well, ______. Anything can happen.A.You made itB. You're kiddingC. What you sayD. You can never tell45.-----How did you find the concert in the Grand Theatre last night?-----______ but the conductor was perfect.A.I couldn't agree moreB. I didn't think much of itC. I was crazy about itD. I really liked itPart Three Cloze(15 marks )I have been reading a lot on my iPad recently, and I have some (46)_____ (complain) not about the iPad itself but about the state of digital reading generally. Reading is a subtle thing, and its subtleties are artifacts of a venerable medium: words printed in ink on paper. Glass and pixels aren't the same.When I read a physical book, I don't have to look anywhere else to find out how much I've read. The iPade---reader, iBooks tries to create the (47) illu_____ of a physical book. The pages seem to turn, and I can the edges of those that remain, but it's fake. There are always exactly six unturned pages, no matter (48)_____ I am in the book. Also, there is a larger problem. Books in their digital format look vastly less "finished", or less genuine than real books. You can vary their font and type size, but this only makes them (49)_____(resemble) word---processed---no matter how (50)_____(wretch) or wonderful they are---will never look as good as Robert Hass's poems in the print edition of The Apple Trees at Olema. But your poems can look almost exactly as ugly---as "e---book---like" ---as the Kindle version of that collection.All the e---book I've read have been ugly---books by Chang---rae Lee, Alvin Kernan, and Stieg Larsson---though the texts have been wonderful. I didn't grow up reading texts. I grew up reading books, and this(51)_____(differ) is important.When it comes to digital editions, the(52)_____(assume) seems to be that all books(53)are_____(create) equal. However, nothing could be further from the truth. In the mass migration from print to digital, we're seeing a profusion of digital books---many of them out of copyright---that look new and even "HD," but which may well have been supplanted by more accurate editions and better translations. We need a digital readers' guide---a place where readers can find(54)_____ whether the book they're about to download is the best available edition.(55)Fi_____, two related problems. I already have a personal library, but most of the books I've read have come from(56)_____(lend) libraries. Barnes & Noble has released an e---reader that allows short---term (57)_____(borrow) of some books. The entire idea behind Amazon's Kindle and Apple's iBooks assumes that you cannot read a book unless you own it first and that only you can read it unless you want to give your reading device to someone else.This goes against the social value of reading, the collective knowledge and (58)_____(collaborate) discourse that comes from access to (59)_____or our culture in general.Part Four Reading Comprehension (40 marks).Section A (10 marks ).Questions 61 to 65 are based on the following passage.Not keen on reading? Do you have trouble finding a novel that arouses your interest? Why not follow Ammon Shea's example and start reading a dictionary?Mr Shea owns over 1,000 dictionaries and he reads them for fun. He recently spent a year reading all 20 volumes of the Oxford English Dictionary. The dictionary contains more than 20,000 pages and over 59 million words.As he read from A to Z, he noted down interesting words in a ledger. This includes words such as "happify," meaning to make someone happy and "tripudiate", which means to dance, skip or leap for joy. Mr Shea also kept a diary about this experience, which has since become a best---selling book.Why did he do this? He claims it was fun. "I've always enjoyed reading dictionaries . They are far more interesting than people give then credit for," he said.It appears that it was not his goal to sound more intelligent by using longer and more complex words. "I'm not against long, fancy or obscure words, but I'm opposed to using then for their own sake," he said.In fact ,as a result of reading so many new words , Mr Shea often forgot everyday vocabulary. He wrote, "My head was so full of words that I often had trouble forming simple sentences."Mr Shea is not alone in his love of reading dictionaries.Elaine Higgleton, a representative of Collins Cbuild dictionaries, explained that thousands of crossword puzzle and Srabble fans read dictionaries for fun and to improve their games. Ms Higgleton did however note that, "It's probably not the best way to learn English ,and you'd learn more than you need." It is not known how many of the 59 million words Ms Shea remembers, but he has certainly made history with his eccentric hobby.Questions 61 to 65.Decide whether the following statements are True or False.61.Mr Shea has read 1.000 dictionaries.62.Mr Shea spent one month reading the Oxford English Dictionary.63.In Mr Shea's opinion,people don't give dictionaries enough credit for being interesting.64.Mr Shea thinks it is important t be able to use long and complicated words in everyday conversation.65.Elaine Higgleton thinks that reading a dictionary is the best way to learn English.Section B (10 marks)Questions 66 to 70are based on the following passage.Surfing is something people often get hooked on after trying it a few times. For many surfers it is much more than a hobby---they would probably agree with the American professional surfer Kelly Slater when he said,"Once you're in, you're in. There's no getting out.""Surfing", of course, refers to riding on ocean waves using a surfboard. Many surfers stand up on their boards, which requires god balance and is therefore difficult for most beginners to learn, but some lie down and "bodyboard" The history of surfing probably began with the Polynesian people of the Pacific Islands. One of the first white people to see anyone surfing was the British explorer Captain Gook, when his ship arrived in Hawaii in 1779. He watched many Hawaiians riding waves on large pieces of wood, and reported that, "Surfing seems to give them a feeling of great pleasure. "When surfing started to become very popular in the United States in the 1950's and 60s, surfers used large wooden boards (often more than three metres long) that were quite heavy. Boards today are shorter and also much lighter, because they are made of artificial materials instead of wood.For anyone who wants to try surfing. The only essentials are waves and a board. There are a few other things, however, that most surfers find important; a cord t attach one of their ankles to the board and therefore stop it from being carried a long way away when they fall off'; wax, which they put on the surface of the board to help their feet stick to it; and a wetsuit to help them keep warm in cold water. The south---west of English is an example of a place where surfers usually need wetsuits, even in summer.Surfing has been a professional sport for many yeara and the very best surfers are able to make a living from it. Most of the best professional surfers in the last 30 years, both men and women, have been American or Australian, but surfers from Brazil, Peru and South Africa have also won important competitions.Questions 66 to 70Answer the following questions with the information given in the assage in a maximum of 10 words for each question.66.Why do most beginners find it difficult t stand up on a surfboard?67.In what part of the world did surfing probably begin?68.When did surfing start to become very popular in the United States?69.What do surfers use wax for?70.According to the passage, in what part of the world do surfers usually need wetsuits?Section C (10 marks)Questions 71 to 75 are based on the following passage.The latest human development report from the United Nations Development Programmed (UNDP) contains some good news, but also a very serious warning about the threat posed y climate change.The report, published annually since 1990, seeks to asses ―human development‖ around the world, and calculates a ―Human Development Index (HDI) for 169 counties. The HDI is based on average income, life expectancy and level of education in a country. Not surprisingly, rich counties tend to have higher HDIs than poor counties, but there are interesting variations in human development among countries with similar levels of economic development, because some have better health and education systems than others.According to the 2010 report, the county with the highest level of human development is Norway, followed by Australia, New Zealand, the United States and Ireland. Most of the lowest HDIs belong to counties insub-Saharan Africa.Almost all counties around the worlds have higher HDIs now than in 1990, despite the fact that since the 2008 financial crisis, the total number of people living in extreme poverty has increased. The report concludes that most people are healthier, live longer, are better educated and have access to more goods and services. Even in countries with severe economic problems, people’s level of health and education as generally improved. Although sub-Saharan African countries are at the bottom of the pile in terms of human development, some of them have made significant progress since 1990. The report is critical, however, of the fact economic inequality has increased significantly in the last twenty years, both within and between countries.The greatest threat to improving HDIs in the future, according to the report, is climate change. Economic growth increases average incomes in a country through increasing production and consumption. However , if this leads to greater emissions of greenhouse gases, as has always been the case in the past, global warning will probably accelerate, and cause severe environmental problems in some parts of the world hat will threaten the livelihoods of huge numbers f people. The progress of the last twenty years, therefore, might not be sustainable.The only solution, according to the report, I to break the link between economic growth and greenhouse gas emissions-which, needless to say, is easier, said than done.Questions 71 to 75Complete the following sentences with information given in the passage in a maximum of 10 words for each blank.71. The concept of ―human development‖ is based on the following three factors: _______,_____________and_____________.72. Some countries with similar levels of economic development have quite different HDIs because theyhave_____________.73._________________has caused the number of people living in extreme poverty to increase since 2008.74. The report says that ______________ is the greatest threat to increasing HDIs in the future.75. The report says the link between____________ and ____________needs to be broken.Section D (10 marks)Questions 76 to 80 are based on the following passageIt is natural for young people to be critical of their parents at times and to blame them for most of the misunderstanding between them. They have always complained, more or less justly, that their parents are out of touch with modern ways; that they are possessive and dominant; that they do not trust their children to deal with crises: that they talk too much about certain problems-and that they have no sense o humor, at least parent-child relationships.I think it is true that parents often underestimate their teenage children and also forget how they felt themselves when were young.Young people often irritate their parents with their choices in clothes, hairstyles, entertainers and music. This is not their motive. They feel cut off from the adult world into which they have not yet been accepted, so they create a culture and society and their own. Then, if it turns out that their music, entertainers, vocabulary, clothes or hairstyles irritate their parents, this gives them additional enjoyment. They feel they are superior, at least in a small way, and that they are leaders in style and taste.Sometimes teenagers are resistant and proud because they do not want their parents to approve of what they do. If they did approve, it looks as if the teenager is betraying his own age group. All this is assuming that the teenager is the underdog: he can not win but at least he can keep his honor. This is a passive way of looking at things. It is natural enough after years of childhood, when children were completely under their parent’s control, but it ignores the fact that when they become teenagers, children are beginning to be responsible for themselves.If you plan to control your life, co-operation should be a part of that plan. You can charm other people, especially your parents, into doing things the way you want. You can also impress people with your of responsibility and your initiative, so that they will give you the authority to do what you want to do.Questions 76 to 78Choose the best answer according to the passage.76 the first paragraph is mainly about_____________.A teenagers’ criticism of the ir parentsB misunderstanding between teenagers and their parentsC the dominance of parents over their childrenD teenagers’ ability to deal with crises77 teenagers have strange clothes and hairstyles because they___________A have a strong desire to be leaders in style and tasteB want to prove their existence by creating a culture of their ownC have no other way to enjoy themselvesD want to irritate their parent78 teenagers do not want their parents to approve of what they do because they _______________.A have already been accepted into adult worldB feel that they are superior to adult worldC want to win adults over to their cultureD don’t want to appear to be disloyal to their own age groupQuestion 79 to 80Translate the sentences in the passage into Chinese79 I think it is true that parents often underestimate their teenage children and also forget how they felt themselves when were young80 You can charm other people, especially your parents, into doing things the way you want.Part V translate (10 mark)Translate the following sentences into English, using the words given brackets. Remember to write your answer on the answer sheet.81 他以牺牲健康为代价获得财富。

2011年职称英语综合类C级考试真题及答案

2011年职称英语综合类C级考试真题及答案

2011年职称英语综合类C级考试真题及答案第1部分:词汇选项(第1—15题,每题1分,共15分)下面每个句子中均有1个词或短语划有底横线,请为每处划线部分确定1个意义最为接近的选项。

1.His shoes were shined to perfection.A. clearedB. polishedC. washedD. Mended2.She can be relied on inA. looked afterC. turned onB.believedinD.depended on3.Marsha confessed that she knew nothing of computer.A. admittedB. reportedC. hopedD. answered4.The test produced disappointing results.A. unsatisfactoryB. indirectC. similarD. positive5.My doctor said I should vary my diet moreA, change B. prepareC. cookD. choose6.Greene spent a brief time at Cambridge.A. hard C. shortB. good D. long7. The book took ten years of thorough researchA. basicB. careful.C, social D. major8. The high-speed trains can have a major impact on our lives.A. efforB. problemC. influenceD. Concern9.Eventually, she got a job and moved to LondonA. CertainlyB. LuckilyC. NaturallyD. Finally10.The love of money is the root of'all evilA. resultB. endC. causeD. Force11.We explored the possibility of expansion at the conferenceA. offeredB. investigatedC. includedD. accepted.12. His long-term goal is to set up his own business.A. ideaB. energyC. aimD. Order13.A number of theor.ies have been proposed to explain the situationA. suggestedB. testedC. usedD. announced14.They converted the spare bedroom into an office.A.reducedB. turnedC.movedD. reformed15.Things have changed a lot since I was a childA. graduatlyB. suddenlyC. frequentlyD. greatly第2部分:阅读判断(第16—22题,每题1分,共7分)下面的短文后列出了7个句子,请根据短文的内容对每个句子做出判断:如果该句提供的是正确信息,请选择A;如果该句提供的是错误信息,请选择B;如果该句的信息文中没有提及,请选择C。

11级建筑结构试验复习题

16.电液伺服阀能根据输入电流的极性控制液压油的__流向__,根据输入电流的大小控制液压油的__流量__。

17.液压加载法的最大优点是利用油压使_液压加载器_产生较大的荷载,试验操作安全方便。

18.超声脉冲波的穿透力极强,尤其是检测__混凝土__时,这一特点更为突出。

19.在低周反复加载试验中为了能再现地震力作用下,墙体经常出现的斜裂缝或交叉裂缝的破坏现象,在墙体安装及考虑试验装臵时必须要满足__边界条件___的模拟。

20.建筑物的脉动源不论是风还是地面脉动,它们都是不规则的,可以是各种不同值的变量,在随机理论中称之为_随机震动_,它无法用一确定的时间函数描述。

21.在研究建筑结构或其他工程结构的抗震、抗风或抵御其他动荷载的性能和能力时,都必须进行结构__动力特性_试验,了解结构的自振特性。

尽可能__大___。

22.如果要测量振动体的位移,应使ω/ωn23.等效荷载指的是在它的作用下,结构构件的控制截面和控制部位上能产生与原来荷载作用时__相同的__某一作用效应的荷载。

24.在结构构件安装位臵与实际工作状态不相一致的情况下进行的试验称为_异位试验__。

25.试件设计所以要注意它的形状,主要是要求满足在试验时形成和实际工作相一致的__应力状态_。

26.结构试验中,采用分级加载一方面可控制__加载速度__,另一方面便于观测_结构变形_随荷载变化的规律。

27.在理想的情况下,传感器的横向灵敏度比应等于___零_。

28.重力加载就是将物体本身的__重力__施加于结构上作为荷载。

29.现行规范采用的钢筋混凝土结构构件和砖石结构的计算理论,几乎全部是以__试验研究_的直接结果为基础的。

30.建筑结构试验是以实验方式测试有关数据,为结构的__安全使用__和__设计理论__的建立提供重要的依据。

31.分配梁的作用是将荷载分配成_多点集中_荷载。

仪器的标定可按两种情况进行,一是对单件仪器进行单件标定,二是对仪器系统进行系统标定。

2011年大学生英语竞赛(NECCS)C类决赛真题试卷(题后含答案及解析)

2011年大学生英语竞赛(NECCS)C类决赛真题试卷(题后含答案及解析)题型有:1. Listening Comperhension 2. V ocabulary and Structure 3. Cloze 4. Reading Comperhension 6. Translation 7. IQ Test 8. WritingPart I Listening ComperhensionSection A听力原文:M: Guess what! I won a contest on the radio. In two years, I’ll be going into space! I can’t wait! W: Wow! Aren’t those tickets really expensive? M: Yes, normally they’re 5 200,000, but I only have to pay about $ 10,000 tax on the prize.1.How did the man get the ticket to travel into space?A.He went onto a TV game show.B.He won an Internet contest.C.He received it as a prize.正确答案:C解析:对话中男士首先提到“我通过电台赢得了比赛,两年后我将去太空”,由此可知去太空旅行的票是作为比赛奖品而获得的,故选C。

听力原文:W: I’m so glad it is Friday. Are, you going to help us at the Pet Day event tomorrow? M: I’d love to, but I’m not sure how I could help. I don’t know much about animals.W: You don’t need to. We’re just trying to find good homes for the animals. After all, I’m just walking the dogs so they don’t get bored.2.Why is the man not keen to attend the event?A.He doesn’t like volunteering.B.He is not sure how he can help.C.He thinks he will be busy.正确答案:B解析:对话中女士问男士“Are you going to help us at the Pet Day event tomorrow”,男士回答说他很愿意去,但他不知道该如何帮忙,这就是男士不热衷于参加活动的原因,故选B。

最新-2011全国大学生英语竞赛c类真题及答案[1]

2008 National English Contest for College Students(Level C--- Preliminary)Part I Listening Comprehension (25 minutes, 30 marks)Section A (5 marks)In this section, you will hear five short conversations. At the end of each conversation, a question will be asked about what was said. Both the conversation and the question will be read only once. After each question, there will be a pause. During the pause, read the three choices marked A, B and C, and decide which is the best answer. Then mark the corresponding letter on the Answer Sheet with a single line through the center.1. A. To buy a newspaper. B. To find a chemist. C. To post a letter.2. A. Their billing system has been efficient.B. Their old billing system is outdated.C. He’s unimpressed with the new billing system.3. A. She’s been on vacation. B. She’s been at the grocery store.C. She’s been on a business trip.4. A. To go to the market. B. To have coffee. C. To have a discussion.5. A. Changing a flight reservation. B. Canceling a hotel reservation.C. Reserving an extra hotel room.Section B (10 marks)In this section, you will hear two long conversations. Each conversation will be read only once. At the end of each conversation, there will be a one-minute pause. During the pause, read the five questions, each with three choices marked A, B and C, and decide which is the best answer. Then mark the corresponding letter on the Answer Sheet with a single line through the center.Conversation one6. What’s Tania’s phone number?A. 506-6178B. 501-6678C. 501-66877. Who is going shopping at Harrods?A. Tania.B. Karl.C. Karl’s mother.8. How is Tania going to get to Harrods?A. On foot.B. By taxi.C. By tube.9. Which street plan shows the way from the station?A. B. C.10. What kind of wine does Karl want?A. Red Merlot.B. White Bordeaux.C. Rose Chianti.Conversation Two11. Which drawing shows the position of the handle?A. B. C.12. What other product features are included?A. A range of handle sizes.B. A variety of color combinations.C. A set of rings for different-sized tins.13. What’s the purpose of the V-clip?A.To hold the paint brush so it drips in the can.B.To prevent paint from getting onto the painted surfaces.C.To prevent the brush drying out if the painter is interrupted.14. Who will probably use the can-holder?A. Artists.B. Decorators.C. Soldiers.15. How much does the product cost?A. £4.B. £5.C. $4.Section C (5 marks)In this section, you will hear five short news item. Each item will be read only once. After each item, there will be a pause. During the pause, read the question and the three choices marked A, B and C, and decide which is the best answer. Then mark the corresponding letter on the Answer Sheet with a single line through the center.16. What has prompted the new administration to review the Australia’s citizenship test?A. It’s out of date.B. Higher immigration rates.C. Many applicants failing it.17. Which train provides the easiest way to see Mount Fuji?A. From Tokyo to Yokohama.B. From Osaka to Yokohama.C. From Tokyo to Osaka.18. How many U.N. employees were killed in 2007?A. 17.B. 42.C. 59.19. What have studies found out about severe pneumonia treatment?A.No medication works in developing countries.B.It can be effectively treated at home with oral antibiotics.C.It can only be treated in the hospital with injectable antibiotics.20. What was the bar’s business like before the smoking ban?A. Almost empty every day.B. Usually crowded at midday.C. Empty on Wednesdays.Section D (10 marks)In this section, you will hear a short passage. There are ten missing words or phrases. Fill in the blanks with the exact words you hear on the tape. Remember to write the answers on the Answer Sheet.Crime isn’t rising because the laws are not strict enough, or because the (21) ________ are not tough enough, or simply bec ause there aren’t enough policemen on the beat. It is rising because the agencies and individuals who can have a (22) _______ effect on crime are not pulling together or in the same (23) ______. The police are one of those agencies, of course. But crime prevention is also a matter for (24) ______ who are content to see mass (25) _______ turn into a way of life, for councils who prefer to shout yah-boo at the police, (26) _____ getting on with making life safer for local people, for architects who design exp osed and indefensible buildings, for parents who don’t take enough interest in what their teenage children are getting up to and for (27) ______ who sit inside and moan (28) ______ do anything about the state of the neighborhood or the street. Crime prevention has been neglected for too many by too many. Over the last ten years it has been willfully neglected in defiance of mounting (29) _______ that it is the central hope of (30) ________ action against crime.Part II Vocabulary and Structures (10 minutes, 15 marks)There are 15 incomplete sentences in this part. For each blank there are four choices, marked A, B C and D. Choose the one that best completes the sentence, then mark the corresponding letter on the Answer Sheet with a single line through the center.31. They are looking for _______ man with _______ long dark hair. He is armed and dangerous.A. a; aB. the; aC. a; /D. /; the32. It was unfortunate, but she had no _____ but to act as she did.A. chance.B. opportunityC. optionD. solution33. The _____ driver thinks that accidents only happen to other people.A. generalB. usualC. commonD. average34. How did they manage to steal the Van Gogh? It was right ____ the security guard’s nose.A. belowB. beforeC. underD. beside35. The student ______ continuing his studies when he had to return to his home country unexpectedly.A. is consideringB. was consideringC. should considerD. has considered36. My friends and I enjoy doing many of the same things. In that respect, we have a lot _______.A. in similarB. in particularC. in commonD. in accordance37. Our planned visit to the United States _______ because we were unable to get the visas.A. fell overB. fell downC. fell throughD. fell on38. Lest anyone _____ it strange, let me assure you that it is quite true.A. thoughtB. should thinkC. had thoughtD. thinking39. When Sally ______ the criminal ______ her house, she screamed at the top of her voice because she didn’t want ______.A. saw; enter; killedB. saw; enter; to be killedC. sees; entering; be killedD. sees; enter; killing40. Tina’s children, _____ all live nearby, organized a big party for her eightieth birthday.A. whoB. thatC. whichD. as41. Sometimes it is necessary to be careful _______ the right date to sit for a test.A. when choosingB. when you will chooseC. when you have chosenD. when you chose42. Einstein’s theory of relativity seemed hard to believe at the time _______.A. when he first introducedB. that he first introduced itC. he first introducedD. which he first introduced it43. ________ really. I like both public transport and driving.A. On second thoughtsB. I could go either wayC. I will never learn to driveD. But then again44. _____ I’m getting married!A. Can you keep a secret?B. Well I never!C. Many happy returns.D. Congratulations!45. --- So, do you know where you’d like to go?--- Actually, I’ve heard that it’s very expensive and it’s cold all the time.A. I beg your pardon?B. Yeah, but it’s not very good.C. Do you know any good hotels?D. Do you have any suggestions?Part III Reading Comprehension (20 minutes, 40 marks)Section A (4 marks)There is one passage in this section with 4 questions. For each question, there are four choices marked A, B C and D. You should decide on the best choice, then mark the corresponding letter on the Answer Sheet with a single line through the center.Questions 46-49 are based on the following passage.Most sore throats are caused by an infection which treatment with antibiotics cannot cure. But with simple remedies the patient normally gets better in 4 or 5 days.Tonsillitis, however, usually starts with a sore throat which causes pain on swallowing. With children and some adults there may be a fever and the patient is obviously not feeling well. It may be possible to see white spots on the back of the throat. The neck may also swell, both of which are the normal response to infection.Sometimes a sore throat may occur with the common cold, and with influenza there may be dryness of the throat, pain on coughing and loss of voice.TREATMENTAspirin: To help relieve the pain on swallowing and (if there is one) the fever, use aspirin tablets dissolved in water, so that the patient can gargle before swallowing. Repeat the treatment every 4 hours.Drink: Encourage the patient to drink plenty of liquids.Food: Food should not be forced on a patient who does not want to eat.Steam: If there is pain in the throat on coughing, breathing in steam may help.CHILDRENYoung children, who may not be able to gargle, should be given aspirin dissolved in water every 4 hours at the right dose for their age.At one year: a single junior aspirin.At five years: half an adult aspirin.At eight years: one whole adult aspirin.WHEN TO SEE THE DOCTORIf the sore throat is still getting worse after 2 days.If the patient complains of earache.If the patient or parent is very worried.46. According to the passage, it would appear that most sore throats _________.A.require an immediate visit to a doctorB.respond quickly to treatment with an antibioticC.rarely turn out to be symptoms of serious illnessD.result in tonsillitis even when treated47. In order to treat a sore throat one should ________.A.prevent the patient from eating too muchB.give the patient up to 4 aspirin tablets every dayC.advise the patient to drink large amounts of liquidsD.make the patient gargle with hot liquids48. Y ou should call the doctor in if _________.A.swelling occurs in the region of the earsB.the patient’s condition worsens after 2 daysC.the patient’s throat is still sore after a weekD.the disease spreads to another member of the family49. What difference is there in the way adults and young children should be treated with aspirin?A.Young children should not be allowed to gargle with it.B.Adults should be given tablets to swallow whole.C.Young children should be given aspirin more often than adults.D.Adults should be given larger doses of aspirin than children.Section B (14 marks)There is one passage in this section with 10 questions. Go over the passage quickly and answer the questions on the Answer Sheet.For questions 50-55, markY (for YES) if the statement agrees with the information given in the passage;N (for NO) if the statement contradicts the information given in the passage;NG (for NOT GIVEN) if the information is not given in the passage.For questions 56-59, complete the sentences with the information given in the passage.In 1945 leaders from 51 countries met in San Francisco, California, and organized the United Nations (often called the UN). World War II had just ended. Millions of people had died, and there was destruction everywhere. People hoped they could build a future of world peace through this new organization.The United Nations has four main goals and purposes:1.To work together for international peace and to solve international problems;2.To develop friendly relations among nations;3.To work together for human rights for everyone of all races, religions, and of both sexes;4.To build a center where nations can work together for these goals.Today almost every country in the world is a member of the UN. Each country has signed an agreement that says:1. All members are equal.2. All members promise to solve international problems in a peaceful way.3. No member will use force against another member.4. All members will help the UN in its actions.5.The UN will not try to solve problems within countries except to enforce international peace.Obviously, the United Nations has not been completely successful in its goals. There have been several wars since 1945. However, the organization has helped bring peace to some countries that were at war. It has helped people who left their countries because of wars. It has helped bring independence to colonies.The main United Nations organization is in New Y ork City, but the UN has a “family” of other related organizatio ns all over the world. These organizations try to provide a better life for everyone. One example is UNICEF, an organization that provides food, medical care, and many other services for poor children wherever they live. Another example is the World Health Organization, which develops medical programs all over the world.There are thousands of UN workers in developing countries. They work as planners to increase production in farming and industry. They provide medical services, improve education programs, and spread scientific information. They develop programs that provide jobs and better living conditions. They help countries control their population growth.The United Nations also holds large international conferences, where people meet to discuss important world issues. One conference was about the uses and ownership of oceans. Another was about women. There are also International Years. In these special years, people work together to improve situations and solve problems. One year was the International Year of the Child.For centuries countries have fought each other, and powerful countries have taken control of weaker ones. It is very difficult to persuade nations to live together in peace. Nevertheless, the United Nations is attempting to do this. It is the only organization that unites the world in the search for peace.Section C (10 marks)In this section, there is one passage followed by 5 questions. Read the passage carefully, and then answer the questions in as few words as possible (not more than 10 words). Remember to write the answers on the Answer Sheet.Questions 60-64 are based on the following passage.A language is a system of sounds, gestures, or characters used by humans to communicate their ideas and feelings. There are about 4,000 spoken languages in the world. Some are spoken by millions of people. Other languages have only a few speakers.All languages have rules for forming words and for ordering those words in sentences. In written languages, meaning is expressed through a system of characters and rules for combining those characters. In spoken languages, meaning is expressed through a system of sounds and rules for combining those sounds. Many deaf people use sign languages, in which gestures do the work of the sound system of spoken languages.Word order is more important in English than it is in some other languages, such as Russian. The sound system is very important in Chinese and in many languages spoken in West Africa.Languages are always changing, but they change very slowly. People invent new words for their language, borrow words from other languages, and change the meanings of words as needed. For example, the English word byte was invented by computer specialists in 1959. the English word tomato was borrowed from Nahuatl, and American Indian language spoken in Mexico. The English word meat once referred to food in general.There are several major language families in the world. The languages in each family are related, and scientists think they came from the same parent family. Language families come in different sizes. The Austronesian family contains at least 500 languages, including Pilipino, Malay, and Maori. The Basque language, spoken in northern Spain, is the only member of its language family.The Indo-European language family contains 55 languages, including English, German, Spanish, Russian, and Hindi.Another language family is Sino-Tibetan, which includes Chinese, Burmese, and Tibetan. The Afro-Asiatic family includes Arabic, Hebrew, and Amharic. There are about 150 American Indian languages spoken today. These languages have many differences and have been divided into more than 50 language families.People learn languages by listening, copying what they hear, and using the language. Most children learn their first languages easily, and sometimes other languages as well. Adults often must work harder at learning a second language.Questions:Section D (12 marks)In this section, there is one passage followed by a summary. Read the passage carefully and complete the summary below by choosing a maximum of three words from the passage to fill in each of the spaces, 65-70. Remember to write the answers on the Answer Sheet.Questions 65-70 are based on the following passage.Welcome to “Software World” --- bringing you the very latest information on what is currently available on CD-ROM. Are you a director or producer looking for an unusual actor to play a part in a new movie project, or with that special look for a new commercial on TV? OK. The usual procedure would be to contact a theatrical agency, who would try and sell you the idea of using one of the actors listed on their books. Books? Too old-fashioned for you? Then get yourself a copy of this latest electron ic database called “The Electronic Curtain”.The brainchild of casting agent Fred Harkney of the Better Talent Agency, he says he got the idea of an actor’s directory from his son playing computer games. Noting that junior had to type in the details of the characters in his favorite game, he realized he could do the same for the actors he represents. Eventually, he came to include information on nearly three quarters of the approximately 34,000 actors registered and looking for work in Britain. With some theatrical agencies boasting that they represent over 500 performers, the need for this product is not hard to fathom. It can be a nightmare trying to remember just which actor has done what, or just what an actor can do. The database lists details of over 5,500 actors: TV shows they have appeared in, special skills they possess --- everything down to the color of their eyes and other distinguishing physical features. By entering the details of the type of person you are looking for, the database quickly locates only those persons with the particular qualities requested.One problem though, is that many actors feel it is too impersonal, and they could be missing out on much needed auditions for parts in theatrical shows. On the other hand, it might just get them that elusive job. The days of nervous nail-biting while waiting around to give an audition could well and truly be over. And all because of a small plastic disk. For product details ring this number now: 0171-379-60000.Summary:Part IV Cloze (15 minutes, 15 marks)Section A (5 marks)There are 5 blanks in the passage. Use the word given on the right-hand side to form a word that fits in each blank. Remember to write the answers on the Answer Sheet.needs to be rediscovered is conscious relaxation. With this in (85) m______ we must apply ourselves to understanding stress and the nature of its causes, however deep-seated. Part V Translation (15 minutes, 15 marks)Section A (8 marks) Translate the underlined sentences of the following passage into Chinese. Remember to write the answers on the Answer Sheet. After my mother passed away, my dad tried even harder to stay healthy and active. Every morning, until the weather turned too cold, he swam in the turquoise pool in the complex where he lived. (86) Each day, no matter how he felt, he swam one more lap than the previous day, just to prove there was always room for improvement. Every few days he reported the new number of laps to me, pride edging his voice.By his late seventies, in spite of swimming and working six days a week, my dad had noticeably dwindled in strength and energy. By age eighty-one he was in poor health and had to retire. (87) He pretended he didn’t need to lean heavily on me for support as we walked slowly, and I pretended not to notice. His mind was clear, but congestive heart problems and disabling arthritis had worn him down. One day he said, “In case of an emergency, I do not wish to be kept alive by any extraordinary means. I’ve signed an official paper to this effect.” He smiled his wonderful, broad grin and said, “I’ve been blessed to have had your mother as my wife and you as my only child, and I’m ready to go.”Less than a month later he had a heart attack. In the emergency room, he again reminded his doctor and me of his wishes, but I couldn’t imagine, in spite of this latest crisis, that he wouldn’t always be saying, “Have I told you yet today that I adore you?”(88) He was miserable in intensive care; tubes seemed to come from every opening. But my dad still had his sense of humor, asking me, “Does this mean we can’t keep our lunch date tomorrow?” His voice faltered.“I’ll be here to pick you up and we’ll go someplace special,” I answered, a lump in my throat.(89) Dad refused to look at me for the first time in his life and turned toward the blank green wall next to his hospital bed. There was a painful silence between us. He said, “I don’t want you to remember me like this. Promise me you won’t, darling! And please go now --- I’m so miserable. Section B (7 marks)Translate the following sentences into English, using the words given in the brackets. Remember to write the answers on the Answer Sheet.90. 她在阳光下只晒了一会儿,脸就开始变红了。

2021-2022学年安徽省黄山市全国计算机等级考试C语言程序设计测试卷(含答案)

2021-2022学年安徽省黄山市全国计算机等级考试C语言程序设计测试卷(含答案) 学校:________ 班级:________ 姓名:________ 考号:________一、单选题(12题)1.第17题若有条件表达式(exp)?a++:b--,则以下表达式中能完全等价于表达式(exp)的是A.(exp==0)B.(exp!=0)C.(exp==1)D.(exp!=1)2.有下列程序:main{int i,j,x=0;for(i=0,i<2;i++){x++;for(j=0;j<=3;j++){if(j%2)continue;x++:}x++:}printf("x=%d\n",x);}程序执行后的输出结果是( )。

A.x=4B.x=8C.x=6D.x=123.有以下程序#include<stdio.h>main(){int a=5,b=l;t=(a<<2)|b;printf("%d\n",t);}程序运行后的输出结果是______。

A.21B.11C.6D.14.若定义了函数double*function(),则函数function的返回值为()。

A.实数型B.实数的地址C.指向函数的指针D.函数的地址5.下列程序的运行结果是( )。

#include<stdio.h>void fun(int*S,int*p){ static int t=3:*p=s[t];t--;}void main{ int a[]={2,3,4,5),k;int x;for(k=0,k<4,k++){ fun(a,&x);printf("%d,",x);}}A.5,4,3,2B.2,3,4,5C.2,2,2,2D.5,5,5,56.以下定义数组的语句错误的是()。

A.int num[]={1,2,3,4,5,6};B.int num[][3]={{1,2},3,4,5,6};C.int num[2][4]={{1,2},{3,4},{5,6}};D.int num[][4]={1,2,3,4,5,6};7.有以下程序:#include <stdio.h>int a=1,b=2:void funl(int a,int b){printf( "%d%d",a,b);}void fun2(){ a=3;b=4;}main(){ funl(5,6);fun2();printf("%d%d\n",a,b);}程序运行后的输出结果是()。

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

一、单项选择题1. 函数重载是指( A )。

A. 两个或两个以上的函数取相同的函数名,但形参的个数或类型不同B. 两个以上的函数取相同的名字和具有相同的参数个数,但形参的类型可以不同C. 两个以上的函数名字不同,但形参的个数或类型相同D. 两个以上的函数取相同的函数名,并且函数的返回类型相同2. 下列对引用的陈述中不正确的是( C )。

A. 每一个引用都是其所引用对象的别名,因此必须初始化B. 形式上针对引用的操作实际上作用于它所引用的对象C. 一旦定义了引用,一切针对其所引用对象的操作只能通过该引用间接进行D. 不需要单独为引用分配存储空间3. 关于封装,下列说法中不正确的是( A )。

A. 通过封装,对象的全部属性和操作结合在一起,形成一个整体B. 通过封装,一个对象的实现细节被尽可能地隐藏起来(不可见)C. 通过封装,每个对象都成为相对独立的实体D. 通过封装,对象的属性都是不可见的4. 假定AA为一个类,a为该类公有的数据成员,px为指向该类对象的一个指针,则访问px所指对象中数据成员a的格式为( C )。

A. px(a)B. px[a]C. px->aD. px.a5. 假定AA为一个类,int a()为该类的一个成员函数,若该成员函数在类定义体外定义,则函数头为( A )。

A. int AA::a()B. int AA:a()C. AA::a()D. AA::int a()6. 类的构造函数是在定义该类的一个( C )时被自动调用执行的。

A. 成员函数B. 数据成员C. 对象D. 友元函数7.在公有派生情况下,有关派生类对象和基类对象的关系,不正确的叙述是( C )A.派生类的对象可以赋给基类的对象B.派生类的对象可以初始化基类的引用C.派生类的对象可以直接访问基类中的成员D.派生类的对象的地址可以赋给指向基类的指针8.对于类定义class A{public:virtual void func1( ){ }void func2( ){ }};class B:public A{public:void func1( ){cout<<〃class B func 1〃<<end1;}virtual void func2( ){cout<<〃class B func 2〃<<end1;}};下面正确的叙述是( C ) A、 A::func2( )和B::func1( )都是虚函数B、A::func2( )和B::func1( )都不是虚函数C、 B::func1( )是虚函数,而A::func2( )不是虚函数D、B::func1( )不是虚函数,而A::func2( )是虚函数9. 对于int *pa[5];的描述,(D )是正确的。

A、pa是一个指向数组的指针,所指向的数组是5个int型元素;B、pa是一个指向某个数组中第5个元素的指针,该元素是int型变量;C、pa[5]表示某个数组的第5个元素的值;D、pa是一个具有5个元素的指针数组,每个元素是一个int型指针;10. 下述静态数据成员的特征中,( D )是错误的。

A、说明静态数据成员时前边要加修饰符static;B、静态数据成员要在类体外进行初始化;C、引用静态数据成员时,要在静态数据成员名前加<类名>和作用域运算符;D、静态数据成员不是所有对象所共用的。

11. 以下关于函数模板叙述正确的是( C )。

A. 函数模板也是一个具体类型的函数B. 函数模板的类型参数与函数的参数是同一个概念C. 通过使用不同的类型参数,函数模板可以生成不同类型的函数D. 用函数模板定义的函数没有类型12. 下列( B )的调用方式是引用调用。

A. 形参和实参都是变量B.形参是指针,实参是地址值C. 形参是引用,实参是变量D.形参是变量,实参是地址值13. 为了提高程序的运行速度,可将不太复杂的功能用函数实现,此函数应选择( A )。

A. 内联函数B.重载函数C.递归函数D.函数模板14. 面向对象方法的多态性是指( C )。

A. 一个类可以派生出多个特殊类B. 一个对象在不同的运行环境中可以有不同的变体C. 针对一消息,不同的对象可以以适合自身的方式加以响应D. 一个对象可以是由多个其他对象组合而成的15. 在类作用域中能够直接使用该类的( D )成员名进行访问。

A. 私有B. 公用C. 保护D. 任何16. 假定一个类AB只含有一个整型数据成员a,用户为该类定义的带参构造函数可以为( D )。

A. AB() {}B. AB(): a(0){}C. AB(int aa=0) {a=aa;}D. AB(int aa) {}17. 对于任一个类,用户所能定义的构造函数的个数至多为( D )。

A. 0B. 1C. 2D. 任意个18. 对类对象成员的初始化是通过构造函数中给出的( D )实现的。

A. 函数体B. 初始化表C. 参数表D. 初始化表或函数体19. 被非静态成员函数访问的类的数据成员( A )。

A. 可以是非静态数据成员或静态数据成员B. 不可能是类的静态数据成员C. 只能是类的非静态数据成员D. 只能是类的静态数据成员20. 引入友元的主要目的是为了( C )。

A. 增强数据安全性B. 提高程序的可靠性C. 提高程序的效率和灵活性D. 保证类的封装性21.下面有关重载函数的描述中,正确的是( C )。

A)重载函数必须具有不同的返回值类型B)重载函数形参个数必须不同C)重载函数必须具有不同的形参表D)重载函数名可以不同22.假定MyCIass为一个类,那么下列的函数说明中,( D )为该类的析构函数。

A)void~MyClass(); B)~MyClass(int n);C)MyClass( ); D)~MyClass( );23.( A )是以一种完全通用的方法来设计函数或类而不必预先说明将被使用的每个对象的类型。

A)模板B)类C)对象D)函数24.下面关于静态成员函数的途术中错语的是( B )。

A) 静态成员函数可以有返回值 B) this指针可以指向静态成员函数C) 静态成员函数可以具有指针参数D) 静态成员函数可有具有返回值类型25.定义类模板时要使用关键字( D )。

A)private B) public C)delete D)template26.下列是重载乘法运算符的函数原型声明,其中错误的是( A )。

A)MyClass operator*(double,double);B)MyClass operator*(double,MyClass);C)MyClass operator*(MyClass,double);D)MyClass operator*(MyClass,MyClass);27.以下( C )成员函数表示纯虚函数。

A)virtual int fun(int) B)void fun(int)=0C)virtual void fun()=0 D)virtual void fun(int){ } 28.关于纯虚函数,下列表述中正确的是( A )。

A)纯虚函数的声明总是以"=0"结束B)含有纯虚函数的类可以定义对象C)含有纯虚函数的类是抽象类D)上面都是错误的29.( C )解决二义性问题。

A)能使用作用域分辨操作符B) 只能使用虚基类C) 使用作用域分辨操作符或虚基类D) 上面都不能30.实现编译时的多态性要使用( A )。

A)重载函数B)析构函数C)构造函数D)虚函数31、C++语言是从早期的C语言逐渐发展演变而来的.与C语言相比,它在求解问题方法上进行的最大改进是(B)、面向过程B、面向对象C、安全性D、复用性32、考虑函数原型void test(int a,int b=7,char="*"),下面的函数调用中,属于不合法调用的是(C)、test(5); B、test(5,8); C、test(6,"#") D、test(0,0."*");;33、下面有关重载函数的说法中正确的是(C)、重载函数必须具有不同的返回值类型;B、重载函数形参个数必须不同;C、重载函数必须有不同的形参列表D、重载函数名可以不同;34、下列关于构造函数的描述中,错误的是(D)、构造函数可以设置默认参数;B、构造函数在定义类对象时自动执行C、构造函数可以是内联函数;D、构造函数不可以重载35. 关于对象概念的描述中,(A )是错误的。

A、对象就是C语言中的结构变量;B、对象代表着正在创建的系统中的一个实体;C、对象是一个状态和操作(或方法)的封装体;D、对象之间的信息传递是通过消息进行的;36. 对于int *pa[5];的描述,(D)是正确的。

A、pa是一个指向数组的指针,所指向的数组是5个int型元素;B、pa是一个指向某个数组中第5个元素的指针,该元素是int型变量;C、pa[5]表示某个数组的第5个元素的值;D、pa是一个具有5个元素的指针数组,每个元素是一个int型指针;37. 下述静态数据成员的特征中,( D )是错误的。

A、说明静态数据成员时前边要加修饰符static;B、静态数据成员要在类体外进行初始化;C、引用静态数据成员时,要在静态数据成员名前加<类名>和作用域运算符;D、静态数据成员不是所有对象所共用的。

38. ( A )是析构函数的特征。

A、一个类中只能定义一个析构函数;B、析构函数与类名不同;C、析构函数的定义只能在类体内;D、析构函数可以有一个或多个参数。

39. 已知:p是一个指向类A数据成员m的指针,A1是类A的一个对象。

如果要给m赋值为5,( C )是正确的。

A、A1.p=5;B、A1->p=5;C、A1.*p=5;D、*A1.p=5;40. 派生类的对象对它的基类成员中( C )是可以访问的。

A、公有继承的公有成员;B、公有继承的私有成员;C、公有继承的保护成员;D、私有继承的公有成员。

41.下列表示引用的方法中,正确的是(A)。

(A)int m=10; int &x=m; (B) int m=10; int &y=10;(C) int m=10; int &z; (D)int m=10; ifloat &t=&m;42.下列标识符中,( C )是文件作用域。

(A)函数形参(B)语句标号(C)外部静态标识符(D)自动类标识符43.在程序中,函数声明语句正确位置是(D)(A)随便任何位置(B)不包含在另一函数中的任何位置。

(C)该函数使用前的任何位置(D)该函数使用前的任何位置,但不包含在另一函数中44.下面有关函数重载的程序段正确的是(A) 。

相关文档
最新文档