当前位置:文档之家› 词法习题

词法习题

词法习题
词法习题

把下列词按构词法归类(派生词划出词根)

western everyoneapologize enlarge puzzlement awake deepen Marxism high jump dangerous overwork growth traditional 8-year-old

friendshipyearly declass ninety beautify Italian wonderful liberation Asian kindness smoke quick-frozen thinker postwar Chinese misunderstand cooperation operator triangle horrible sixteen. angrily five-yuan fishmaybe man-made windy white-wash foolish unfriendly marriage disagree inter—factory downward(s) remarry vice-chairman invisible hopeless new-type mixture byproduct illegal artist instructive multicolored impossible irregular decisionkind-hearted mathematics telescope miniskirt empty outdoor within

答案:

western apologizeenlarge puzzlementawake deepen Marxism dangerousoverwork growth traditionalfriendship yearlydeclass ninety beautify Italian wonderful liberation Asian kindness thinker postwar Chinesemisunderstand cooperation operatortriangle horrible sixteen. Angrilydisagree windy foolishunfriendly marriageinter—factory downward(s)remarry vice-chairman invisible hopeless mixturebyproduct illegal artist instructivemulticolored impossible irregular decision mathematicstelescope miniskirt outdoor

合成词

high jump white-wash everyone maybe within five-yuan kind-hearted man-made new-type 8-year-old quick-frozen

转化词

smoke empty fish

名词

1、The ________ is just around the corner and you won't miss it.

A. bicycle's shop

B. bicycle shop

C. bicycles shop

D. bicycles' shop

2. —Who did you spend last weekend with?

—_____.

A. Palmer’s

B. The Palmers’

C. The Palmers

D. The Palmer’s

3. Last Sunday his family went to _____.

A. the child’s Park

B. the Children’s park

C. the Children’s Park

D. the Childrens’ park

4. Peter is _____ brother.

A. Tom and Jack

B. Tom’s and Jack’s

C. Tom’s and Jack

D. Tom and Jack’s

5.His sister had beautiful black long _____ bur he could see some white _____.

A. hairs…hair

B. hair…hairs

C. hairs…hairs

D. hair… hair

6. There are many _____ in the hospital.

A. woman doctors

B. women doctors

C. woman doctor

D. doctor women

7. Both Marx and Engels were _____.A. Germans B. Germen C. from German D. Germany

8. Did you ask for _____ leave?

A. two days’

B. two-days

C. two days

D. two-day’s

9. I found the telephone number in the _____.

A. phone book

B. phone’s book

C. book of phone

D. phones’ book

10.Nobody would believe the man would end in _______ when he started the project , but it turned out to be

______.

A. failures…failure

B. a failure …failure

C. failure…a failure

D. failure…failure

11.The young man over there is a scholar of ______ . Particularly , he has ______of the world

history.

A. wide knowledge… a good knowledge

B. a wide knowledge…good knowledge

C. a wide knowledge…a good knowledge

D. wide knowledges…a good knowled ge

12. I went to my ______ on Sunday and had a good time there.

A. uncle

B. uncles

C. uncle’s

D. uncles’

13.This is my ______ book.

A. brother John

B. brother’s John

C. brother’s John’s

D. brother John’s

14.______ came that some teachers would attend our class.

A. Word

B. A word

C. Words

D. The Word

15. It was estimated that the thieves had stolen ______worth of jewelry from the biggest department shop in the city .

A. one-million–dollar

B. one million dollar’s

C. one million dollars’

D. one million dollars

16.He invited all of his _________ to join his wedding party

A. comrade-in-arms

B. comrades –in-arms

C. comrades-in-arm

D. comrade-in-arm

17.He has written several books, but his latest works ______ well known among his friends.

A. have

B. have been

C. is

D. are

18.I met a lot of friends at the film festival .He is ________ of course.

A. an old friend of me

B. an old friend of mine

C. an old friend of my

D. my an old friend

名词答案1-5 BCCDB 6-10 BAAAC 11-15 ACD A C16-18 B.D.B

冠词

冠词高考最新热门题

1. --John, there is ________Mr. Wilson on the phone for you.

--I'm in________ bath.

A. a;the

B. the;a

C. a; ×

D. the; ×

2.The most important thing about cotton in history is________part that it played in________Industrial Revolution.

A. ×; ×

B. the; ×

C. the;the

D. a;the

3. While he was investigating ways to improve the telescope, Newton made________discover which completely changed________ man'sunderstanding of color.

A. a; ×

B. a; the

C. ×;the

D. the;a

4. It is________world of wonders,________ world where anything can happen.

A. a;the

B. a;a

C.the;a

D. ×;×

Ⅱ题点经典类型题

1. ________recent report stated that the number of Spanish speakers in the U. S. would be higher than the number of English speakers by ________year 2090.

A.A;the

B. A;不填

C. The;不填

D. The;a

2. They say that________Japanese language is particularly difficult for________European.

A. the;an

B. a;a

C. the;a

D. a;the

3.—Would you lend me________paper to write________paper?

--Sorry. I haven't any.

A. any; some

B. any; a

C. a; some

D. some; a

4. At noon we reached________small village________east of the town.

A. the;the

B. a;the

C. a;不填

D. a;an

5.The building of that school was completed inAugust of 20 not in September 20.

A.不填;the

B. the; the

C. 不填;不填

D. the;不填

6. MrSmith has_______great interest in history,especially in history of the Ming Dynasty.

A. a;the

B. a;不填

C. 不填; the

D. 不填;a

Ⅲ新高考命题探究

1. Historically,_______ main material for making tables has been wood, but_______ metal and stone have also

been used.

A the;the B. the;不填C. 不填; the D. 不填;不填

2.--What did you think of_______ president?

--I didn't care for him at first, but after_______time I got to like him.

A. the;a

B. 不填;the

C. the;the

D. 不填;a

3. He had decided to give it up, but on secondthoughts he decided to try_______third time.

A. the;a

B.不填;不填

C.a;a

D.不填;a

4. It is_______ great pleasure to go tocinema after a week's hard work.

A. a;the

B. the;a

C. a;a

D. the;the

5. Granny took the little girl by_______ hand and thanked her for her help.

A. a

B. her

C. his

D. the

探究性命题综合测试(考场热身)

1. Having received training of MS. Company. He was offered _______important position in management.

A. the;an

B. 不填;an

C. the;不填

D. an; a

2.For many Beijingers, dreams of living in_______ green area are becoming reality.

A. a;a

B. the;the

C. 不填;不填

D. a;the

3. --Did you enjoy yourself yesterday?

--Yes. As you saw, _______party went on in most pleasant atmosphere.

A. the;a

B. the;the

C. a;the

D. a;a

4.I often have conversations with John over_______telephone,while I keep in touch with Tom by letter.

A. 不填; the

B. 不填;a

C. the;不填

D. the;a

5. Many_______scientist wants to be_______ second Newton.

A a;the B. a;aC.不填;a D. 不填; the

6. Charley Oakley,_______ NBA star, hasn't lost_______ game in the past three years.

A. an;a

B. a;the

C. the;a

D. an;the

7 --Were you educated in_______ good school?

--Yes, _______very good one in my hometown.

A.the; the

B. a; a

C. the;a

D. a;不填

8. USA Today, in_______ front page story, also reported on Friday that the USspecialforces have moved into

Afghanistan with _______orders to catch or kill Bin Laden.

A. the;the

B. the;不填

C. a;the

D. a;不填

冠词答案:

Ⅰ高考最新热门题

1答案:A 不定冠词修饰人名时,表示初次提到一个人,或者说话者认为没有必要或不想具体说明是哪一个。根据谈话的内容。所说的bath(澡堂,浴室)显然是说话双方都知道的,故前面须加定冠词,因此答案选A.

2答案:C 指导:part意指作用。指工业革命时期所起的作用应加the,由普通名词构成的专有名词前用the因此C为正确答案。

3.答案:A 指导:根据句子的意思,牛顿的一次发现,是泛指,应用定冠词;而人类的观念,不是某一个人,故在inBn前不能用冠词,答案选A.

4.答案:B 指导:世界上独一无二的事物前一般用定冠词,但当此名词带有定语修饰时,前面应用不定冠词,故答案选B.

Ⅱ题点经典类型题

1.答案:A句意为:最近的一份报告指出,到2090年美国讲西班牙语的人数将超过讲英语的人数。本句中的a recent report 表示最的的几次报告中的某一次。by the year 2090为表示年份的固定表达方式,还可改为by 2090.所以答案为A.

2.答案:C 指导:the Japanese language=Japanese(日语);a European欧洲人,表泛指。

3答案:D 指导:第一个paper是“纸”(不可数),第二个是“论文”(可数)。

4答案:C 指导:第一空为泛指;eastofthetown=to the east of the town.题干句中的east是副词,之前当然不可用冠词,east 为名词时,之前往往加定冠词the.

5答案:D 指导:注意这两种表达方式:in the August of 20另一种表达in August 20

6.答案:A 指导;interest既可作可数名词,又可作不可数名词,其前有形容词时,通常加as第二空必须加the,表特指。

Ⅲ新高考命题探究

1答案:B 指导:第一空是特指“某种材料”;第二空后的metal和stone都是物质名词,即不可数名词,表泛指,不加任何冠词。

2答案:A 指导:职位名词作宾语须有冠词:afteratime一段时间以后。

3答案:D 指导:a second thoushts是习语、意为“在慎重考虑以后”。另外:upon/withathought立刻,马上;atthethought of想到in thought左思右想。

4答案:A 指导:agreat pleasure和go to the cinema为惯用法。

5答案:D 指导:take sb.by the hand为固定搭配。

探究性命题综合测试(考场热身)

1答案:A 指导:第一空特指MS.公司的培训,因此用the;第二空表示某一个重要的职位,用an.

2 A指导:第一空表示某一个绿化区,故用a,第二空表示梦想成为一种现实,用a.

3答案:A 指导:第一空表示说话人和听话人都知道的事,故用the;第二空表示在一种非常和谐的氛围中,amost上当于a very.

4答案:C 指导:overthetelephone和byletter都是习语。

5答案:B 指导:第一空:“manya+单数名词”是一个搭配,表示“许多”。第二空:a+序数词表示"another(另一个)”,a+专有名词表示:一个与此相类似的人/物。

