while的用法
- 格式:doc
- 大小:28.50 KB
- 文档页数:3
while 的用法知多少?快来一起学习吧。
下面小编就和大家分享,来欣赏一下吧。
while 的用法知多少?今天有同学问我 while怎么一会儿可以解释为“虽然”,一会可以解释为“当...的时候”,感觉到用不好它。
确实,while是一个用法特别灵活的词,有很多词性,特别是做连词的时候,用法多样。
我索性整理了一下 while的全部用法,跟大家分享,希望大家不仅看得懂,自己同时会用出来。
一、while做名词,表示“一会儿”。
1)After lunch, she likes to take a nap for a while.她喜欢午饭后眯一会儿。
2)It takes a while to adapt to a new environment.适应新环境需要花一段时间。
二、while 做连词。
1. 引导时间状语,解释为“当...的时候”。
1)We must strike while the iron is hot.趁热打铁。
(我们必须当铁热的时候去击打它。
)2)While he is speaking, he does a lot of gestures.他演讲的时候有很多手势。
2. 引导让步状语从句,意思是“虽然…但是…”。
.种情况,while 多放于句首1)While there was no conclusive evidence, most people thought he was guilty.虽然没有确凿的证据,大多数人还是认为他有罪。
2)While my heart is willing, my flesh is weak.心有余而力不足。
(虽然我的心是愿意的,但是我的肉体是虚弱的)。
3. 引导条件状语,意思是“只要”.1)While there is life there is hope.留得青山在,不怕没柴烧。
(只要有命在,就有希望。
)2)While there is a will, there is a way.有志者事竟成。
【英语知识点】while循环用法
while是计算机的一种基本循环模式。
当满足条件时进入循环,进入循环后,当条件不满足时,跳出循环。
while语句的一般表达式为:while(表达式){循环体}。
1.while作名词用,表示“一会儿”
例:She likes to take a nap for a while after lunch.她喜欢午饭后眯一会儿。
2.While作连词
(1)引导时间状语
例:We must strike while the iron is hot.趁热打铁。
(2)引导让步状语从句,意思是“虽然…但是….”(多放于句首)
例:While he loves China, he finds it hard to live there after being abroad for long time.虽然很爱中国,但旅居海外多年的他还是不适应中国的生活。
(3)引导条件状语,意思是“只要”
例:While there is life there is hope.留得青山在,不怕没柴烧。
3.While作并列连词用,意为“然而”,表对比关系。
而but表转折。
例:Some people waste food while others haven't enough.有些人很费粮食,然而有些人却吃不饱。
when和while引导的句子可以作过去进行时的时间状语,区别在于:when引导的时间状语从句可以接一段时间或者一个具体的时间点while引导的时间状语从句只能接一个时间点。
感谢您的阅读,祝您生活愉快。
While的用法归纳While作为一个连词,在英语中有多种用法。
它可以引导一个从句,表达时间、对比、转折等关系。
下面对While的主要用法进行归纳说明。
1. 表达时间关系:While在这种情况下通常可以被翻译为“当……的时候”。
它表示两个或多个动作或状态在同一时间发生或持续。
例如:- While I was walking to the store, I saw my friend.(当我走向商店的时候,我看到了我的朋友。
)- I like to listen to music while I'm cooking.(我喜欢一边做饭一边听音乐。
)2. 表达对比关系:While在这种情况下通常可以被翻译为“然而”或“但是”。
它表示两个事实之间的对比或转折。
例如:- John is very outgoing, while his brother is quite shy.(约翰非常外向,而他的弟弟则相当害羞。
)- While I understand your point of view, I still disagree with you.(虽然我理解你的观点,但我仍然不同意。
)3. 表达条件关系:While在这种情况下通常可以被翻译为“尽管”或“虽然”。
它表示一种情况,然而另一种情况也存在。
例如:- While it was raining, they still went for a walk.(尽管下着雨,他们还是去散步了。
)- While she has a lot of experience, she still needs more training.(虽然她经验丰富,但她仍然需要更多培训。
)4. 表达原因关系:While在这种情况下可以被翻译为“由于”或“因为”。
它表示一个原因或解释。
例如:- While he was sick, he couldn't go to work.(因为他生病了,所以无法上班。
While的用法:一、while作名词用,表示“一会儿”“一段时间”1.She likes to lie down for a while after lunch.她喜欢午饭后躺一会儿。
ing to another country to study requires a big adjustment and it takes a while to fit in.来到另一个国家求学,需要花一段时间来适应。
二、While作连词(1)引导时间状语1.We must strike while the iron is hot.趁热打铁。
2.While she was listening to the radio,she fell asleep.她听着收音机睡着了。
(2)引起让步状语从句,意思是“虽然…但是….”、“尽管…但是…”(多放于句首)1.While he loves his students,he is very strict with them..虽然他爱他的学生,可是他对他们很严格。
2.While these experiments are interesting and useful,it is important to remember that they may not always tell us much.(BookIIIp125)虽然这些实验很有趣也有用,但是很重要的是要记住,这些实验也可能不会告诉你很多。
(3)引起条件状语,意思是“只要”1.While there is life there is hope.只要生命存在,就有希望。
2.While there is a way there is away.有志者事竟成。
三、While作并列连词用,意思为“而,然而”,表对比。
而but表转折。
注意用心比较体会while与but的句中用意1.Some people waste food while others haven't enough.有些人很费粮食,然而有些人却吃不饱。
关于while的用法及解释学好英语词性很重要,while作为常见词我们有必要来深入的了解一下,接下来小编在这里给大家带来while的用法及解释,我们一起来看看吧!while的用法一、做名词,意思是“一会儿”“一段时间”例如:She likes to lie down for a while after lunch.她喜欢午饭后躺一会儿。
二、作连词,引导从句(1)引导时间状语从句,例如①We must strike while the iron is hot.趁热打铁。
②While she was listening to the radio,she fell asleep.她听着收音机睡着了。
(2)引起让步状语从句,意思是“虽然…但是….”、“尽管…但是…”(多放于句首)While he loves his students,he is very strict with them..虽然他爱他的学生,可是他对他们很严格。
(3)引起条件状语,意思是“只要”①While there is life ,there is hope.只要生命存在,就有希望。
②While there is will,there is a way.有志者事竟成。
三、作并列连词,意思为“而,然而”,表对比1.Some people waste food while others haven't enough.有些人很费粮食,然而有些人却吃不饱。
2.The son was having a good meal at home,while the parents were working in the fields.儿子在家吃好饭而父母却在田里辛勤劳作。
3.I ought to have helped her,but I never could.我本该帮她但没能。
4.Honey is sweet,but the bee stings.蜂蜜很甜,但蜜蜂有刺蜇人。
while的五种用法1. 循环语句while语句可以用来循环执行一段代码,只要指定了循环的条件是true,就会一直重复执行。
一般的循环格式为:while(condition){statement;},其中condition是循环执行的条件,statement是需要重复执行的语句。
2. 文件读取while语句常用于读取文件。
可以用一个while循环来不断读取文件的每一行,直到文件的末尾。
一般的读取格式为:while(getline(file,line)){ statement; },其中file是文件名,line是读取文件中的每一行。
3. 异常处理while语句也可以用于异常处理。
当程序遇到异常信息时,可以利用while语句来处理异常并继续执行程序。
常见的格式为:while(try){ statement; } catch(exception e){ statement; } finally{ statement; },其中try块中写需要运行的代码,catch块中写异常处理的代码,finally块中写总是需要执行的代码。
4. 并发编程while语句还可以用于并发编程,通过while语句的无限循环可以实现不断检查一些条件,从而达到程序并发控制的目的。
通常情况下,while语句与线程或协程一起使用,实现不同线程间的同步与互斥。
5. 网络编程while语句也可以用于网络编程中的数据传输。
通过while循环,可以实现在网络传输过程中持续接收或发送数据,直到传输完成。
一般的格式为:while(recv(socket,buffer,buffersize,0)!=0){ statement;},其中socket是需要接收数据的套接字,buffer是缓存区,buffersize是缓存区大小。
while的用法总结以下是小编为大家整理的while的用法总结,希望能帮助大家更好地认识while这个单词,提高英语水平。
While用法总结:一、while作名词用,表示“一会儿”“一段时间”1.She likes to lie down for a while after lunch.她喜欢午饭后躺一会儿。
ing to another country to study requires a big adjustment and it takes a while to fit in.来到另一个国家求学,需要花一段时间来适应。
二、While作连词(1)引导时间状语1.While she was listening to the radio,she fell asleep.她听着收音机睡着了。
2.We must strike while the iron is hot.趁热打铁。
(2)引起条件状语,意思是“只要”1.While there is life there is hope.只要生命存在,就有希望。
2.While there is a way there is away.有志者事竟成。
(3)引起让步状语从句,意思是“虽然…但是….”、“尽管…但是…”(多放于句首)1.While he loves his students,he is very strict with them..虽然他爱他的学生,可是他对他们很严格。
2.While these experiments are interesting and useful,it is important to remember that they may not always tell us much.虽然这些实验很有趣也有用,但是很重要的是要记住,这些实验也可能不会告诉你很多。
三、While作并列连词用,意思为“而,然而”,表对比。
而but表转折。
英语单词while的用法有哪些今天小编给大家介绍while,它是一个用法特别灵活的词,有很多词性,特别是做连词的时候,用法多样。
下面,小编在这给大家带来英语单词while的用法有哪些?欢迎大家借鉴参考!1.动词while作为动词用法是最简单的:消磨(时间)固定搭配有:while away the hours/evenings/days etc.e.g. The evenings were whiled away in endless games of cards. 晚上的时光都是在没玩没了的牌局中消磨过去的。
2. 名词while作为名词:一段时间(尤指较短的时间)一会儿;固定搭配有:take a while/for a while/ a little(short) while/quite a while/be worth sb.'s while(to do/doing sth.)/make it worth sb's while/once in a while/all the while(始终) 拿all the while举个例子:He examined her thoroughly, talking softly all the while. 他给她作了彻底的检查,同时始终与她轻声交谈/细声细语地与她交谈。
After lunch, she likes to take a nap for a while.她喜欢午饭后眯一会儿。
It takes a while to adapt to a new environment.适应新环境需要花一段时间。
在了解while作为连词的用法之前,先介绍下连词的种类。
连词分两种:并列连词+从属连词并列连词:可以连接对等的单词、短语或句子的称为并列连词。
最基本的有:and, or ,but,就不一一举例了。
从属连词:这类连词引导的从句充当状语,并且是引导从句的。
While的用法:一、while作名词用,表示“一会儿”“一段时间”1.She likes to lie down for a while after lunch.她喜欢午饭后躺一会儿。
ing to another country to study requires a big adjustment and it takes a while to fit in.来到另一个国家求学,需要花一段时间来适应。
二、While作连词(1)引导时间状语1.We must strike while the iron is hot.趁热打铁。
2.While she was listening to the radio,she fell asleep.她听着收音机睡着了。
(2)引起让步状语从句,意思是“虽然…但是….”、“尽管…但是…”(多放于句首)1.While he loves his students,he is very strict with them..虽然他爱他的学生,可是他对他们很严格。
2.While these experiments are interesting and useful,it is important to remember that they may not always tell us much.(BookIIIp125)虽然这些实验很有趣也有用,但是很重要的是要记住,这些实验也可能不会告诉你很多。
(3)引起条件状语,意思是“只要”1.While there is life there is hope.只要生命存在,就有希望。
2.While there is a way there is away.有志者事竟成。
三、While作并列连词用,意思为“而,然而”,表对比。
而but表转折。
注意用心比较体会while与but的句中用意1.Some people waste food while others haven't enough.有些人很费粮食,然而有些人却吃不饱。
while的用法(精选)While的用法While是一个常见的英语连词,用于引导时间状语从句,表示两个事件在同一时间发生或同时进行。
它有时也可以引导让步状语从句或条件状语从句,具体用法如下:一、引导时间状语从句当我们想要表达两个事件在同一时间发生或同时进行时,可以使用while引导时间状语从句。
while在这种情况下可以被译为“当…时候”、“与此同时”等等。
例如:1. While I was cooking dinner, my husband was doing the laundry.(当我在做晚饭的时候,我丈夫正在洗衣服。
)2. Mary likes to listen to music while she is jogging.(玛丽喜欢在慢跑的时候听音乐。
)3. While I was studying for the exam, my friends were watching a movie.(当我在备考时,我的朋友们在看电影。
)需要注意的是,while引导的时间状语从句可以出现在主句的任何位置,一般没有严格的语序要求。
二、引导让步状语从句除了引导时间状语从句,while还可以用于引导让步状语从句,表示尽管某个条件存在,但是主句的情况仍然发生。
在这种情况下,while可以被译为“尽管”、“虽然”等等。
例如:1. While it was raining heavily, we still went to the park.(尽管下着大雨,我们还是去了公园。
)2. While he was tired, he continued to work on the project.(尽管他很累,但他还是继续工作在这个项目上。
)3. While she was not feeling well, she managed to finish the presentation.(虽然她感觉不太好,但她还是完成了演讲。
While用法小结
一、while作名词用,表示"一会儿""一段时间"
1.She likes to lie down for a while after lunch. 她喜欢午饭后躺一会儿。
ing to another country to study requires a big adjustment and it takes a while to fit in.
来到另一个国家求学,需要花一段时间来适应。
二、While作连词
(1)引导时间状语
1.We must strike while the iron is hot. 趁热打铁。
2.While she was listening to the radio,she fell asleep. 她听着收音机睡着了。
(2) 引起让步状语从句,意思是"虽然…但是…."、"尽管…但是…"(多放于句首)
1.While he loves his students,he is very strict with them.. 虽然他爱他的学生,可是他对他们很严格。
2.While these experiments are interesting and useful,it is important to remember that they may not always tell us much.
虽然这些实验很有趣也有用,但是很重要的是要记住,这些实验也可能不会告诉你很多。
(3)引起条件状语,意思是"只要"
1.While there is life there is hope.只要生命存在,就有希望。
2.While there is a way there is away. 有志者事竟成。
三、While作并列连词用,意思为"而,然而",表对比。
而but表转折。
注意用心比较体会while与but的句中用意
1.Some people waste food while others haven't enough.
有些人很费粮食,然而有些人却吃不饱。
2.The son was having a good meal at home,while the parents were working in the fields.
儿子在家吃好饭而父母却在田里辛勤劳作。
3.I ought to have helped her,but I never could.
我本该帮她但没能。
4.Honey is sweet,but the bee stings.
蜂蜜很甜,但蜜蜂有刺蜇人。
四.while,when,as的用法区别
都译为"当…的时候",区别为:when后的从句谓语动词既可是延续性动词,也可是短暂性动词,而且还可作并列连词,译为"这时"。
但以下句型一定用when,作并列连词:
句型A:be about to do…when…正要做…这时(发生另一事)
句型B:was/were doing…when…正在…这时(发生另一事)
句型C:had done…when…刚要做…这时(发生另一事)
1.We were about to set out when it began to rain.
我们刚要出发天突然下雨了。
2.He had hardly sat down when his mobile rang.
他刚一坐下手机就响了。
3.I was walking along the bank of the river when I fell into it.
我正沿河岸散步突然掉进水里。
while后的从句谓语动词只能是延续性动词,强调主从句的两个动词同时发生;while也可作并列连词,表示两个动作的对比,译为"而""然而"。
as则表示两个变化中的动作的同时性,译为"一边…一边…"。
1.While his mother was cooking in the kitchen,the boy fell asleep in the chair.
(在一个延续动作过程中发生另一个动作)
2.He hurried home,looking behind as he went.
他匆匆回家,边走边往后看。
■巩固练习:一.改错
1.She is fat but I am thin.
2.It was raining while we arrived.
3.She sang while he walked.
4.I don't know them well,while they are my neighbors.
二.选择最佳答案:
1.She thought I was praising her child,_____,in fact,I was scolding him for his bad behaviors at school.
A.what
B.while
C.so that
D.therefore
2.I do every single bit of housework____my husband Bob just does the dishes now and then.
A.while
B.since
C.when
D.as
3.______it is expected that students come university with the ability to take a good
set of notes,this is not always the case.
A.When
B.As
C.For
D.While
4.We were swimming in the lake___suddenly the storm started.
A.when
B.while
C.until
D.before
5.---You seem to have had that car for years.
---Yes,it's in good condition,but I should sell it____it still runs.
A.if
B.before
C.because
D.while
答案:一1.but改成while。
因为fat与thin形成对比
2.while改成when。
因为arrived为短暂动词
3.while改成as。
表示"一边…一边…"
4.While they are my neighbors,I don't know them well.主句和从句颠倒位置。
二.1.选B。
while并列连词,表对比,意为,"而,但是"
2.选A.while含有对比之意,意为"然而"。
3.选D.在此句中while表示"尽管"。
4.选A. was doing when 一个固定句式。
5.选D.意思为"趁着……"。