• It'll allow you to tackle interesting problems I'll have you to write from scratch, but it does mean that this skill here is going to be really valuable.

    它会让你处理有趣的问题,我会让你绞尽脑汁的编写,但是这一点意味着,这个技能非常宝贵。

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

  • Scratch This Boolean expression allows you to say to scratch if you are touching the mouse pointer, the little arrow, do something. How do we do something?

    布尔表达式允许你告诉,当你触碰到鼠标指针,也就是小箭头,程序就相应地做一些事情?

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

  • Things very quickly get ugly and you might even already be feeling this tension in Scratch if you're dragging and dropping and moving things around.

    是不是很丑呢,如果东丢一点,西落一点,你很快就会不爽了。

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

  • In Scratch, the block you may have used for this idea literally says "or" for or; in C, two vertical bars.

    Scratch中,这个你用的程序块,照字面地想法来说“or“表示或者;,在C语言中,是两个竖线。

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

  • Let's actually put this into play with the little sprite known as scratch.

    让我们把这个用到那个,我们熟知的小精灵当中。

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

  • In scratch, a condition looks a little something like this.

    简单来说,一个条件判断就像这一样。

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

  • We've seen this branching construct in Scratch, we've seen it a moment ago on the slide, and see, we just need else if to use not an else, not just an if but an else if.

    我们看到了这个Scratch的分支结构,我们看到刚才在幻灯片中,了解到,我们不需要,用一个else,也不只是用一个if,而是用一个。

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

  • In Scratch you may have realized that, "I could implement my program this way with these puzzle pieces, but it kind of feels -- like I could use these puzzle pieces instead" -- that's absolutely the case in programming.

    Scratch中你可能已经意识到,“我可以用这一段代码来,执行我的程序,不过这有点感觉到,我可以用这些代码段来代替“,那绝对是编程中的一个情况。

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

  • And notice, unlike Scratch where some of you might have realized it starts to get a little ugly, you have an "if else" and then you have another here and another one and things start to move and move and move like this, it gets very messy.

    请注意,不像Scratch,在那里,你们其中某些人可能认识到它变得有点丑,你有一个“if,else“然后这里又另一个,那里又有一个,代码就像这样开始跳转,跳转再跳转,它开始变得有点凌乱了。

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

  • When you created a variable in scratch, you could either make it for this sprite only or for all sprites. All right.

    当你在scratch中创建一个变量,你可以只为这个精灵创建,或者为全部的精灵而创建,好的。

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

  • So the translation here is that whereas last week and in Scratch, the looping structures are yellow and have kind of this brace structure to them.

    同理,大家回想一下上个星期,在Scratch软件中,循环结构都用黄色标记出来了,与此类似。

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

  • So variables you were introduced to in scratch, and there was this idea of global and local variables, but scratch called them something a little different.

    scratch中所介绍的变量,这里有一个全局变量和局部变量概念,但是scratch中有不同的叫法。

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

  • > So this thing here, when green flag clicked say, oh, hi world, this was perhaps the simplest program we could write in Scratch.

    >,我们先看看这个例子,“点击绿旗“下面显示“,这也许是我们用Scratch软件写出的最简单的,程序了。

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

  • Last year for the pieces that do vary year to year a bit, last year's first problem set challenged students to write their first or maybe second or third program using this environment called Scratch.

    去年的教材有些地方有略微改动,去年的第一个问题集是让学生,在Scratch环境下,写下自己的第一或第二个或第三个程序。

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

  • This is what you typed into the white box in Scratch and anyone perhaps already familiar, the backslash N is the shorthand way of saying what?

    这也是你们在Scratch的白色输入框里要填入的东西,也许已经有人知道,反斜杠n代表某种简写方式吧?

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

  • So this is the simplest program you can probably write in this language called Scratch.

    这是一个用SCRATCH语言,编写的最简单程序。

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

  • > So this was a Scratch project submitted by one of last year's students.

    >,这是由去年一个学生完成的,一个Scratch项目。

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

  • > So this tune made by one of our former students; but it doesn't have to be something written in Scratch, it doesn't have to be a game or animation it can simply be an incredibly, wonderfully way to spend time.

    这段是由以前的学生制作的;,不一定非要用Scratch编写,也不一定必须是个游戏或动画,它只不过是用来打发时间的,一个好办法。

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

  • Scratch The syntax actually looks reminiscent to Scratch, where you have a puzzle piece reminiscent of this shape, but you have to say "if" followed by a space, followed by in parenthesis, the Boolean expression that you want to check -- more on those in a moment.

    这个语法看起来使人想起,那里有一个这种形状的程序块,但是你必须说明“if“后面跟着一个空格,跟着一个括号,一个你需要核对的布尔表达式,-还有更多的。

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

  • Well, most of this stuff is actually pretty similar to Scratch.

    好的,大部分的这些东西,的确对应Scrtch来说是,非常类似的。

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

  • But what looks like this orange block as of now in Scratch, add orange to your so called inventory, well, it's gonna take at least two lines of code in C to actually create the inventory array with this first line and then put something like the word orange inside of it.

    就好比Scratch里面橘色的这一块,把“桔子“加到所谓的“清单“里面去,在C语言中至少需要两行代码来实现,第一行代码创建一个货单数组,第二行就需要把“桔子“放进去。

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

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

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

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