That is to say with just those set of constructs, anything you can describe algorithmically you can compute with that set of constructs.
图灵完全化语言的特点,的例子之一,也就是说用这些结构。
The real issue is to figure out how to build constructs out of this that tackle particular problems, but the fundamental basics of computation are just captured in that set of mechanisms.
坏消息是当然这不是真的,真正的问题是怎么来,构建解决特定的问题的这些结构,但是运算的最基本的东西,仅仅体现在机制集里。
Okay, not to dwell too much on math because you can very quickly bore someone in computer science by dwelling too much on math but it's useful even for logical constructs as we'll see with loops.
不要过于纠结于这些数学问题了,在计算机领域,你会很讨厌那些,在这上面钻牛角尖的人,但是对于那些,像循环这样的逻辑结构又是很有用的。
I'm going to start this lecture with a discussion of how one constructs a portfolio and what are the mathematics of it.
首先我想讲讲,怎样建立一个投资组合,以及与其有关的数学问题。
So, for instance, one example is there's no language in the world that ever constructs a question by switching the order of words around in a sentence.
举例来说,世界上并没有语言能够通过,改变句子中词的顺序,来构成疑问句
He constructs this new capital.
彼得大帝修建了这座新都
Does Socrates believe that speech ? that he constructs between himself and the laws or is it simply a fiction that he creates for the sake of relieving ? his friend of the guilt he evidently feels for being unable to help Socrates?
苏格拉底相信,建构于他与法律之间的说法吗,或那仅是,他创出安抚友人,自责的借口,因为他们对无能抢救苏格拉底?
It's very important that x and y are human constructs and we're not wedded to any of them.
很重要的是 x 轴和 y 轴是人为设定的,且我们不能拘泥于它们
Once you know what pieces to look for, what mental constructs to reach for, can you realize all right I want to make some dancing figures go back and forth, I need to loop this way and loop this way and check if I'm on the edge and so forth.
一旦确定需要查找的部分,想要达到那种层次,你是否意识到,我想做出一些可以来回走动跳舞的人,我需要按这种方式那种方式让它转圈,并检查我是否,到了屏幕的边缘等等。
There are so many other constructs like loops and conditions and such, so what I thought we do in conclusion today is look at this program.
这里有很多其他结构类型如循环控制,条件分支等等,所以我觉得应该,以这个程序作为结束。
Let's go into the third version of this and then start doing something with these constructs.
让我们进入这个程序的第三版,开始用这些概念来写点东西。
I've added the ability to have more complex data structures here. But I dropped a hint in the first lecture about what you could computer with things. In fact if you think for a second about that list, you could ask what can I compute with just that set of constructs?
我添加了使用更复杂的数据结构的能力,但是我在第一节课给大家了了一个,关于你可以用什么来做计算的暗示,实际上如果你思考,这个列表一会儿的话,你会问我可以用?
And as we add constructs to the language, we're going to talk about.
当我们开始加指令的时候,我们会谈论到这一点。
Short answer: no, at least not in C. You can construct such constructs in other languages and in theory even C.
简单回答:没有,至少在C语言里是没有的,你可以,在C语言或其他语言中创建这样一个结构体。
And we have looping constructs.
我们还学习了循环结构。
What about some of the other constructs we looked at?
那么其他的成分又是对应于什么呢?
Even though you'll see a whole bunch of constructs today and even throughout the course, you will find that there's often multiple ways to implement something, and it will be up to us to guide you toward better design and making in giving two different options the better choice as time passes.
即使今天乃至整个课程中,你们将了解到很多的结构,你将发现,这里有很多的方法来处理一些事情,这将引导你们做更好的设计,随着时间的推移,从两个不同的选择中,选择一个更好的。
Well, what are some of the other constructs we're gonna have access to starting with scratch and see?
当我们开始用Scratch编程的时候,其他的一些指令是什么意思呢?
应用推荐