您要找的是不是:

The Loop

tape loop 带回路;无头带;循环带

  • The Loop includes the financial district around LaSalle Street.

    VOA: special.2009.01.12

  • Condition," this thing in the middle between the semicolons, is going to be checked every iteration of the loop.

    条件,“这个在两个分号的中间,它将迭代地检查这个循环的条件。

    哈佛公开课 - 计算机科学课程节选

  • Once each time. Right? I only do one swap potentially, it-- though not one potentially, each time at the end of the loop I do a swap.

    每次循环做一次,对么?我其实,就可能做了一次交换,也许并不是可能,每次循环的结束我都得做一次交换。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • The oil slick has now entered the loop current that runs from the Gulf of Mexico to the Florida Keys and up the east coast of the U.S., Jarvis said.

    VOA: standard.2010.05.26

  • Well, we say at the top of the loop, when it goes up and comes down the velocity is 0.

    在曲线顶端,当物体上升,然后速度为0时候

    耶鲁公开课 - 基础物理课程节选

  • And we won't wait here one hundred seconds for it to finish, but we're using the loop, we're updating a variable, and we're formatting it in a nice way.

    我们将不会再这里等待100秒来等它完成,但是我们使用循环,我们更新一个变量,我们把它排成一个漂亮的格式。

    哈佛公开课 - 计算机科学课程节选

  • This is a highly simplified version, but sort of closes the loop on what we've been talking about.

    以上是对整个过程的高度概括,但它涵盖了我们讲过的内容

    耶鲁公开课 - 生物医学工程探索课程节选

  • And there is a self-enforcing loop between the two, where helping others helps ourselves; and helping ourselves, in turn, helps others.

    两者间有自我实施的循环,帮助他人就是帮助自己;,帮助自己继而帮助他人。

    哈佛公开课 - 幸福课课程节选

  • Well I ought to be able to do that by simply generalizing the loop. And that's what the next piece of code on your a hand out shows you.

    好的通过生成这个循环,我应该能够达到目的,这也是你们的讲义中下一段代码。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • So this is a nice little search-- sorry, a nice little sort algorithm . And in fact, it's relying on something that we're going to come back to, called the loop invariant.

    恩,这是一个很棒的小搜索,抱歉,和很棒的小排序算法,事实上,它依赖于一些我们要回顾的东西,被称作循环不变量。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • And I want to remind you, that block of code is a set of instructions, the same set of instructions that are going to be done each time through the loop.

    我想提醒大家,这块代码是一个指令集,一个每次循环都会被执行的相同指令集,会变化的仅仅是变量的值。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • The loop invariant what does the loop invariant mean? It says, here is a property that is true of this structure every time through the loop.

    循环不变量是什么意思?,它是一个在结构体中,每次循环都为真的属性。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Which means, next time through the loop, that's going to pop out and return an answer.

    循环会跳出并返回这个答案,如果不相等的话。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Then the next thing in the loop, we're going to enter a nested loop and say for every college in the list e, we're going to print the name of the college.

    循环中的第二件事,是进入一个嵌套循环,这个嵌套循环将数组中的,大学名字显示出来。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • swap I'm going to keep track of a little variable called swap, it's initially true, and as long as it's true, I'm going to keep going, but inside of the loop I'm going to set it to false, and only if I do a swap will I set it to true.

    我打算跟踪一个小的变量称为,初始值为真,只要它是真的,算法就会继续,但是在循环里,我打算把他设为假,除非交换发生,就把它设为真。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • So each time through the loop, I'm doing three steps. Three basic operations.

    因此每次运行这个循环,我做了三次基本运算。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • It's basically cycling through the loop a multiplying by a each time.

    这个代码就是简单的循环,每次乘一个。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • How do I know when I'm done with the loop?

    我怎么知道循环完毕了呢?

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Go through the second round of the loop.

    再做第二遍循环。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • And so when you start to poke around the puzzle pieces, you see that it can say things, we'll see movement in just a moment and sound and so forth, but at the end of the day, this is just like the program we used a moment ago for the sock exercise where we just hold Philip a step after step after step, do this, do this, do that, and yet, here too, we already see an opportunity for that thing we called the loop.

    如果你认真看下这些拼图,你会发现它都是一些移动,并发出声音的功能块,就像我刚才的,练习程序一样,我们让飞利浦做这个动作,做那个动作,跟这里的情况一样,我们已经看到了称为循环的东西。

    哈佛公开课 - 计算机科学课程节选

  • And then I run a loop in which I read something in, I check to see if it's the right type, if it is, I change that variable to say it's now the correct type, which means the next time through the loop, I'm going to say I'm all set and I'm going to bounce out.

    因为我还没输入,然后我运行一个循环,循环内部我输入一些东西,然后看看是不是正确的类型,如果是的话我改变input,Ok为真,来证明输入数是正确的类型,这就意味着下一次运行这个循环的时候,就可以跳出循环继续执行了。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • I get to the end of the loop, and I actually do a little bit of wasted motion there. And the little bit of wasted motion is, I take the value at i, store it away temporarily, take the value where min index is pointing to, put it back in there, and then swap it around.

    我走到了循环的末尾,事实上我做了多余的动作了,有点多余的是我把i的值,临时保存起来了,看看MinIndex指向的值,放回到哪里,然后再交换。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Next time through the loop it goes to a squared.

    循环完后变成a的平方。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Well, this question mark becomes an O, this question mark becomes an O, and then the loop terminates 0 1 2 because it's iterating from zero to N so that's zero, 1, 2 and the length of the string is 3 so the loop terminates, but I remember that I needed to have this special sentinel value so I'm just going to put it there manually.

    嗯,这个问号变成了,这个问号变成了0,然后循环结束了,以为迭代从0到N,那就是,字符串的长度是3,然后循环就结束了,但是我记得我需要这个特殊的标记值,所以需要手动的加上它。

    哈佛公开课 - 计算机科学课程节选

  • We're gonna have a so called a loop, an infinite loop and you actually experience this in the real world.

    我们将会做一个循环,一个无限循环,你会在这个,真实世界里体验它。

    哈佛公开课 - 计算机科学课程节选

  • So it's initialized outside the loop when it should be initialized inside the loop. Or conversely, inside the loop when it should be outside the loop. So look carefully at when variables are being initialized.

    却忘记了,意思就是它本来应该,是在循环外初始化,但是却是在循环初始化的,所以在初始化变量的时候注意这一点。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • And so what's the loop going to do?

    字符的序列来对待了?

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Now this happens to be what we would call a linear process, because the number of times I go around the loop is directly related to the size of the argument. If I double 2 the argument, I'm going to double the number of times I go around the loop. If I increase it by five, 5 I'm going to increase by five the number of times I go around the loop.

    这恰好是我们会成为,线性复杂度程序的一个例子,因为我要执行循环的次数是,和输入的参数的大小直接相关的,如果我将这个参数乘以,那么我就要将进行循环的次数也乘以2了,如果我把参数加上,那么循环的次数也要加上5了。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • It's going to run through the loop, accumulating the answers, but because I'm subtracting, x it's just going to keep making x more and more negative as it goes along, again it's off into an infinite loop.

    它一直在循环,不断的累加答案,这是因为我一直在对x做减法,这使得作为负数的,变的越来越小,又进入一个无限循环了。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Next time through the loop it goes to a cubed.

    然后再一次循环变成a的三次方。

    麻省理工公开课 - 计算机科学及编程导论课程节选

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定