a←2,i←1,While i≤6 a←a+1 Print i,a i←i+1 End While 运行结果是-----

清新午后2022-10-04 11:39:541条回答

a←2,i←1,While i≤6 a←a+1 Print i,a i←i+1 End While 运行结果是----------------------

已提交,审核后显示!提交回复

共1条回复
莫子 共回答了33个问题 | 采纳率93.9%
7 8
1年前

相关推荐

Tom (work) in the garden,while I (sit) in the sun.用正确形式填写
Tom (work) in the garden,while I (sit) in the sun.用正确形式填写
Tom (work) in the garden,while I (sit) in the sun.
此句中可不可以两个词都用一般过去时,又可不可以两个都用过去进行时?
又要怎样分辨哪一个是该填过去式,哪个该填进行时?
那如果while 改为when呢?when是不是既可以引导延续性的,又可以引导短暂性的?此时就要根据题意看动词是哪一种对吧?
renhuq1年前2
wangxin2003521 共回答了17个问题 | 采纳率100%
Tom (was working) in the garden,while I (was sitting) in the sun.
当我坐在太阳底下的时候,汤姆正在花园里劳动.
不能都用一般过去时,while引导的时间状语从句要用延续性的行为,可以两个都是过去进行时.一般来说,短暂的行为用一般过去时(如arrive),延续性的行为用进行时(如wait).
补充:如果是when引导的时间状语从句,两种情况都有可能.这时要看动词属于哪一种.短暂动词用一般过去时,延续动词用过去进行时.
you push while i pull.句中while i要连读吗?
you push while i pull.句中while i要连读吗?
可以把 while i 读成 /wailai/
finrisk1年前1
晓萌如风 共回答了23个问题 | 采纳率91.3%
可以的.辅音和原音连在一起的时候往往连读.
i=1 while i≤10 i=i+5 WEND PRINT I END
i=1 while i≤10 i=i+5 WEND PRINT I END
程序执行后输出的结果是!a,b,6 c,10?d,11
小辩子1年前1
lvf25961147 共回答了16个问题 | 采纳率93.8%
这是两个循环,第一个循环,i=6.此时i小于10,i=i+5=6+5=11
再循环到i≤10,是否为真时,i=11就是假,不成立了.循环结束.
输出
11
Last Sunday,while I 1 in a supermarket,I met a strange man.H
Last Sunday,while I 1 in a supermarket,I met a strange man.He was 2 and strong,and he 3 me all
天下7601081年前1
75474539 共回答了9个问题 | 采纳率100%
Last Sunday, while I 1 in a supermarket, I met a strange man, he was 2 and strong, and he 3 me all the time. I was very 4 and wanted to leave. But just at that time, the man came up and said “Hello” to me. 5 my surprise, he called my name. But I really didn’t know 6 he was. The man told me that his name was Mario and he ever was my classmate. After 7 that, I remembered him. He 8 shot and thin, also he was 9 the dark. Now he 10 changed. We talked happily till it was very 11 . When we said “ 12 ” to each other, he said he was 13 afraid of the dark and he didn’t 14 with the light 15 because he was a policeman. I listened and laughed.
( )1. A. shopped B.shoped C. was shopped D. was shopping
( )2. A. fat B. tall C. short D. cool
( )3. A. saw B. looked to C. noticed D. was looking at
( )4. A. happy B. sorry C. unhappy D. sad
( )5. A. To B. With C. In D. For
( )6. A. What B. Where C. Whom D. How
( )7. A. listen B. listening C. heard D. hearing
( )8. A. is B. used to C. used to being D. used to be
( )9. A. terrify of B. terrified of C. terrified to D. terrified about
( )10. A. sure B. surely C. true D. real
( )11. A. night B. dark C. later D. the dark
( )12. A. hello B. leave C. goodbye D. go
( )13. A. not longer B. not more C. not any longer D. no more
( )14. A.. get up B. go to sleep C. watch TV D. read books
( )15. A. turn on B. start C. on D. begin
DBDCA CDDBB BCDBC
用所给单词的适当形式填空 While I (walk) in the park ,it (begin) to rain.
用所给单词的适当形式填空 While I (walk) in the park ,it (begin) to rain.
用wear或put on填空(必要时可改变其形式)
1.He always ( ) glasses.
2.It's very cold.you'd bette ( ) more clothes.
3.He ( ) black leather shoes todoy.
4.She likes ( ) her own hair.
5.The person who ( ) sports shoes in my teacher.
6.Let's wait a moment.She ( ) her coat.
7.She is beautiful.She ( ) her diamonds these days.
8.I think you'd better ( ) your gloves.
ty87160901年前3
akzhouhau 共回答了24个问题 | 采纳率100%
walk,begins
如果walk可以填2个空格,则am/was walking;begins/began
was crossing
was shining came
was talking came
While I
While I on the street. I found a little boy near the park.
[ ]
A. am walking; crying
B. was walking; cry
C. was walking; crying
sheep3211年前1
GGGGHHH 共回答了21个问题 | 采纳率100%
C
一道算法题,下列语句的作用是用来计算(?)s=1,i=1 While i为什么这样?为什么答案是这样也解释下啊
荒地1年前2
陋洞摆出 共回答了12个问题 | 采纳率83.3%
答案是C
循环体是while循环,第一次i=1;满足循环体进入循环体,第一次后i 变为2
以此类推,第八次后i 变为9;此时依然满足循环条件i
While I ——TV ,telephone rang .用一般过去时还是过去进行时
eedswx1年前3
书情GOOD 共回答了46个问题 | 采纳率
watching
仁爱英语初二时态请帮忙总结一下初二的过去进行时的用法什么时候用,while I,什么时候用,when i.以及什么是不定
仁爱英语初二时态
请帮忙总结一下初二的过去进行时的用法什么时候用,while I,什么时候用,when i.以及什么是不定代词,什么是连续性动词,什么是定语,什么是表语,并详细说明在各种情况下的用法,并尽量有例句.
感激之至!
如果满意再奉上50分!
表出来1年前3
琴秋风 共回答了17个问题 | 采纳率88.2%
1) 概念:表示过去某时正在进行的状态或动作.
2) 过去进行时的主要用法是描述一件事发生的背景;一个长动作发生的时候,另一个短动作发生.
3) 常用的时间状语
this morning, the whole morning, all day yesterday, from nine to ten last evening, when, while
My brother fell while he was riding his bicycle and hurt himself.
It was raining when they left the station.
When I got to the top of the mountain, the sun was shining.
典型例题
1) Mary ___ a dress when she cut her finger.
A. made B. is making C. was making D. makes
答案C. 割伤手指是已发生的事情,应用过去时.同 时,when表时间的同时性,"玛丽在做衣服时"提供事情发生的背景,因此用过去进行时.
2) As she ___ the newspaper, Granny ___ asleep.
read; was falling B. was reading; fell C. was reading; was falling D. read;fell
答案B.句中的as = when, while,意为"当……之时".描述一件事发生的背景时,用过去进行;一个长动作发生的时候,另一个短动作发生.句意为 "在她看报纸时,奶奶睡着了."句中的 fell (fall的过去时),是系动词,后跟形容词,如:fall sick.
when和while的区别:
一.引导时间状语从句时,WHILE连接的是时间段,而WHEN连接的多是时间点
例如What does your father do while your mother is cooking?
What does your mother do when you come back?
二,WHILE可以连接两个并列的句子,而WHEN不可以
例如I was trying my best to finish my work while my sister was whtching TV
三,WHEN是特殊疑问词,对时间进行提问,WHILE不是.
例如,When were you bron?
不定代词
不定代词的定义
不指明代替任何特定名词或形容词的代词叫做不定代词.常用不定代词有:
some,any,all ,none,both,either,neither,each, every,other,another,much,
many,few,little,one等.
一、不定代词的用法
不定代词大都可以代替名词和形容词,在句中作主语、宾语、表语和定语.
1.作主语
Both of them are teachers.他们两人都是教师.
2.作宾语
Iknow nothing about this person.我对这个人一无所知.
3.作表语
This book is too difficult for a child.这本书对一个小孩来说太难了.
4.作定语
There is a little water in the glass.玻璃杯里有一些水.
连续性动词是指一个动作需要一长段时间,而不是瞬间就可以完成、一短短的时间就过去的
When Millie came into the room,her mother was watching TV.这句话中Millie进入房间只要很短的时间,而母亲看电视是持续性动词