6答案:A 指导:NBA读作['en'bi:'ei],以元音音素开头,故用“an;第二空表示:在最近三年中没有输过一场比赛,故用“a”.

7. 答案:B 指导:这两个空都表示:一所好学校,因此都用“a”.

8.D 指导:头版登载的故事很多,此处为其中之一,所以用不定冠词;order表命令时,不与冠词连用。

代词

1.—There's coffee and tea; you can have _______.

—Thanks.A. either B. each C. one D. it

2.—Susan, go and join your sister cleaning the yard.

—Why_________? John is sitting there doing nothing. A. him B. he C. I D. me

3.— I hear they aren't pleased with the house you've chosen for them.

—Well,_________could they live in such comfort?

A. where else

B. what else

C. how

D. why

4.Shanghai is really a fascinating city and we've decided to stay for_________ two weeks.

A. another

B. other

C. the other

D. other's

5. The cruelty of the Germans towards the Jews and ___________ of the Japanese towards their prisoners, filled

_______ with horror. A. those; someone B. that; everyone C. it; no one D. this; anyone

6. Ask __________ American which city has the worst air pollution, and the answer is sure to be Los Angeles.

A. some

B. every

C. any

D. all

7.—Your coffee smells great—It's from Mexico. Would you like_________?

A. it

B. some

C. this

D. little

8. Equipped with modern facilities ,today's libraries differ greatly from ________.

A. those of the past

B. the past

C. which of the past

D. these past

9. The mother didn't know _______to blame for the broken glass as it happened while she was out.

A. who

B. when

C. how

D. what

10. -What is the man, do you know?

-I don’t know exactly. But I think he can be _________ but a teacher.

A. anybody

B. something

C. anything

D. everybody

11. Meeting my uncle after all these years was an unforgettable moment, _______I will always treasure.

A. that

B. one

C. it

D. what

12.—He was nearly drowned once.

—When was _______ ? —_______was in 1998 when he was in middle school.

A. that; It

B. this; This

C. this; It

D. that; This

13.—You're always working. Come on, let's go shopping.

—_____you ever want to do is going shopping. A. Anything B. Something C. All D. That 14. — Can I help you?

—I’d like to buy a present for my father’s birthday, ______ at a proper price, but of great use.

A.that B.anyone C.one D.everything

15.The Parkers bought a new house but_________ will need a lot of work before they can move in.

A. they

B. it

C. one

D. which

16._________is known to everybody ,the moon travels round the earth once every month.

A. It

B. As

C. That

D. What

17. Both teams were in hard training; ________ was willing to lose the game.

A. either

B. neither

C. another

D. the other

18. —Do you think they have as many books as they’ve described? ()

—Well,in my opinion, they have few books, if ___________。

A.some B.any C.none D.many

19.In fact ________ is a hard job for the police to keep order in an important football match.

A. this

B. that

C. there

D. it

20.If this dictionary is not yours, _______ can it be?

A. what else

B. who else

C. which else’s

D. who else,s

21.Some of the wheat is from Canada. What about ________ ?

A. another

B. the other

C. others

D. the rest

22.—Do you want tea or coffee?

—________. I really don't mind.A. Both B. None C. Either D. Neither

23.One of the sides of the board should be painted yellow, and ________ .

A. the other is white

B. another white

C. the other white

D. another is white

24.Few pleasures can equal ________ of a cool drink on a hot day.

A. some

B. any

C. that

D. those

25.We needed a new cupboard for the kitchen. So Peter made _____ from some wood we had.

A. it

B. one

C. himself

D. another

26.---- Do you like ______ here? ---- Oh, yes. The air, the weather, the way of life. Everything is so nice.

A. this

B. these

C. that

D. it

27. That' s an unpleasant thing to say about your father after______ he' s done for you.

A. something

B. anything

C. all

D. that

28. I will never know what was on his mind at the time, nor will________.

A. anyone

B. anyone else

C. no one

D. no one else

29. I invited Joe and Linda to dinner, but ______ of them came.

A. neither

B. either

C. none

D. both

30. She doesn’t know anyone here. She has got ______to talk to.

A. anyone

B. someone

C. everyone

D. no one

31. I got the story from Tom and people who had worked with him .

A. every other

B. many others

C. some other

D. other than

32.—Which of the three ways shall I take to the village?

—_________ way as you please.

A.Each B.Every C.Any D.Either

33 .I intended to compare notes with a friend, but unfortunately _______couldn’t spare me even one minute.

A. they

B. one

C. who

D. it

34. --One week’s time has been wasted.--I can’t believe we did all that work for_______ .

A. something

B. nothing

C. everything

D. anything

35. There’s _____ cooking oil left in the house. Would you go to the corner store and get _____?

A. little; some

B. little; any

C. a little; some

D. a little; any

36. I have done much of the work . Could you please finish in two days ?

A.the rest B.the other C.another D.the others

37. I had to buy _________ these books because I didn’t know which one was the best.

A. both

B. none

C. neither

D. all

38. Playing tricks on others is we should never do.

A. anything

B. something

C. everything

D. nothing

39. I like _______ in the autumn when the weather is clear and bright.

A. this

B. that

C. it

D. one

40. It is easy to do the repair , you need is a hammer and some nails .

A. Something

B. All

C. Both

D. Everything

41. We had three sets of garden tools and we seemed to have no use for ______.

A. none

B. either

C. any

D. each

42. When she was awake, she found that she was standing on ________ seemed to be a piece of stone. A.that B.which C.what D.it

43. If they were going to kill us,this was as good a place as _______.

A.some B.it C.one D.any

44. I'd appreciate _______ if you could lend me a hand with my homework.

(A) so (B) it (C) that (D) you

45. See to _____ that you are back before 3 o’clock. A.which B.不填C.one D.it

46. --Which of those silk shirts do you like most?

-- ________ of them. They are both nice and comfortable to wear.

A. Both

B. Neither

C. All

D. None

47. --There must be a dozen pens in this house but I can never find one when I need one.

--Keep looking, ______is sure to turn up.A. One B. It C. That D. This

48. —Which of these two ties will you take?

—I'll take _______ to give me a change sometimes.A.either B.neither C.all D.both

49. ________ in the office had made a mistake, and the firm regretted causing the customer inconvenience.

A. Someone

B. Anyone

C. Everyone

D. No one

50. Clothing made of man-made fibers has certain advantages over ______made of natural fibers like cotton,wool or silk.

A.the ones

B.one

C.that

D.what

51. Professor Zhang gave all the textbooks to all the pupils, except ________ who had already taken them.

A. these

B. ones

C. the ones

D. the others

52. - What an amazing film! It's the most interesting film I've ever seen.

- But I'm sure it won't interest ___________.

A. somebody

B. anybody

C. everybody

D. nobody

53. I'd appreciate _______ if you could lend me a hand with my homework.

A. so

B. it

C. that

D. you

参考答案:

1-5 ADAAB 6-10 CBAAC 11-15 BACCB 16-20 BBBDD

21-25 DCCCB 26-30 DCBAD 31-35 CCABA 36-40 ADBCB

41-45 CCDBD 46-50 CADAC 51-53 CCB

数词

1. Two___________ died of cold last winter.

A. hundreds old peoples

B. hundred old people

C. hundreds old people

D. hundred old peoples

2. The hero of the story is an artist in his_______.

A. thirtieth

B. thirty

C. thirty’s

D. thirties

3. In ______ Marx began to learn Russian.

A. the 1870s

B. 1870’s

C. 1870s

D. his 1870’s

4. In Pisa, there is________ leaning tower.

A. an 180-foot-high

B. a 180-feet high

C. a 180-foot-high

D. an 180 feet-high

5. Shortly after the accident, __________ policemen were sent to the spot to keep order.

A. dozens of

B. dozen

C. dozen of

D. dozen

6. There were __________ people in the room.

A. two score of

B. tv0o scores of

C. two score

D. two scores

7. __________of the students in our class are from the north.

A. Two nineth

B. Two ninth

C. Two ninths

D. Two ninetbs

8. She bought her son two __________ pencils.

A. dozen of

B. dozens

C. dozen

D. dozens of

9. _________cave that George has discovered in his lifetime is near the Alps.

A. The hundredth

B. The hundred

C. Hundredth

D. A hundredth

10. Mr Smith_________ me to buy several _________ eggs for the dinner party.

A. asked, dozen

B. suggested, dozens of

C. had, dozen

D. persuaded, dozens

11. The children often go to school_____.

A. by two and three

B. by two or three

C. by twos and threes

D. by twos or threes

12. She waters the flower .

A. each three days

B. every third days

C. every three days

D. each other day

13. He will be back in_________.

A. a or two days

B. one or two days

C. one day and two

D. one and two day

14. He’s been here for_______.

A. one and a half hours

B. one and half an hour

C. one and half hours

D. one and a half hour

15. The working women in the city got paid_________.

A. by hours

B. by an hour

C. by hour

D. by the hour

16. I’ve already covered ___________ pages of the book.

A. he first twenty

B. a twenty first

C. the twenty first

D. a flrst twenty

17.We’ll stay here for_________.

A. other ten days

B. another ten days

C. another ten day

D. ten another days

18. ________broke out in 1939.

A. World War Second

B. The World War Second

C. Second World War

D. World War Two

19.He lives in_________ A. Room 311 B. 311 Room C. the 311 Room D. the Room 311 20.The earth is nearly_________the moon.

A. 50 time the size of

B. 50 times the size of

C. 50 times as bigger as

D. as big as 50 times

实战演练:

1.______ martyrs have heroically laid down their lives for the people.

a. Thousand upon thousand of

b. Thousand and thousands of

c. Thousands upon thousands of

d. Thousand and thousand of

2.They received ______ of letters about their TV programs.

a. dozen

b. dozen and dozen c score d. dozens

3.Who is that man,______ in the front row?

a. one

b. the one

c. first

d. the first

4.We have produced ______ this year as we did in 1993.

a. as much cotton twice

b. as twice much cotton

c. much as twice cotton

d. twice as much cotton

5.The earth is about ______ as the moon.

a. as fifty time big

b. fifty times as big

c. as big fifty time

d. fifty as times big

6.The population of many Alaskan cities has ______ in the past three years.

a. more than doubled

b. more doubled than

c. much than doubled

d. much doubled than

7.The moon is about _____ in diameter as diameter as the earth.

a. one-three as large

b. one three as large

c. one-third as large

d. one third as large

8.Five hundred yuan a month _____ enough to live on.a. is b. are c. is being d. has been

9.______ of the buildings were ruined.

a. Three fourth

b. Three four

c. Three-fourths

d. Three-four

10.Consult _____ for questions about earthquakes.

a. the six index

b. index six

c. sixth index

d. index numbering six

11.She went to the countryside ______.

a. in the morning at nine/on June first,1968

b. on June first,1968/in the morning at nine

c. at nine in the morning/on June first,1968

d. on June first,1968/at nine in the morning

12.Three-fourths of the surface of the earth ______ covered with water.

a. are

b. is

c. were

d. be

13.This month the production of stainless steel in our steelworks has increased ______ 2,000 tons.

a. with

b. in

c. on

d. by

14.With the miniaturization of the structural components the weight of these electric devices has decreased ________ 30 percent.

a. as

b. with

c. in

d. by

15.The Olympic Games are held ______.

a. every four years

b. every four year

c. every fourth years

d. every four-years

16.As he is not in good health, he goes to his factory only ______ just to learn something about the progress of experiment.

a. once a week

b. one week

c. one time a week

d. one a week

17.Three students ______ in this university come from the South.

a. of ten

b. out of in ten

c. out of ten

d. in tens

18.Strings of the same thickness made of nylon are ______.

a. five times stronger than those

b. five time stronger than those

c. five times strong than those

d. five times stronger as those

19.the wheels of the old wagon are nearly ______ those of a modern car.

a. twice the size of

b. twice size of

c. twice sizes of

d. twice the size of

20.One day on the moon is ______.

a. two Earth week long

b. two Earth weeks long

b. two Earth weeks longer d. two Earth weeks length

数词答案:

1.答:B。hundred,thousand,million,score,dozen与数词连用或与many,several等词连用时,不用复数形式。people指人们,本身是具有复数意义的词,但若指不同国家、不同民族的人时,可用复数。如:We should deepen the friendship between the peoples of the two countries.我们应该加深两国人民之间的友谊。

2. 答:D。inone’s twenties (thirties, forties)在某人二(三、四……)十几岁的时候。in one’s teens 在某人十三至十九年龄段的时候。

3. 答;A.在“十九世纪七十年代”可以说成in the 1870’s 或in the 1870s。

4. 答:C。连字符所连的词做定语时,不用复数形式。

5. 答:A。dozens of 数十

6. 答:A。score与数词,many,several等词连用时,用单数形式.score后常接of,

如two score of eggs。但scores of 表示笼统的数字,意为“数十个”。

7. 答:C.分数词的表示法:分子用基数词,分母用序数词,当分子大于l时,分母用复数的形式。9的序数词为ninth。

8. 答:C.dozen与数词连用,不用复数,另外dozen后一般不与of连用,若接of时,后应有the,these,those等限定词或them,如I want three dozen of the / these / those pencils或I want three dozen of theme。

9. 答:A。第一百个,序数词前应用定冠同。

10. 答:A. dozen 与several, many及数词连用时,不用复数形式,后也不接of,如three dozen pencils。

11. 答:C。by twos and threes 三三两两地

12. 答:C。每几天,不用each来表示,应说every few days;每三天every three days 或every three days; 每隔一天every other day。

13. 答:B。“一两天”可以说成one or two days 或a day or two。

14. 答:A。“一个半小时”可以说成an hour and a half或one and a half hours,

15. 答:D.表示按小时、天、月、打等单位的词应这样表示:by the hour / day / month / dozen; 表示按长度、重量应这样表示:by length / weight.

16. 答;A.头二十页the first twenty pages,后二十页the last twenty pages,头几天the first few days。

17. 答:B。“再用十天时间”可以说成another ten days或ten more days.

18. 答:D。“第二次世界大战”可以说成World War Two或The Second World War。“第一单元”可说成Unit One或The First Unit。

19. 答:A。表示“在几号房间”习惯上用“Room+房间号”。

20. 答:B。表示A是B的多少倍可以说A isk... times the size / length / height / weight / width of B。或A is ... times as big / long / hight as B。

数词练习答案

1 C 6 A 11 C 16 A

2 D 7 C 12 B 17 C

3 D 8 A 13 D 18 A

4 D 9 C 14 D 19 A

5 B 10 B 15 A 20 B

形容词副词

1.People complain that decisions to approve or deny a permit are often ________rather than based on fixed

criteria.(2013·湖北,27)

A.appropriate B.conscious C.arbitrary D.controversial

2.It’s said that the power plant is now ________large as what it was.(2013·安徽,33)

A.twice as B.as twice C.twice much D.much twice

3.He didn’t’t selfishly keep for himself the money inherited from his uncle. Instead,he made a ________contribution to help the community.(2013·湖北,28)

A.commercial B.generous

C.comparable D.profitable

4.Don‘t defend him any more. It’s obvious that he ________destroyed the fence of the garden even without apology.(2013·湖北,29)

A.accidentally B.carelessly C.deliberately D.clumsily

5.It may not be a great suggestion. But before ________is put forward,we’ll make do with it.(2013·新课标全国Ⅱ,9)

A.a good one B.a better one C.the best one D.a best one

6.Everything seemed to be going ________for the first two days after I moved to New York.(2013·辽宁,27) A.vividly B.generally C.frequently D.smoothly

7.This is by far ________movie that I have ever seen.(2013·辽宁,33)

A.an inspiring B.a much inspiring

C.the most inspiring D.the more inspiring

8.I think watching TV every evening is a waste of time—there are ________meaningful things to do.(2013·天津,3)

A.less B.more

C.the least D.the most

9.Tony can hardly boil an egg,still________cook dinner.(2013·新课标全国Ⅰ,25)

A.less B.little

C.much D.more

10.Mary worked here as a ________ secretary and ended up getting a full-time job with the company.(2013·浙江,2)

A.pessimistic B.temporary

C.previous D.cautious

11.If we leave right away,________ we’ll arrive on time.(2013·浙江,6)

A.hopefully B.curiously

C.occasionally D.gradually

12.The Forbidden City attracts a ________ stream of visitors every day,especially during national holidays.(2013·福建,25)

A.constant B.main

C.powerful D.shallow

13.Those poor and needy teenagers were excited to find a shop at the corner where they could buy ________ priced bikes.(2013·福建,31)

A.competitively B.recently

C.reasonably D.affordably

14.A society cannot be successful if it throws tradition away,but it cannot be successful ________ if we do something to stop progress. (2013·福建,35)

A.either B.neither

C.too D.also

15.There are a small number of people involved,possibly ________ twenty.(2013·江西,26)

A.as few as B.as little as

C.as many as D.as much as

16.Mike was usually so careful,________this time he made a small mistake.(2012·浙江,18)

A.yet B.still

C.even D.thus

17.The result is not very important to us,but if we do win,then so much ________.(2012·新课标全国,26) A.the best B.best

C.better D.the better

18.Be ________—you can’t expect me to finish all this work in so little time.(2012·山东,33) A.reasonable B.confident

C.creative D.grateful

19.Interest is as________to learning as the ability to understand,even more so.(2012·安徽,23)

A.vital B.available

C.specific D.similar

20.Queen Elizabeth Ⅱis often thought to be the richest woman in the world.________,her personal wealth seems rather small.(2012·安徽,34)

A.Besides B.Otherwise

C.However D.Altogether

测试题

1.—Now that you like the house with a garden,why not buy it?

—Well,I can’t afford ________ house at present.

A.that expensive a B.a such expensive C.that an expensive D.a so expensive

2.—Do you regret paying ten dollars for that book?

—No,I would gladly have paid ________.

A.as twice many B.twice as many C.twice as much D.as twice much

3.—I’m leaving on April 30.

—So why not come to spend ________ days with me?

A.all these last few B.these all last few C.these last all few D.all last these few 4.—Leaving for Beijing?

—________.

A.Soon B.Lately C.The other day D.Sooner

5.—How did you find your visit to Disneyland?

—I enjoyed it very much.It was ________ than I had expected.

A.far more interested B.far more interesting C.so interesting D.even more interested

6.—How about your trip to Hainan?

—It couldn’t have been ________.Sometimes I went swimming in the sea;sometimes I lay on the sand.

A.so well B.as bad C.better D.worse

7.—I wonder why Mary is so unfriendly to us.

—She is ________ than unfriendly,I’m afraid.

A.shyer B.much shyer C.shy more D.more shy

8.—I didn’t do well in this English examination. How about you?

—I did ________ you.

A.not better than B.no worse than C.as well as D.no better than

9.—What’s wrong?

—Nothing serious.I’m just ________ busy.

A.much B.moreC.too much D.far too

10.Thank god,you finally returned home ________.You can never imagine how I worried about you when I was told about the terrible accident.

A.safely B.safe C.separately D.cleverly

11.—Be careful not to drop the Ming Dynasty vase.

—Yes,we can’t be ________.

A.too careful B.very careful. C too careless D.careless enough

12.—How do you find his advice?

—What he said sounded ________,I think.

A.quite perfectly B.nice and helpful C.very clearly D.polite or friendly

13.—Could you ________ take care of my cat while I’m away?

—Sure. Leave it to me,please.

A.perhaps B.possibly C.maybe D.probably

14.—How is your plan getting along?

—I can’t carry on ________ any longer. Someone must help me.

A.single B.simply C.alone D.lonely

15.Let’s go to give the stranger a hand. ________he’s got into some trouble.

A.Occasionally B.Obviously C.Suddenly D.Surprisingly

16.No one expected house prices to fall,but ________ that’s exactly what happened.

A.moreover B.thus C.anyway D.however

17.There are plenty of jobs ________ in the western part of the country.

A.present B.available C.precious D.convenient

18.I have worked with him for some time and have found that he is ________ than Jim.

A.more efficiently a worker B.a more efficient worker

C.more an efficient worke D.a worker more efficient

19.The SummerPalace is really beautiful. In fact,I doubt whether China has ________ park.

A.a more beautiful B.a most beautiful C.the most beautiful D.a beautiful

20.I can’t say thank you ________ much .I couldn’t have succeeded without your help.

A.too B.quite C.that D.very

21.I’m not sure whether I will have anything else to do tomorrow.________,I will try every possible means to come to the party.

A.Even though B.Anyhow C.If so D.Instead

22.This ________ girl is Linda’s cousin.

A.pretty little Spanish B.Spanish little pretty C.Spanish pretty little D.little pretty Spanish 23.Your story is perfect;I’ve never heard ________ before.

A.the better one B.the best one C.a better one D.a good one

24.When you study the local map,you’ll find this town is ________.

A.twice the size of that one B.twice as a large town as that

C.twice as larger as that one D.twice as larger a town as that

25.—The film is,I have to say,not a bit interesting.

—Why?It’s ________ than the films I have ever seen.

A.far more interesting B.much less interesting

C.no more interesting D.any less interesting

高考链接解析

1.答案 C

解析句意为:人们抱怨道:批准或是否定一个许可证的决定通常是随意的而不是依据固定的标准。A项意为“恰当的,合适的”;B项意为“有意识的”;C项意为“随意的,武断的”;D项意为“有争议的”。故选C项。

2答案 A

3.答案 B

解析句意为:他没有自私地将从叔叔那里继承来的钱据为己有,相反,他为帮助社区做出了慷慨的奉献。A项意为“商业的”;B项意为“大方的;慷慨的”;C项意为“可比较的;比得上的”;D项意为“有利可图的”。由句意知正确答案为B项。

4.答案 C

解析考查副词辨析。句意为:别再护着他了,很明显他是故意破坏花园栅栏的(而且)根本没有道歉。A项意为“偶然地;非故意地”;B项意为“粗心地”;C项意为“故意地”;D项意为“笨拙地”。由句意知选C 项。

5.答案 B

解析句意为:这可能并不是一个很棒的建议。但是在更好的建议被提出之前,我们会先采纳它。

6.答案 D

7.答案C解析

8.答案 B

解析考查形容词比较级。句意为:我认为每天晚上看电视是浪费时间——有更有意义的事情要做。more meaningful things意为“更有意义的事情”。

9.答案 A

解析考查副词比较级。句意为:Tony几乎连鸡蛋都不会煮,更不必说做晚餐了。句中hardly提示Tony 不会做饭,still后跟比较级用来加强语气,此处表示“更不必说”。

10.答案 B

解析句意为:玛丽一开始作为临时的秘书来这里工作,最终得到了公司提供的一份全职工作。pessimistic 悲观的;temporary临时的;previous以前的;cautious谨慎的。temporary正好和full-time “全职的”形成对比。故答案为B项。

11.答案 A

解析句意为:如果我们立刻出发,我们有望按时到达。hopefully有希望地;curiously好奇地;occasionally 偶然地;gradually逐渐地。故A 项正确。

12.答案 A

解析句意为:紫禁城每天都吸引络绎不绝的游客,尤其在国庆节期间。constant不断的;main主要的;powerful强有力的;shallow浅的。由句意可知,选项A正确。

13.答案 D

解析句意为:在拐角处发现了一家商店,那些贫穷的青少年很兴奋,在那里他们能买到付得起定价的自行车。competitively竞争地;recently最近地;reasonably合理地;affordably付得起地。由句意很容易得出答案为D项。

14.答案 A

解析句意为:如果把传统扔掉,社会是不可能成功的,但是如果我们做一些事情去阻碍(社会)进步,这个社会也是不会成功的。too用于肯定句或一般疑问句的句末,其前一般有逗号隔开;also一般用于肯定句句

中;either用于否定句句末;neither 两者全否定。

15答案 A

解析本题考查as...as...结构。句意为:牵涉其中的只有少数人,可能只有20人。根据句意可知,强调少的概念,故选A

16.答案 A

解析句意为:麦克通常很认真的,然而(yet)这次他犯了个小错误。still仍旧;even甚至;thus因此,均不符合语境,故排除。

17.答案 D

解析so much the better常常和if条件句连用,意为“如果……那就更好了”,其反义词组是so much the worse “那就更糟糕了”。句意为:结果对我们来说并不非常重要,但是如果我们真的能赢,那就更好了。

18.答案 A

解析reasonable合理的,公平的;confident自信的;creative有创造力的,创造(性)的;grateful感激的。由破折号后面的关键信息可知说话者对“finish all this work in so little time”很不满,要求讲道理。be reasonable 为祈使语气,意为“要讲道理”。句意为:要讲道理——你不能期望我在如此短的时间里完成所有这些工作。

19.答案 A

解析句意为:兴趣对于学习来说,如同理解能力一样重要,甚至更重要。四个形容词均可用于“be+adj.+to”的结构中。be vital to对……(非常)重要;be available to可利用,可获得;be specific to对……有特殊的意义;be similar to与……相似。题干中含有as...as...结构,是就兴趣和理解能力对于学习的重要性进行比较。故选A项。

20. C

解析besides除……之外(还有);otherwise表示相反情况,意为“否则”;however表示转折;altogether表示“总共”。句意为:女王伊丽莎白二世常被认为是世界上最富有的女人,然而,她的个人财富好像很少。由题意可知前后两句之间为转折关系,故选C项。otherwise表示的是如果某一条件不成熟,就会出现相反的结果。故排除B项。

测试题答案解析

1.答案 A

解析that=so如此,这么。

2.答案 C

解析在as...as...结构中,表示倍数的词或程度副词都放在第一个as之前。

3.答案 A

解析正确语序:不定代词+指示代词+序数词+基数词。

4.答案 A

解析问句是个省略句,相当于“Are you leaving for Beijing?”,答语也是一个省略句,相当于“Yes,soon I’m...”。

5.答案 B

解析由than可知该用形容词比较级;表示“有趣的”应用interesting;even,far均是修饰比较级的程度副词。

6.答案 C

解析此处是比较级的否定式表达最高级的含义,意思是“不可能更好了”。

7.答案 D

解析more...than...与其说……不如说……。

8.答案 D

解析no better than =as badly as和……一样不好。

9.答案 D

解析因为too修饰形容词或副词,far是用来加强too的语气的。

10.答案 B

解析形容词作伴随状语,相当于“you finally returned home and you were safe.”。

11.答案 A

解析can’t be too+adj.再……也不为过。

12.答案 B

解析sound是连系动词,后面跟形容词作表语,故排除A、C两项,再根据句意知B项符合。

13.答案 B

解析possibly常与can (not)/could (not),may/might连用。

14.答案 C

解析从题意看此处应用副词,首先排除A、D两项。由句意可知选alone,意为“独自,单独”。

15.答案 B

解析句意为:我们去帮助那个陌生人吧!他显然陷入了困境。obviously明显地,显而易见,符合题意。occasionally偶尔地;suddenly突然;surprisingly令人奇怪地。

16.答案 C

解析考查副词的用法。句意为:没有人会想到房价会下降,但即便是这样,所发生的事情确实如此。anyway 意为“尽管,即使这样”。

17.答案 B

解析句意为:在这个国家西部有许多工作可找到。available意为“可得到的”,符合题意。

18.答案 B

解析考查比较结构中的名词位置。此处符合“a/an+比较级+名词单数+than”句型。

19.答案 A

解析比较级用在否定句中可表示最高级的含义,因此whether China has a more beautiful park意为“是否中国还有比这更美的公园”,即“这是中国最美的公园”。

20. 答案 A

解析can’t...too much怎么……都不过分。句意为:我怎么感激你都不过分。没有你的帮助我不可能成功。

21.答案 B

解析anyhow(=anyway)无论如何。根据后面的“try every possible means to come to the party”可知选B项。

22.答案 A

解析考查多个形容词修饰名词时的排列顺序。顺序是:描绘性形容词,大小形容词,国籍形容词,故答案为A项。

23.答案 C

解析句意为:你的故事美极了,我以前从未听过这么好的。形容词的比较级与否定词连用表示最高级意义,且形容词修饰的名词前常用不定冠词,表示泛指。

24.答案 A

解析句意为:当你研究当地的地图时,你会发现这座城镇是那个的两倍大。倍数的表达方式:A is+倍数+the+名词+of B;B项中不定冠词位置错误;C、D两项中as后应用形容词原级。

25.答案 A

解析句意为:——我得说,这部电影一点意思也没有。——怎么会呢?它比我看过的任何一部电影都有趣的多。根据句意,答案应选A项,far修饰比较级。

介词

1. The teacher is writing ____ a piece of chalk on the blackboard while the students are writing ____ink in exercise books.

A. with, in

B. in, with

C. in, in

D. with, with

2. The worker can make chairs ____ wood, and also can make paper ____ wood.

A. from, of

B. of, from

C. of. of

D. from, from

3. Mary dropped in ____ Mr Smith, but he wasn' t at home, so she went to drop in ____ Mr Smith's office.

A. on, on

B. at, at

C. on. at

D. at. on

4. The teacher is not only strict ____ his pupils but also strict ____ his own work.

A. with, with

B.in,in

C. in, with

D. with, in

5. His grandfather died ____ the wound that the enemy soldier had given him .and then his grand-

mother died ____ hungry and cold.

A.from,of

B.of,from

C.from,from

D.of.of

6. If you run ____ two hares you will catch neither.

A.into

B.after

C.off

D. out of

7. This is a common mistake ____ students.

A. between

B.over

C. among

D. about

8. My father began to work ____ a bus driver when he was twenty years old.

A.for

B.to

C.at

D.as

9. _____ hearing the news, I was wild ____ joy.

A. At, in

B. On, with

C. After, by

D. /, over

10.I don' t think Xiao Li is ____ the other students ____ mathematics.

A. after, on

B. after, with

C. behind, in

D. behind, at

11. Nobody knows it ____ me.

A. except for

B. except that

C. besides

D. but

12. The window is never opened ____ in summer.

A. but

B. except

C. except for

D. but for

13. It happened ____ the Long March.

A. during

B.in

C.at

D.for

14. We go to school ____ a bike.

A.in

B.on

C.by

D.over

15. It's very kind____ you to repair the bike ____ me.

A.for.for

B.of,of

C.of,for

D.for,of

16. Fresh air is good ____ your health.

A.at

B.for

C.of

D.to

17.The boy is waiting ____ his sister and they will go to the hospital to wait ____ their sick mother.

A.for,on

B.on,for

C.for,for

D.on.on

18.The group is made up____five students. And they are studying hard to make up____ the lost time.

A.of,of

B.for,for

C.of,for

D.for,of

19.The PLA man saved the boy ____ death.

A. of

B.from

C.to

D.on

20. He will come ____ three days.

A.before

B.after

C. in

D. later

21. He went to Beijing and returned ____ three days.

A. in

B. before

C. later

D. after

考试试题1及答案

土力学及地基基础模拟考试试题 1 及 答案 一、填空题( 10 分) 1 、土(区别于其它工程材料)主要工程特性是 2 、直接剪切试验按排水条件不同,划分为 。 3、 由土的自重在地基内所产生的应力称为 内所产生的应力称为 _________________ 。 4、 建筑物地基变形的特征有沉降量、 5、 浅基础主要的类型有 _______________ 、 箱形基础。 ;由建筑物的荷载或其他外载在地基 、 ___________ 和局部倾斜四种类型。 、十字交叉基础、筏板基础、壳体基础和 二、选择题( 20 分) 1 、土的三相比例指标包括:土粒比重、含水率、重度、孔隙比、孔隙率和饱和度等,其中 哪些为直接试验指 标?( ) (A )、含水率、孔隙比、饱和度(B )、重度、含水率、孔隙比 (C )、土粒比重、含水率、重度 2、 土的变形主要是由于土中哪一部份应力引起的?( (A )、总应力(B )、有效应力(C )、孔隙应力 3、 荷载试验的中心曲线形态上,从线性开始变成非线性关系的界限荷载称为( (A )、允许荷载(B )、临界荷载(C )、 d ,水的重度为 w ,在计算地基沉降时,采用以下 哪一项计算地下水位以下的自重应力?( _、 ____________ 和渗透性大。 、固结不排水剪(固结快剪) )。 临塑荷载 4、已知土层的饱和重度 sat ,干重度为 A )、 sat ( B )、 d ( C )( sat - w ) 5、 土的体积压缩是由下述变形造成的( (A )、土孔隙的体积压缩变形(B )、土颗粒的体积压缩变形 (C )、土孔隙和土颗粒的体积压缩变形之和 6、 如果墙推土而使挡土墙发生一定的位移,使土体达到极限平衡状态,这时作用在墙背上 的土压力是何种土压力?( ) (A )、静止土压力(B )、主动土压力(C )、被动土压力 7、 已知柱下扩展基础,基础长度 I = 3.0m ,宽度b = 2.0m ,沿长边方向荷载偏心作用,基础 底面压力最小值 P min = 30k Pa ,最大值 力矩最接近以下哪一种组合。 ( ) (A )、竖向力 370kN ,力矩 159kN - m (C )、竖向力 490kN ,力矩 175kN - m )。 Pmax = 160kPa ,指出作用于基础底面上的竖向力和 (B )、竖向力 (D )、竖向力 540kN ,力矩 150kN - m 570kN ,力矩 195kN - m ) 8、 对于框架结构,地基变形一般由什么控制?( (A )、沉降量(B )、沉降差(C )、局部倾斜 9、 属于非挤土桩的是( )。 (A )、实心的混凝土预制桩(B )、钻孔桩(C )、沉管灌注桩 10、 一般端承桩基础的总竖向承载力与各单桩的竖向承载力之和的比值为( (A )、 >1(B )、 =1(C )、 <1 )。

词法分析报告程序设计与实现

实验一词法分析程序设计与实现 一、实验目的及内容 调试并完成一个词法分析程序,加深对词法分析原理的理解。 二、实验原理(状态转换图) 1、C语言子集 (1)关键字: begin if then while do end 所有关键字都是小写。 (2)运算符和界符: := + – * / < <= <> > >= = ; ( ) # (3)其他单词是标识符(ID)和整型常数(NUM),通过以下正规式定义:ID=letter(letter| digit)* NUM=digit digit * (4)空格由空白、制表符和换行符组成。空格一般用来分隔ID、NUM,运算符、界符和关键字,词法分析阶段通常被忽略。 2、各种单词符号对应的种别码

3、词法分析程序的功能 输入:所给文法的源程序字符串。 输出:二元组(syn,token或sum)构成的序列。 其中:syn为单词种别码; token为存放的单词自身字符串; sum为整型常数。 二、软件平台及工具 PC机以及VISUAL C++6.0软件。 三、实验方法、步骤(或:程序代码或操作过程)(1)程序代码: #include #include #include char prog[80],token[8]; char ch; int syn,p,m=0,n,row,sum=0; char *rwtab[6]={"begin","if","then","while","do","end"}; void scaner() { for(n=0;n<8;n++) token[n]=NULL; ch=prog[p++]; while(ch==' ') { ch=prog[p]; p++; }

计算机一级考试题库及答案

2016计算机一级考试题库及答案 一、选择题 1以下关于编译程序的说法正确的是( zz? )。 A.编译程序属于计算机应用软件,所有用户都需要编词程序 B.编译程序不会生成目标程序,而是直接执行源程序 C.编译程序完成高级语言程序到低级语言程序的等价翻译 D.编译程序构造比较复杂,一般不进行出错处理 【参考答案】:C 【参考解析】:编译程序就是把高级语言变成计算机可以识别的二进制语言,即编译程序完成高级语言程序到低级语言程序的等价翻译。

2用8位二进制数能表示的最大的无符号整数等于十进制整数( )。 【参考答案】:A 【参考解析】:用8位二进制数能表示的最大的无符号整数是,转化为十进制整数是28-1=255。 3在数据管理技术发展的三个阶段中,数据共享最好的是( )。 A.人工管理阶段 B.文件系统阶段 C.数据库系统阶段 D.三个阶段相同 【参考答案】:C 【参考解析】:数据管理发展至今已经历了三个阶段:人工管理阶段、文件系统阶段和数据库系统阶段。其中最后一个阶段结构简单,使用方便逻辑性强物理性少,在各方面的表现都最好,一直占据数据库领域的主导地位,所以选择C。 4在E—R图中,用来表示实体联系的图形是( )。

A.椭圆形 B.矩形 C.菱形 D.三角形 【参考答案】:C 【参考解析】:在E—R图中实体集用矩形,属性用椭圆,联系用菱形。 5软件按功能可以分为应用软件、系统软件和支撑软件(或工具软件)。下面属于应用软件的是( )。 A.学生成绩管理系统 语言编译程序 操作系统 D.数据库管理系统 【参考答案】:A

【参考解析】:软件按功能可以分为:应用软件、系统软件、支撑软件。操作系统、编译程序、汇编程序、网络软件、数据库管理系统都属予系统软件。所以B、C、D都是系统软件,只有A是应用软件。 6一棵二叉树共有25个结点,其中5个是叶子结点,则度为1的结点数为( )。 【参考答案】:A 【参考解析】:根据二叉树的性质3:在任意一棵二叉树中,度为0的叶子结点总是比度为2的结点多一个,所以本题中度为2的结点是5-1=4个,所以度为1的结点的个数是25-5-4=16个。 7下列叙述中正确的是( )。 A.循环队列有队头和队尾两个指针,因此,循环队列是非线性结构 B.在循环队列中,只需要队头指针就能反映队列中元素的动态变化情况

编译原理词法分析报告

1、实验目的 1、为初等函数运算语言构造词法分析器。 2、掌握生成词法分析器的方法,加深对词法分析原理的理解。 3、掌握设计、编制并调试词法分析程序的思想和方法 2、实验内容 一、根据下面的要求设计初等函数运算语言的词法模式,并用正则式表达出来 1、初等函数运算语言的常量为实数类型,其定义方式为实数的最一般书写方式,如: 123.321。具体要求:不支持整数部分大于。时首数字为0;不支持小数点后结尾为 0;不支持科学记数法;不支持仅为整数时有小数点;支持负数符号,不支持正数 符号。 2、初等函数运算语言的变量采用与C语言的标识符定义一样的方式:首字符为字母或 下划线;其他的为字母、数字及下划线的混合串;区分大小写;变量长度不超过32 个字符。 3、初等函数运算语言需要处理的函数仅为表一中所列举的内容。函数的格式及参数内 容也如表一所示。 4、初等函数运算语言支持四则运算,其计算的符号与C语言相同,为:+-*/。 5、初等函数运算语言的合法的分隔符包括:空格、制表符、、分行符圆括号(左、右)、 分号。其中空格、制表符、分行符可以出现在任何两个不同的单词中间;圆括号(左、右)用于表达式中,用于改变运算的优先级,以及标识函数的参数;分号用于标识一个语句的结束。 6、初等函数运算语言支持的常量还包括:PI,Eo其中,PI为圆周率,E为自然常数。 二、将正则式转化为最小DFA,给出该DFA的形式化表示和图形表示。 三、根据DFA给出状态转换表。 四、给出初等函数运算语言的记号表,即词法分析中,语言中的记号将分为多少类,每一类型的编码、类型、属性等内容是什么。 五、编写词法分析器,将输入的字符串转化成为记号流,便于后续的语法分析工作。要求词法分析器中能够识别词法错误。

词法与句法的互动

词法和句法之间的互动及其接口 -以“可怕/怕人”和“好吃/难吃”等词语为例- 〔关键词∶潜在动词和句法词、论元的背景化和前景化、语态变换的词法表现〕 0.问题的所在 现代汉语词法(morphology)体系和句法(syntax)体系之间过渡阶段上有一组很特殊的语法成分,有代表性的具体例子有“可怕、可气、…”和“怕人、气人、…”以及“好吃、好看、…”和“难吃、难看、…”等双音节词语。这些词语在构词法(morphology)、造词法(word formation)以及句法(syntax)上都有相当有意思的语法性质。这些词语从构词法的角度来看可以说归属于合成词(complex word),但从造词法的角度来看有些类似的例子可以超越“词(word)”的范畴,要扩展为“词组(phrase)”即“句法结构( syntactic structure)”;换言之,这类词语既属于词法平面也属于句法平面。这些词语的特殊性还比较突出地表现在句法平面上∶这些词语结构内部虽然都含有动词性语素,但是做为词语整体来看,它们已经丧失掉原来动词的性质而重新获得了新的语法性质,那就是词形和词性发生变化的同时还要引起“agent的背景化/theme的前景化”这样一个很重要的语法功能。这个功能所体现的一方面是词语内部论元结构(argument structure)的变化,另一方面也是句子里边语态变换(voice change)的词法表现。 我们认为,通过对这些词语的研究可以比较清楚地观察到现代汉语语法系统里边词法和句法二者之间互相促动并互相制约的动态情形以及二者之间的接口。本文准备从以下几个方面进行讨论∶ (Ⅰ) 词法特点∶造词成分的语法化以及语法功能的变化 (Ⅱ) 句法功能∶论元结构的变化以及语态变换的词法表现 (Ⅲ) 词法和句法之间的互动以及互制作用 1.句法词的构词类型 1.1∶结构特点 我们首先从构词法的角度来观察一下上面举的那些结构内部包含动词性语素的双音节成分。为了讨论的方便,本文把词语内部的动词性语素叫做“潜在动词”,记做V;比如说“可怕”和“怕人”里潜在的动词V是“怕”,“好吃”和“难吃”的潜在动词V是“吃”,余例类此。根据每个词语形式上的共性和个性,这些词语可以分为如下两个大类四个小类∶ (甲)A类“可V”型(以“可怕”为代表)和B类“V人”型(以“怕人”为代表)(乙)C类“好V”型(以“好吃”为代表)和D类“难V”型(以“难吃”为代表) 合成词一般可以分成两种,一种是复合词,还有一种是派生词。复合词是由两个或两个以上的词根合成的,如“朋友、庆祝、火车、照相机”等;派生词是词根加词缀(前缀和后缀)构成的,如“桌子、花儿、木头、阿姨”等。“可怕、怕人、好吃、难吃”等词语自然都可以分成“可+怕”“怕+人”“好+吃”“难+吃”等前后两个单位的组合,不过如果要再进一步进行分析的话,我们就得面临一个困境,即很难判断它们是属于复合词还是属于派生词∶除去V以后剩下来的“可”字、“好”字和“难”字既有词根(助动词)的性质,同

编译原理词法分析习题集带答案

《编译原理》习题(一)——词法分析 一、就是非题(请在括号内,正确得划√,错误得划×) 1.编译程序就是对高级语言程序得解释执行。(× ) 2.一个有限状态自动机中,有且仅有一个唯一得终态。(×) 9.两个正规集相等得必要条件就是她们对应得正规式等价。(× ) 二、选择题 1.词法分析器得输出结果就是_____。 A.( ) 记号 B.( ) 相应条目在符号表中得位置 C.( ) 记号与属性二元组 D.( ) 属性值 2. 正规式M 1 与M 2 等价就是指_____。 A.( ) M1与M2得状态数相等 B.( ) M1与M2得有向边条数相等 C.( ) M1与M2所识别得语言集相等 D.( ) M1与M2状态数与有向边条数相等 3.语言就是 A.句子得集合 B.产生式得集合 C.符号串得集合 D.句型得集合 4.编译程序前三个阶段完成得工作就是 A.词法分析、语法分析与代码优化 B.代码生成、代码优化与词法分析 C.词法分析、语法分析、语义分析与中间代码生成 D.词法分析、语法分析与代码优化 5.扫描器所完成得任务就是从字符串形式得源程序中识别出一个个具有独立含义得最小语法单位即 A. 字符 B.单词 C.句子 D.句型 6.构造编译程序应掌握______。 A.( )源程序 B.( ) 目标语言 C.( ) 编译方法 D.( ) 以上三项都就是 7.词法分析得任务就是 A.识别单词 B.分析句子得含义 C.识别句子 D.生成目标代码 三、填空题 1.计算机执行用高级语言编写得程序主要有两种途径:___解释__与__编译___。 3、编译过程可分为( 词法分析) ,(语法分析),(语义分析与中间代码生成),(优化)与(目标代码生成)五个阶段。 6、扫描器得任务就是从( 源程序中)中识别出一个个( 单词符号)。 17、一张转换图只包含有限个状态,其中有一个被认为就是(初)态;而且实际上至少要有一个(终)态。 1.编译程序首先要识别出源程序中每个(单词),然后再分析每个(句子)并翻译其意义。 3.通常把编译过程分为分析前端与综合后端两大阶段。词法、语法与语义分析就是对源程序得(分析),中间代码生成、代码优化与目标代码得生成则就是对源程序得(综合)。 5.对编译程序而言,输入数据就是(源程序),输出结果就是(目标程序)。 四、名词解释题: 1.词法分析 词法分析得主要任务就是从左向右扫描每行源程序得符号,按照词法规则 从构成源程序得字符串中识别出一个个具有独立意义得最小语法单位,

考试试题1及答案

土力学及地基基础模拟考试试题1及答案 一、填空题(10分) 1、土(区别于其它工程材料)主要工程特性是__________、__________和渗透性大。 2、直接剪切试验按排水条件不同,划分为__________、固结不排水剪(固结快剪)、__________。 3、由土的自重在地基内所产生的应力称为__________;由建筑物的荷载或其他外载在地基内所产生的应力称为__________。 4、建筑物地基变形的特征有沉降量、__________、__________和局部倾斜四种类型。 5、浅基础主要的类型有__________、__________、十字交叉基础、筏板基础、壳体基础和箱形基础。 二、选择题(20分) 1、土的三相比例指标包括:土粒比重、含水率、重度、孔隙比、孔隙率和饱和度等,其中哪些为直接试验指标?( ) (A )、含水率、孔隙比、饱和度(B )、重度、含水率、孔隙比 (C )、土粒比重、含水率、重度 2、土的变形主要是由于土中哪一部份应力引起的?( ) (A )、总应力(B )、有效应力(C )、孔隙应力 3、荷载试验的中心曲线形态上,从线性开始变成非线性关系的界限荷载称为( )。 (A )、允许荷载(B )、临界荷载(C )、临塑荷载 4、已知土层的饱和重度 sat γ,干重度为d γ,水的重度为w γ,在计算地基沉降时,采用以下 哪一项计算地下水位以下的自重应力?( ) (A )、 sat γ(B )、d γ(C )、(sat γ-w γ) 5、土的体积压缩是由下述变形造成的( )。 (A )、土孔隙的体积压缩变形(B )、土颗粒的体积压缩变形 (C )、土孔隙和土颗粒的体积压缩变形之和 6、如果墙推土而使挡土墙发生一定的位移,使土体达到极限平衡状态,这时作用在墙背上的土压力是何种土压力?( ) (A )、静止土压力(B )、主动土压力(C )、被动土压力 7、已知柱下扩展基础,基础长度l =3.0m ,宽度b =2.0m ,沿长边方向荷载偏心作用,基础底面压力最小值Pmin =30kPa ,最大值Pmax =160kPa ,指出作用于基础底面上的竖向力和力矩最接近以下哪一种组合。( ) (A )、竖向力370kN ,力矩159kN ·m (B )、竖向力540kN ,力矩150kN ·m (C )、竖向力490kN ,力矩175kN ·m (D )、竖向力570kN ,力矩195kN ·m 8、对于框架结构,地基变形一般由什么控制?( ) (A )、沉降量(B )、沉降差(C )、局部倾斜 9、属于非挤土桩的是( )。 (A )、实心的混凝土预制桩(B )、钻孔桩(C )、沉管灌注桩 10、一般端承桩基础的总竖向承载力与各单桩的竖向承载力之和的比值为( )。 (A )、>1(B )、=1(C )、<1 三、判断题(10分) 1、根据有效应力原理,总应力必然引起土体变形。( )

实验一词法分析实验报告

实验一词法分析 一、实验目的 通过设计编制调试一个具体的词法分析程序,加深对词法分析原理的理解。并掌握在对程序设计语言源程序进行扫描过程中将其分解为各类单词的词法分析方法。 编制一个读单词过程,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常数、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值。(遇到错误时可显示“Error”,然后跳过错误部分继续显示) 二、实验要求 使用一符一种的分法 关键字、运算符和分界符可以每一个均为一种 标识符和常数仍然一类一种 三、实验内容 功能描述: 1、待分析的简单语言的词法 (1)关键字: begin if then while do end (2)运算符和界符: := + –* / < <= <> > >= = ; ( ) # (3)其他单词是标识符(ID)和整型常数(NUM),通过以下正规式定义: ID=letter(letter| digit)* NUM=digit digit * (4)空格由空白、制表符和换行符组成。空格一般用来分隔ID、NUM,运算符、界符和关键字,词法分析阶段通常被忽略。 2、各种单词符号对应的种别码 图 1

程序结构描述: 图 2 四、实验结果 输入begin x:=9: if x>9 then x:=2*x+1/3; end # 后经词法分析输出如下序列:(begin 1)(x 10)(:17)(= 18)(9 11)(;26)(if 2)……如图3所示:

图3 输入private x:=9;if x>0 then x:=2*x+1/3; end#后经词法分析输出如下序列:(private 10)(x 10)(:17)(= 18)(9 11)(;26)(if 2)……如图4所示: 图4 显然,private是关键字,却被识别成了标示符,这是因为图1中没有定义private关键字的种别码,所以把private当成了标示符。 输入private x:=9;if x>0 then x:=2*x+1/3; @ end#后经词法分析输出如下序列:(private 10)(x 10)(:17)(= 18)(9 11)(;26)(if 2)……如图5所示

编译原理词法分析习题集带答案

《编译原理》习题(一)——词法分析 一、是非题(请在括号内,正确的划√,错误的划×) 1.编译程序是对高级语言程序的解释执行。(× ) 2.一个有限状态自动机中,有且仅有一个唯一的终态。(×) 9.两个正规集相等的必要条件是他们对应的正规式等价。(× ) 二、选择题 1.词法分析器的输出结果是_____。 A.( ) 记号 B.( ) 相应条目在符号表中的位置 C.( ) 记号和属性二元组D.( ) 属性值 2.正规式 M 1 和 M 2 等价是指_____。 A.( ) M1和M2的状态数相等 B.( ) M1和M2的有向边条数相等 C.( ) M1和M2所识别的语言集相等D.( ) M1和M2状态数和有向边条数相等3.语言是 A.句子的集合 B.产生式的集合 C.符号串的集合 D.句型的集合 4.编译程序前三个阶段完成的工作是 A.词法分析、语法分析和代码优化 B.代码生成、代码优化和词法分析 C.词法分析、语法分析、语义分析和中间代码生成 D.词法分析、语法分析和代码优化 5.扫描器所完成的任务是从字符串形式的源程序中识别出一个个具有独立含义的最小语法单位即 A.字符 B.单词 C.句子 D.句型 6.构造编译程序应掌握______。 A.( )源程序B.( ) 目标语言 C.( ) 编译方法D.( ) 以上三项都是 7.词法分析的任务是 A.识别单词 B.分析句子的含义 C.识别句子 D.生成目标代码 三、填空题 1.计算机执行用高级语言编写的程序主要有两种途径:___解释__和__编译___。 3.编译过程可分为(词法分析),(语法分析),(语义分析与中间代码生成),(优化)和(目标代码生成)五个阶段。 6.扫描器的任务是从(源程序中)中识别出一个个(单词符号)。 17.一张转换图只包含有限个状态,其中有一个被认为是(初)态;而且实际上至少要有一个(终)态。 1.编译程序首先要识别出源程序中每个(单词),然后再分析每个(句子)并翻译其意义。3.通常把编译过程分为分析前端与综合后端两大阶段。词法、语法和语义分析是对源程序的(分析),中间代码生成、代码优化与目标代码的生成则是对源程序的(综合)。 5.对编译程序而言,输入数据是(源程序),输出结果是(目标程序)。

C试题及答案一

C + + 程序设计模拟试卷(一) 一、单项选择题(本大题共20小题,每小题1分,共20分)在每小题列出的四个备选项中只有一个是符合题目要求的,请将其代码填写在题后的括号内。错选、多选或未选均无分。 1. 编写C++程序一般需经过的几个步骤依次是() A. 编辑、调试、编译、连接 B. 编辑、编译、连接、运行 C. 编译、调试、编辑、连接 D. 编译、编辑、连接、运行答案:B 解析:经过编辑、编译、连接和运行四个步骤。编辑是将C++源程序输入计算机的过程,保 存文件名为cpp。编译是使用系统提供的编译器将源程序cpp生成机器语言的过程,目标文件为obj,由于没有得到系统分配的绝对地址,还不能直接运行。连接是将目标文件obj转换为可执行程序的过程,结果为exe。运行是执行exe,在屏幕上显示结果的过程。 2. 决定C++语言中函数的返回值类型的是() A. return 语句中的表达式类型 B. 调用该函数时系统随机产生的类型 C. 调用该函数时的主调用函数类型 D. 在定义该函数时所指定的数据类型 答案:D 解析:函数的返回值类型由定义函数时的指定的数据类型决定的。A项的表达式的值要转换 成函数的定义时的返回类型。 3. 下面叙述不正确的是() A. 派生类一般都用公有派生 B. 对基类成员的访问必须是无二义性的 C. 赋值兼容规则也适用于多重继承的组合 D. 基类的公有成员在派生类中仍然是公有的 答案: D 解析:继承方式有三种:公有、私有和保护。多继承中,多个基类具有同名成员,在它们的子类中访问这些成员,就产生了二义性,但进行访问时,不能存在二义性。赋值兼容规则是指派生类对象可以当作基类对象使用,只要存在继承关系,所以单继承或多继承都适用。基类中的公有成员采用私有继承时,在派生类中变成了私有成员,所以D项错误。 4. 所谓数据封装就是将一组数据和与这组数据有关操作组装在一起,形成一个实体,这实体也就是() A. 类 B. 对象 C. 函数体 D. 数据块 答案:A 解析:类即数据和操作的组合体,数据是类的静态特征,操作是类具有的动作。 5. 在公有派生类的成员函数不能直接访问基类中继承来的某个成员,则该成员一定是基类中的() A. 私有成员 B. 公有成员 C. 保护成员 D. 保护成员或私有成员 答案:A 解析:在派生类中基类的保护或者基类公有都可以直接访问,基类的私有成员只能是基类的成员函数来访问。所以选择A项。 6. 对基类和派生类的关系描述中,错误的是() A. 派生类是基类的具体化 B. 基类继承了派生类的属性 C. 派生类是基类定义的延续 D. 派生类是基类的特殊化 答案:B 解析:派生类的成员一个是来自基类,一个来自本身,所以派生类是基类的扩展,也是基类的具体化和特殊化,派生类是对基类扩展。B项基类不能继承派生类成员,所以错误。 7. 关于this 指针使用说法正确的是() A. 保证每个对象拥有自己的数据成员,但共享处理这些数据的代码 B. 保证基类私有成员在子类中可以被访问。 C. 保证基类保护成员在子类中可以被访问。

词法分析实验报告

词法分析器 一、实验目的: 通过设计编制调试一个具体的词法分析程序,加深对词法分析原理的理解。并掌握在对程序设计语言源程序进行扫描过程中将其分解为各类单词的词法分析方法。 编制一个读单词过程,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常数、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值。 二、实验要求 如源程序为C语言。输入如下一段:Array main() { int a,b; a = 10; b = a + 20; }# 要求输出如右图。 要求: 1、将单词分为五种 识别关键字:main、if、int、for、while、do、return、break、continue; 单词种别码为1。 标识符;单词种别码为2。 常数为无符号整形数;单词种别码为3。 运算符包括:+、-、*、/、=、>、<、>=、<=、!= ; 单词种别码为4。 分隔符包括:,、;、{、}、(、);单词种别码为5。 2、使用一符一种的分法 关键字、运算符和分界符可以每一个均为一种 标识符和常数仍然一类一种 三、实验内容 1、功能描述 改程序是一个实现词法分析的功能,能识别5种单词,其他单词报错。 2、程序结构描述 int IsKey(char *Word)关键字匹配函数,查询是否为关键字,若是,返回值为1,否则为0。 int IsAlpha(char c) 查看是否为字母,若是,返回值为1,否则为0。 int IsNum(char c) 查看是否为数字,若是,返回值为1,否则为0。 void scanner(FILE *fp) 扫描函数,扫描程序中的字符串并调用上述三种函数检查是否是字母、 数字,是否是关键字,并输出。 fseek(fp,-1,1)回退一个字符。 fgetc(fp)从数据流中区下一个字符。 fopen 文件打开函数,返回指向文件第一个字符的指针 四、实验结果 测试内容为 main() {

编译原理 第04章 词法分析

第4章词法分析 第1题 构造下列正规式相应的DFA. (1) 1(0|1)*101   (2) 1(1010*|1(010)*1)*0 (3) a((a|b)*|ab*a)*b (4) b((ab)*|bb)*ab 答案: (1) 先构造NFA: 用子集法将NFA确定化 . 0 1 X . A A A AB AB AC AB AC A ABY ABY AC AB 除X,A外,重新命名其他状态,令AB为B、AC为C、ABY为D,因为D含有Y(NFA 的终态),所以D为终态。 . 0 1 X . A A A B B C B C A D D C B DFA的状态图::

(2)先构造NFA: 用子集法将NFA确定化 ε 0 1 X X T0 =X A A ABFL T1= ABFL Y CG Y Y CG CGJ T2= Y T3= CGJ DH K DH DH K ABFKL T4= DH EI EI ABEFIL T5= ABFKL Y CG T6= ABEFIL EJY CG EJY ABEFGJLY T7= ABEFGJLY EHY CGK EHY ABEFHLY CGK ABCFGJKL T8= ABEFHLY EY CGI EY ABEFLY CGI CGJI T9= ABCFGJKL DHY CGK DHY DHY T10= ABEFLY EY CG T11= CGJI DHJ K DHJ DHJ T12= DHY EI T13= DHJ EIK EIK ABEFIKL T14= ABEFIKL EJY CG

将T0、T1、T2、T3、T4、T5、T6、T7、T8、T9、T10、T11、T12、T13、T14重新命名,分别用0、1、2、3、4、5、6、7、8、9、10、11、12、13、14表示。因为2、7、8、10、12中含有Y,所以它们都为终态。 0 1 0 1 1 2 3 2 3 4 5 4 6 5 2 3 6 7 3 7 8 9 8 10 11 9 12 9 10 10 3 11 13 5 12 6 13 14 14 7 3

(完整版)实变函数试题库1及参考答案

实变函数试题库及参考答案(1) 本科 一、填空题 1.设,A B 为集合,则()\A B B U A B U (用描述集合间关系的符号填写) 2.设A 是B 的子集,则A B (用描述集合间关系的符号填写) 3.如果E 中聚点都属于E ,则称E 是 4.有限个开集的交是 5.设1E 、2E 是可测集,则()12m E E U 12mE mE +(用描述集合间关系的符号填写) 6.设n E ?? 是可数集,则* m E 0 7.设()f x 是定义在可测集E 上的实函数,如果1 a ?∈?,()E x f x a ??≥??是 ,则称()f x 在E 上可测 8.可测函数列的上极限也是 函数 9.设()()n f x f x ?,()()n g x g x ?,则()()n n f x g x +? 10.设()f x 在E 上L 可积,则()f x 在E 上 二、选择题 1.下列集合关系成立的是( ) A ()\ B A A =?I B ()\A B A =?I C ()\A B B A =U D ()\B A A B =U 2.若n R E ?是开集,则( ) A E E '? B 0E E = C E E = D E E '= 3.设(){} n f x 是E 上一列非负可测函数,则( ) A ()()lim lim n n E E n n f x dx f x dx →∞ →∞≤?? B ()()lim lim n n E E n n f x dx f x dx →∞ →∞ ≤?? C ()()lim lim n n E E n n f x dx f x dx →∞ →∞≤?? D ()()lim lim n n E E n n f x dx f x →∞→∞ ≤?? 三、多项选择题(每题至少有两个以上的正确答案) 1.设[]{}0,1E = 中无理数,则( ) A E 是不可数集 B E 是闭集 C E 中没有内点 D 1m E = 2.设n E ?? 是无限集,则( )

东南大学编译原理词法分析器实验报告

词法分析设计 1. 实验目的 通过本实验的编程实践,了解词法分析的任务,掌握词法分析程序设计的原理和构造方法,对编译的基本概念、原理和方法有完整的和清楚的理解,并能正确地、熟练地运用。 2. 实验内容 用C++语言实现对C++语言子集的源程序进行词法分析。通过输入源程序从左到右对字符串进行扫描和分解,依次输出各个单词的内部编码及单词符号自身值;若遇到错误则显示“Error”,然后跳过错误部分继续显示;同时进行标识符登记符号表的管理。 3. 实验原理 本次实验采用NFA->DFA->DFA0的过程: 对待分析的简单的词法(关键词/id/num/运算符/空白符等)先分别建立自己的FA,然后将他们用产生式连接起来并设置一个唯一的开始符,终结符不合并。 待分析的简单的词法 (1)关键字: "asm","auto","bool","break","case","catch","char","class","

const","const_cast"等 (2)界符(查表) ";",",","(",")","[","]","{","}" (3)运算符 "*","/","%","+","-","<<","=",">>","&","^","|","++","--"," +=","-=","*=","/=","%=","&=","^=","|=" relop: (4)其他单词是标识符(ID)和整型常数(SUM),通过正规式定义。 id/keywords: digit: (5)空格有空白、制表符和换行符组成。空格一般用来分隔ID、SUM、运算符、界符和关键字,词法分析阶段通常被忽略。

编译原理复习题

编译原理复习题 一、填空题 1.编译程序的工作过程一般可以划分为词法分析,语法分析,语义分析,中间代码优化,代码优化等几个基本阶段。 2.若源程序是用高级语言编写的,目标程序是汇编程序或机器语言程序,则其翻译程序称为编译程序. 3.编译方式与解释方式的根本区别在于是否生成目标代码. 5.对编译程序而言,输入数据是源程序,输出结果是目标程序 . 7.若源程序是用高级语言编写的,目标程序是机器语言程序或汇编程序,则其翻译程序称为编译程序。 8.一个典型的编译程序中,不仅包括词法分析、语法分析、中间代码生成、代码优化、目标代码生成等五个部分,还应包括表格管理和出错处理。其中,词法分析器用于识别单词。 10.一个上下文无关文法所含四个组成部分是一组终结符号、一组非终结符号、一个开始符号、一组产生式。 12.产生式是用于定义语法成分的一种书写规则。 13.设G[S]是给定文法,则由文法G所定义的语言L(G)可描述为:L(G)={x|Sx,x∈VT*}。 14.设G是一个给定的文法,S是文法的开始符号,如果S * ?x(其中x∈V*),则称x是 文法的一个句型。 15.设G是一个给定的文法,S是文法的开始符号,如果S * ?x(其中x∈V T*),则称x是文 法的一个句子。 16.扫描器的任务是从源程序中识别出一个个单词符号。 17.语法分析最常用的两类方法是自顶向下和自底向上分析法。 18.语法分析的任务是识别给定的终结符串是否为给定文法的句子。 19.递归下降法不允许任一非终结符是直接左递归的。 20.自顶向下的语法分析方法的关键是如何选择候选式的问题。 21.递归下降分析法是自顶向下分析方法。 22.自顶向下的语法分析方法的基本思想是:从文法的开始符号开始,根据给定的输入串并按照文法的产生式一步一步的向下进行直接推导,试图推导出文法的句子,使之与给定的输入串匹配。 23.自底向上的语法分析方法的基本思想是:从给定的终结符串开始,根据文法的规则一步一步的向上进行直接归约,试图归约到文法的开始符号。 24.自底向上的语法分析方法的基本思想是:从输入串入手,利用文法的产生式一步一步地 向上进行直接归约,力求归约到文法的开始符号。 26.在LR(0)分析法的名称中,L的含义是自左向右的扫描输入串,R的含义是最左归 约,0 的含义是向右查看输入串符号的个数为0。 31.终结符只有,它们由词法分析器提供。 32.在使用高级语言编程时,首先可通过编译程序发现源程序的全部语法错误和语义部分错误. 34.一个句型中的最左简单短语称为该句型的句柄。

1_填空题库及参考答案

填空题库及参考答案 第1章绪论 1-1、测量工作的基准线是铅垂线。 1-2、测量工作的基准面是水准面。 1-3、测量计算的基准面是参考椭球面。 1-4、水准面是处处与铅垂线垂直的连续封闭曲面。 1-5、通过平均海水面的水准面称为大地水准面。 1-6、地球的平均曲率半径为6371km。 1-7、在高斯平面直角坐标系中,中央子午线的投影为坐标x轴。 1-8、地面某点的经度为131°58′,该点所在统一6°带的中央子午线经度是129°。 1-9、为了使高斯平面直角坐标系的y坐标恒大于零,将x轴自中央子午线西移500km。 1-10、天文经纬度的基准是大地水准面,大地经纬度的基准是参考椭球面。 1-11、我国境内某点的高斯横坐标Y=22365759.13m,则该点坐标为高斯投影统一6°带坐标,带号为22 ,中央子午线经度为129°,横坐标的实际值为-134240.87m,该点位于其投影带的中央子午线以西。 1-12、地面点至大地水准面的垂直距离为该点的绝对高程,而至某假定水准面的垂直距离为它的相对高程。 第2章水准测量 2-1、高程测量按采用的仪器和方法分为水准测量、三角高程测量和气压高程测量三种。 2-2、水准仪主要由基座、水准器、望远镜组成。 2-3、水准仪的圆水准器轴应与竖轴平行。 2-4、水准仪的操作步骤为粗平、照准标尺、精平、读数。 2-5、水准仪上圆水准器的作用是使竖轴铅垂,管水准器的作用是使望远镜视准轴水平。 2-6、望远镜产生视差的原因是物像没有准确成在十字丝分划板上。 2-7、水准测量中,转点TP的作用是传递高程。 2-8、某站水准测量时,由A点向B点进行测量,测得AB两点之间的高差为0.506m,且B点水准尺的读数为2.376m,则A点水准尺的读数为2.882 m。 2-9、三等水准测量采用“后—前—前—后”的观测顺序可以削弱仪器下沉的影响。 2-10、水准测量测站检核可以采用变动仪器高或双面尺法测量两次高差。 2-11、三、四等水准测量使用的双面尺的一面为黑色分划,另一面为红色分划,同一把尺的红黑面分划相差一个常数,其中A尺的红黑面分划常数为4687,B尺的红黑面分划常数为4787。 2-12、水准测量中,调节圆水准气泡居中的目的是竖轴铅垂,调节管水准气泡居中的目的是使视准轴水平。 第3章角度测量 3-1、经纬仪主要由基座、水平度盘、照准部组成。 3-2、经纬仪的主要轴线有竖轴VV、横轴HH、视准轴CC、照准部管水准器轴LL、圆水准器轴L’L’。 3-3、经纬仪的视准轴应垂直于横轴。 3-4、测量的角度包括水平角和竖直角。 3-5、用光学经纬仪观测竖直角、在读取竖盘读数之前,应调节竖盘指标微动螺旋,使竖盘指标管水准气泡居中,其目的是使竖盘指标处于正确位置。 3-6、用测回法对某一角度观测4测回,第3测回零方向的水平度盘读数应配置为90°左右。 3-7、设在测站点的东南西北分别有A、B、C、D四个标志,用方向观测法观测水平角,以B为零方向,则盘左的观测顺序为B—C—D—A—B。 3-8、由于照准部旋转中心与水平度盘分划中心不重合之差称为照准部偏心差。 3-9、用经纬仪盘左、盘右两个盘位观测水平角,取其观测结果的平均值,可以消除视准轴误差、横轴误差、照准部偏心误差对水平角的影响。 3-10、用测回法对某一角度观测6测回,则第4测回零方向的水平度盘应配置为90°左右。 第4章距离测量 4-1、距离测量方法有钢尺量距、视距测量、电磁波测距、GPS测量。 4-2、钢尺量距时,如定线不准,则所量结果总是偏大。 4-3、钢尺量距方法有平量法与斜量法。 4-4、标准北方向的种类有真北方向、磁北方向、坐标北方向。 4-5、经纬仪与水准仪十字丝分划板上丝和下丝的作用是测量视距。 4-6、用钢尺在平坦地面上丈量AB、CD两段距离,AB往测为476.4m,返测为476.3m;CD往测为126.33m,返测为126.3m,则AB比CD丈量精度要高。 4-7、陀螺经纬仪可以测量真北方向。 4-8、罗盘经纬仪可以测量磁北方向。 4-9、地球自转带给陀螺转轴的进动力矩,与陀螺所处空间的地理位置有关,在赤道为最大,在南、北两极为零。因此,在纬度≥75°的高纬度地区(含南、北两极),陀螺仪不能定向。 第5章全站仪及其使用 5-1、全站仪测量的基本量为水平角、竖直角、斜距。 5-2、全站仪的三轴是指视准轴、测距发射光轴、测距接收光轴。 5-3、水准仪、经纬仪或全站仪的圆水准器轴与管水准器轴的几何关系为相互垂直。 5-4、单轴补偿器只能补偿全站仪竖轴倾斜在视准轴方向的分量对竖直角的影响,其功能等价于竖盘自动归零补偿器。 5-5、双轴补偿器能补偿全站仪竖轴倾斜在视准轴方向的分量对竖直角的影响,在横轴方向的分量对水平角的影响。

词法分析器实验报告

词法分析器实验报告 词法分析器设计 一、实验目的: 对C语言的一个子集设计并实现一个简单的词法分析器,掌握利用状 态转换图设计词法分析器的基本方法。利用该词法分析器完成对源程 序字符串的词法分析。输出形式是源程序的单词符号二元式的代码, 并保存到文件中。 二、实验内容: 1. 设计原理 词法分析的任务:从左至右逐个字符地对源程序进行扫描,产生一个个单词符号。 理论基础:有限自动机、正规文法、正规式 词法分析器(Lexical Analyzer) 又称扫描器(Scanner):执行词法分析的程序 2. 词法分析器的功能和输出形式 功能:输入源程序、输出单词符号 程序语言的单词符号一般分为以下五种:关键字、标识符、常数、运算符,界符 3. 输出的单词符号的表示形式: 单词种别用整数编码,关键字一字一种,标识符统归为一种,常数一种,各种符号各一种。 4. 词法分析器的结构 单词符号 5. 状态转换图实现

三、程序设计 1.总体模块设计 /*用来存储目标文件名*/ string file_name; /*提取文本文件中的信息。*/ string GetText(); /*获得一个单词符号,从位置i开始查找。并且有一个引用参数j,用来返回这个单词最后一个字符在str的位置。*/ string GetWord(string str,int i,int& j); /*这个函数用来除去字符串中连续的空格和换行 int DeleteNull(string str,int i); /*判断i当前所指的字符是否为一个分界符,是的话返回真,反之假*/ bool IsBoundary(string str,int i); /*判断i当前所指的字符是否为一个运算符,是的话返回真,反之假*/ bool IsOperation(string str,int i);

现代汉语的词法和句法——常识

现代汉语的词法和句法 现代汉语有一个系统而复杂的语法体系,学习起来会令人感到枯燥乏味,故人们往往疏而远之。甚至有人说,语法没什么实际用处,不懂语法照样能写好文章。诚然,写文章不必一味拘泥于语法的限制,但不等于写文章可以不懂基本的语法知识。只要我们仔细地阅读在各类媒体上发表的文章,就不难发现有明显语法错误的病句比比皆是。因此,要想在作文时能准确而规范地使用我们祖国的语言文字,不学一点基本的语法知识,是不能如愿以偿的。现代汉语语法的基本内容包括汉字的特点,字词句的区别、联系及其使用规则,以及字词句在具体语言环境中的变化规律等等。囿于篇幅和笔者的水平,本讲只能着重而简略地讲一讲现代汉语中通用的词法和句法这两大问题。(上篇讲词法,下篇讲句法。) (一)词法 词法,即运用词语必须遵循的一般语法规则。所谓“一般语法规则”,即人们约定俗成并为人们广泛认可和应用的语言文字的规范。在《词语的运用》一讲中我们已经进过,词语是具有实在意义并能独立运用的最小的语言单位。因此,我们学习任何一种语言,都必须从学习词语开始,首先应该学一点词法的基本知识。接下来,我想择其要讲两个问题:词语的构词方式,词类和词的兼类。 〔1〕词语的构词方式现代汉语中的词汇绝大多数是由两个有具体意义的字构成的双音节合成词(古代汉语单音节词居多)。联合式和偏正式是双音合成词的两种主要的构词方式。例如“考试”和“考场”这两个合成词,“考”和“试”的意思相近,合为一个词表示一个意思。这两个字是并列的联合关系,它们的意义没有主次之分。而“考场”则不同,“场”是场所、场地的意思,“考”说明做什么用的场所、场地。其中的“场”是主体,“考”是附加的,起限制、区别的作用。两个字的意思有主次之分。由此可知,如“考试”这类由两个意义并列,不分主次的字构成的合成词,叫联合式合成词。如“考场”这类由两个有主次之分,意义有从属关系的字构成的合成词,叫偏正式合成词。 联合式合成词又可分为两种情况:(A)由意义相同或相近的两个字并列构成。例如“土地、城市、房屋、戏剧、海洋”等等。(B)由意义相反或相对的两个字并列构成。例如“收发、开关、买卖、出纳(词中两个字意义相反);方圆、左右、始终、尺寸(词中两个字意义相对)”等等。这里要注意的是,两字意义相反的合成词的意义,代表事物的全面和整体。两字意义相对的合成词的意义,表示一种不确定的抽象意义。此外,还要注意的是,联合式合成词的两个字,有的可以颠倒,意思不变。如“互相”也可写成“相互”。有的则不能颠倒,否则意思就不同了。如“生产”不能写成“产生”。而汉语中的联合式合成词的两个字,绝大多数是不能颠倒的。 偏正式合成词的构词方式也有两种情况:(A)後一字词是主体,前一个字起修饰限制作用。如“火热、热爱、粉碎、微笑(修饰作用);铁矿、马路、汽车、布鞋(限制作用)”等等。(B)后一个字对前一个字起补充说明作用,表示动作的结果和趋向。如“说明、提高、扩大、改善、抓紧”等等。 以上所说是合成词的两种主要构词方式,此外还有其他几种构词方式:(A)前一个字表示动作,后一个字表示相关的事物,构成表示动作行为或人和事物名称的词。例如“动员、带头、出席(表示动作行为);司令、领队、导游(表示人和事物名称)”等等。(B)后一个字说明前一个字的情状。如“地震、心疼、性急”等等。(C)前一个字表示事物名称,后一个字表示事物的单位,这类合成词多半成为一种“类”名。例如“布匹、纸张、车辆、船只、诗篇”等等。 (2)词类和词的兼类——汉语里的每个词都有不同的意义和用法。我们把用法相同的词归为一类,即为语法上的“词类”,也称“词性”。汉语里所有的词按其性质和功能的不同,可分为两大类:实词和虚词。“实词”,即具有实在和明显意义的词。它有两个特点:第一,正因为实词都有具体实在的意义,所以它们只要按一定的规则和顺序组合起来,就可以成为

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