网站首页  英汉词典

请输入您要查询的英文单词:

 

单词 Do while
释义

Do while

原声例句
瑞克与莫蒂 第三季(双语)

What did you do while you were waiting?

你们在等待这一季时做了什么?

超女 第02季 S02

What did you do while you were there?

你去那里做什么?

CNN 精选 2015年7月合集

Their work is done while most everyone else is asleep.

他们的工作会在大多数人熟睡的时候完成。

CNN 10 学生英语 2019年4月合集

Eating, bathing, everything would have to be done while lying down.

吃饭,洗澡,所有的事情都必须在躺下的时候完成。

老友记第九季

Is that what you were doing while I was getting gas?

这是不是在我想放屁的时候 你们去弄的呢?

BBC地道英语

And I asked you what I should do while I was waiting.

然后我问你我等你的时候要做什么。

老外最想聊的100个口语话题

What else are you planning to do while working for that company?

在那工作期间你还打算做些什么?

简单心理学

Specifically, if the task is something you might naturally do while angry.

具体来说,如果这个任务是你生气时自然会做的。

学霸养成计划

Things that you can't do while you're sitting in a classroom.

包括一些无法在课堂上学到的事情。

剑桥雅思听力全真试题14

One thing you have to do while you're here is go dolphin watching.

在这里的时候必须要做的一件事情是去看海豚。

五个孩子和沙精

And so they did -- while the sun slowly went down in the west.

他们就睡着了——这时太阳慢慢地从西边落下去。

四级听力真题切割版

What does the woman tend to do while she is on the phone?

女的在打电话的时候倾向于做什么?

海狼(下)

" But what were you doing while all this was going on" ? I asked.

" 可是,出这种问题的时候你在干什么?" 我问。

科普小杂文

So, here are some basic exercises you can do while sitting in your chair.

这里提供一些坐着就可以做的简单运动。

NPR音讯 2020年1月合集

So what have lawmakers been doing while we've all been focused on impeachment?

我们所有人都在关注弹劾时议员做了什么?

老友记第二季

Ahh, toilet seat covers! Is that what you were doing while I was getting gas?

马桶纸垫啊!我去加油的时候,你们就去买这个吗?

当月 CNN 10 学生英语

Here are five things we can and cannot do while living here in Antarctica.

以下是我们生活在南极洲时可以做和不能做的五件事。

演员对谈(双语精选)

Yeah. - So we were, like, that's what we were doing while that was happening.

是的。- 所以我们,这就是我们在做的事情。

老友记第二季

Now, I want you to tell me what you're doing while you're doing it.

我要你一边做,一边告诉我你正在做什么。

历年四级听力真题精听

Question 9. What does the woman tend to do while she is on the phone?

女士打电话时通常会怎样?

中文百科

Do-while循环 Do while loop

(重定向自Do while)
do-while循环执行过程

zh:zh|do-while循环 do-while循环(do while loop),也有称do循环,是计算机编程语言中的一种控制流程语句。主要由一个代码块(作为循环体)和一个表达式(作为循环条件)组成,表达式为布尔(boolean)型。循环体内的代码执行一次后,进程会去判断这个表达式的返回值,如果这个表达式的返回值为“true”(即满足循环条件)时,则循环体内的代码会反复执行,直到表达式的返回值为“false”(即不满足循环条件)时终止。进程会在每次循环体每执行一次后,进行一次表达式的判断。

一般情况下,do-while循环与while循环相似。两者唯一的分别:do-while循环将先会执行一次循环体内的代码,再去判断循环条件。所以无论循环条件是否满足,do-while循环体内的代码至少会执行一次。因此,do-while循环属于后测循环(post-test loop)。

英语百科

Do while loop Do-while循环

(重定向自Do while)
Do While loop flow diagram

In most computer programming languages, a do while loop is a control flow statement that executes a block of code at least once, and then repeatedly executes the block, or not, depending on a given boolean condition at the end of the block.

The do while construct consists of a process symbol and a condition. First, the code within the block is executed, and then the condition is evaluated. If the condition is true the code within the block is executed again. This repeats until the condition becomes false. Because do while loops check the condition after the block is executed, the control structure is often also known as a post-test loop. Contrast with the while loop, which tests the condition before the code within the block is executed, the do-while loop is an exit-condition loop. This means that the code must always be executed first and then the expression or test condition is evaluated. If it is true, the code executes the body of the loop again. This process is repeated as long as the expression evaluates to true. If the expression is false, the loop terminates and control transfers to the statement following the do-while loop. In other words, whereas a while loop sets the truth of a statement as a condition precedent for the code's execution, a do-while loop provides for the action's ongoing execution subject to defeasance by the condition's falsity, which falsity (i.e., the truth of the condition's negation) is set as a condition subsequent.

随便看

 

英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2024 encnc.com All Rights Reserved
更新时间:2025/6/18 9:45:36