定语
The little boy needs a blue pen.(little修饰名词boy;blue修饰名词pen.)/小男孩需要一支蓝色的钢笔.
Tom is a handsome boy./Tom是个英俊的男孩.
There is a good boy./有个乖男孩.
数词作定语相当于形容词:Two boys need two pens./两个男孩需要两支钢笔.
The two boys are students./这两个男孩是学生.
There are two boys in the room./房间里有两个男孩.
代词或名词所有格作定语:
His boy needs Tom's pen./他的男孩需要Tom的钢笔.
His name is Tom./他的名字是汤姆.
There are two boys of Tom's there./那儿有Tom家的两个男孩.
介词短语作定语:
The boy in the classroom needs a pen of yours./教室里的男孩需要你的一支钢笔.
The boy in blue is Tom./穿蓝色衣服的孩子是汤姆.
There are two boys of 9,and three of 10./有两个9岁的,三个10岁的男孩.
名词作定语:
The boy needs a ball pen./男孩需要一支圆珠笔.
It is a ball pen./这是一支圆珠笔.
There is only one ball pen in the pencil box./这铅笔盒里只有一支圆珠笔.
副词作定语:
The boy there needs a pen./那儿的男孩需要一支钢笔.
The best boy here is Tom./这里最棒的男孩是Tom.
不定式作定语:
The boy to write this letter needs a pen./写这封信的男孩需要一支钢笔.
The boy to write this letter is Tom./将要写这封信的男孩是汤姆.
There is nothing to do today./今天没有事要做.
分词(短语)作定语:
The smiling boy needs a pen bought by his mother./那个微笑的男孩需要一支他妈妈买的钢笔.
The pen bought by her is made in China./她买的笔是中国产的.
There are five boys left./有五个留下的男孩.
定语从句:
The boy who is reading needs the pen which you bought yesterday./那个在阅读的男孩需要你昨天买的钢笔.
The boy you will know is Tom./你将认识的男孩叫汤姆.
There are five boys who will play the game./参加游戏的男孩有五个.
定语的位置一般有两种:用在所修饰词之前的叫前置定语,用在所修饰词之后的叫后置定语.
表语
表语是用来说明主语的身份、性质、品性、特征和状态的,表语常由名词、形容词、副词、介词短语、不定式、动词的-ing、从句来充当,它常位于系动词(be, become, appear, seem,look,sound,feel,get,smell等词)之后.如果句子的表语也是由一个句子充当的,那么这个充当表语的句子就叫做表语从句.
[编辑本段]表语的各种形式
一. 名词作表语
Africa is a big continent. (continent. 是句中的表语、)
非洲是个大洲.
That remains a puzzle to me. (puzzle是句中的表语、)
这对我还是个难题.
二. 代词作表语
What’s your fax number?
你的传真号是多少?
Who's your best friend?
你最好的朋友是谁?
三. 形容词作表语
I feel much better today.
我今天感觉好多了.
四. 数词作表语
She was the first to learn about it.
她是第一个知道的人.
五. 不定式或ing形式作表语
Her job is selling computers.
她的工作是销售电脑.
Our next step was to get raw materials ready.
我们下一步是把原料准备好.
六. 介词短语作表语
The patient is out of danger.
病人脱险了.
I don’t feel at ease.
我感到不自在.
七. 副词作表语
The sun is up.
太阳升起来了.
I must be off now.
现在我得走了.
八. 从句作表语
This is what he said.
这就是他所说的话.
九、不定式作表语
作表语的不定式短语通常是说明主语的内容,这时主语通常是如下名词:
hope, idea, job, plan, wish, aim, purpose, thing, business

