• And they're awfully simple because, all I can do now, is decide whether to execute some piece of code or another.

    它们之所以太简单的原因是:,现在我能做的,就是,决定执行一块代码或者执行另外一块。

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

  • Of course there are lots of ways we can execute the cycle, but this is a simple one, and these are steps that we're all familiar with at this point.

    当然循环过程,可以有很多种方法,这是一个简单的例子,这是循环过程,循环中的每一步我们都很熟悉。

    麻省理工公开课 - 热力学与动力学课程节选

  • Towards semester's end you will have the opportunity to choose a project to work on, choose a project that is entirely of your own choice to execute.

    接近学期结束时,你们将有机会选择一个项目来做,一个完全由你自己选择执行的项目。

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

  • It's harder than you think, right, but that's the kind of thing that musicians, particularly percussion players, have to be able to execute.

    比你想的要困难得多,但这就是音乐家,尤其是打击乐手所必须具备的能力

    耶鲁公开课 - 聆听音乐课程节选

  • What that means, in a stored-program computer, is that I can provide to the computer a sequence of instructions describing the process I want it to execute.

    它的意思就是说,我可以给一个存储程序计算机,提供一系列,描述我希望,能执行的过程的指令。

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

  • But we studied what other companies were doing and said, "Okay, let's come up with the Dell process for doing this that's going to be right for our culture, right for our business and that we can execute."

    而是研究其他公司的运行方式,然后说,好,我们要建立起戴尔自己的模式,以适应自己的文化,自己的业务,并能完全为自己所掌握“

    斯坦福公开课 - 戴尔CEO-Michael.Dell谈创业和发展课程节选

  • A minority government of revolutionary Puritans had effectively taken control of the state. The radical Puritan Parliament voted to execute the tyrant -- what they considered to be the tyrant, King Charles I -- and to establish its own government.

    清教徒革命者组建的少数政府成功的,控制了英国,激进的清教徒议会投票决定,处死暴君--他们认为是暴君的,国王查理一世--并组建自己的政府。

    耶鲁公开课 - 弥尔顿课程节选

  • concerned his refusal to join in the judgment to condemn and execute the ten Athenian generals who had failed to collect the corpses, the bodies, of the men lost in a particular battle during the Peloponnesian War?

    关于他拒绝参与,谴责及处决十名雅典将军的审判,只因为他们无能,运回战死官兵尸体,那些在著名的伯罗奔尼萨战役中,牺牲的官兵?

    耶鲁公开课 - 政治哲学导论课程节选

  • - So double bar means if this condition or this one -- and maybe even both -- are true, go down this road and execute that code.

    所以复纵线意思是,如果这两个条件之一-,或者两个都--是成立的,那就继续,执行后面的代码。

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

  • Well at most, I'm going to execute each instruction once. All right?

    那么至多的话,我会执行,每个指令一次,对不对?

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

  • If it does, then execute each of the instructions in that block.

    这块代码内的,每一个指令。

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

  • Let's see if we can actually execute it.

    看看我们自己能不能把它演奏出来

    耶鲁公开课 - 聆听音乐课程节选

  • And what it's saying semantically is, using that variable as my placeholder, have it walk through this collection, starting at the first thing, execute that code, then the next thing, execute that code, and so on.

    它的语义意思就是,把这个变量应用为我的占位符,用它来遍历这个集合,从第一个元素开始,执行代码,然后下一个元素,再执行代码。

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

  • We're just going to go through it and execute it a little bit. And then we'll move on and talk about how we'd actually make some of these measurements of delta H and compare

    对吧?我们会讲完它并,实际应用一下,然后我们会,继续讲一下实际上我们,是怎样测量△H并与

    麻省理工公开课 - 热力学与动力学课程节选

  • All right, so now let's see how we execute it, and do the calculations that allow us to calculate this. So, one, what's delta H in step one?

    好,现在我们看看怎样操作它,怎样进行计算,第一步,步骤I的ΔH是多少?

    麻省理工公开课 - 热力学与动力学课程节选

  • So conceptually the key difference here, besides the syntax looking slightly different, it just means that if you want a chunk of code to execute no matter what initially, ; you can use the do while loop; if you want to check a condition first, you can use the while loop.

    所以概念上,则关键的区别是,除了语法看起来有点不同,它的意思是如果你想要一段代码,最初无论如何都要执行,你就可以用do,while循环;,如果你想要先检查条件,你可以用while循环。

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

  • If it is true, execute the sequence of instructions.

    如果是的话,执行这一块的指令。

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

  • We execute that instruction, we move to the next one.

    我们执行那个指令,我们继续下一轮。

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

  • Remember last time, I said that there's different kinds of complexity in our code, and I suggested for simple branching programs, the amount of time it takes to run that program is, in essence, bounded by the number of instructions, because you only execute each instruction at most once.

    但是这里有个很重要的点,记得上节课,我提过在我们的代码中,有不同种类的复杂度,而且我还说了对于简单的分支程序,运行这种程序需要的总体时间,大体上,是和指令的数目相关的,因为每个指令只会被执行最多一次。

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

  • But literally all I can do at this stage is write what we would call a straight-line program, that is, a program in which we execute in which we execute the sequence of instructions one by one.

    但是字面上来说,我们现在学到的,都是所谓的直线程序,也就是,一个接一个的执行,一系列的,指令的程序。

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

  • And here's a little trick -- and again, we promised to point -- out little tricks of the trade -- if I know I want to execute the last command I typed that started with an m, bangm will actually figure out what that command was and redo it for me so I don't have to figure it out, or you can go back in time in a terminal window.

    这里有个小技巧--此外,我们许诺指出行业中的,一些小技巧-,如果我知道我想执行我写入的上一个命令,是以m开头的,!m会明白那个命令是什么,然后为我恢复上次操作,所以我不需要明白它,或者你可以回到,那个终端窗口。

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

  • So what's going to happen here? If I'm inside this FOR, OK, and I'm running around, if I ever hit a place where this test is true, I'm going to execute that return, return that return returns from the entire procedure. OK? So the return comes back from the procedure.

    那么这里发生了什么呢?,如果我是在这个for循环里面,我正在运行,如果我运行到test的值为真的地方,我就会执行,这个return将会返回整个程序的值,明白了吗?所以它将会从整个程序中返回值。

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

  • So the question was, why is this return down at this level, it says, well if I ever execute out of this FOR loop, I get to the end of the FOR loop without hitting that branch that took me through the return, then and only then do I want to actually say, gee, I got to this place, there isn't any value to return, none I'm going to return none and none.

    问题是,为什么它是在这个级别上返回值呢,意思就是如果我出了这个for循环,就意味着我运行的过程中没有走到任何,带return的支路上去,这时也只有这时我才能说天呐,我终于走到这儿了,这时不会返回任何值,只会返回none和。

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

  • As an aside, if you ever just have one line of code that you want to execute, one puzzle piece in Scratch terminology, ; you actually don't need the curly braces; you only need the curly braces if you have two or more lines of code that you want to execute if that condition is true.

    此外,如果你只有一行代码,需要执行,在Scratch,术语中叫做,一句代码,你就不需要使用花括号了;,如果那个条件成立,你有两行或更多行的代码时需要执行时,你就需要花括号。

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

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

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

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