The purpose of new technologies is to make life easier, not to make it more difficult.
新技术的目的是使生活更便利,而不是更繁琐.
Her wish is to become a singer.
她的愿望是当一名歌手.
Our plan is to finish the work in two weeks.
我们的计划就是在两星期内完成这项工作.
十.形容词作表语
He is old but he is healthy.
while i(was doing)my homework,my mother(was cooking) in the
while i(was doing)my homework,my mother(was cooking) in the kitchen括号里为什么这么写.
飞天魔刹1年前2
haiou 共回答了22个问题 | 采纳率90.9%
过去进行时啊…
i=1,S=0,WHILE i≤50,S=S+i,i=i+1,WEND PRINT S END.程序执行后输出的结果S=
i=1,S=0,WHILE i≤50,S=S+i,i=i+1,WEND PRINT S END.程序执行后输出的结果S= 答案为什么是1275.
我看过解析.用的s=1+2+3+……+n,为什么是这样,有没有详细点的.怎么得出的1,2,3,.
雨落枯荷1年前1
135598 共回答了18个问题 | 采纳率100%
WHILE ... WEND表示在满足条件的前提下不断重复执行里面操作的意思.
对于此题,
第一次, i=1,满足条件,于是S=S+i=0+1=1, i=i+1=1+1=2
第二次, 上次计算的结果拿过来i=2,满足条件,于是S=S+i=1+2=3, i=i+1=2+1=3
第三次, 上次计算的结果拿过来i=3,满足条件,于是S=S+i=3+3=6, i=i+1=3+1=4
第四次, 上次计算的结果拿过来i=4,满足条件,于是S=S+i=6+4=10, i=i+1=4+1=5
到此为止,执行了四次,S=10,其实,把这四次连起来看,S=(0+1)+2+3+4=1+2+3+4=10
即执行N次的话,S=1+2+3+...+N
而循环条件i
i=1 s=0 T=0 While i≤20 s=s*2+1 T=T+s i=i+1 End While Print T
i=1 s=0 T=0 While i≤20 s=s*2+1 T=T+s i=i+1 End While Print T 求输出结果
weavegirl1年前1
楼小妞 共回答了19个问题 | 采纳率84.2%
T=1