OK. Today, for the rest of the lecture, we're going to take a break from the topic of algorithms, and computation, and things of the sort. And do something pretty pragmatic.
好,今天剩下的时间里,我们不再讲算法,计算和排序这些话题了,我们会做一些非常实用的事,我们主要的讲讲测试。
In San Francisco, it's something you can pretty much be open about.
在某些方面,旧金山真的是很开放。
Pardon? I could square x but maybe I should just do something pretty simple here. Suppose-- whoops.
对不起我没听清,我可以求x的平方,但是好像这里我做点简单的,改动就可以解决问题了。
If you look at weight and risk of Type Diabetes you start to see something pretty interesting.
在体重和II型糖尿病患病风险的关系中,我们能得出更有趣的发现
So this should be something you can do pretty quickly, so let's take 10 more seconds on that.
你们应该很快就能做出来,再给你们10秒钟。
It is something that happens pretty much automatically, with a kind of fluidity that Mike has never achieved.
这是一个相当自然就发生的事情,其中的流度迈克从来没有实现过。
So you feel that you know pretty well how things behave, but then, all of a sudden, there's something way out here.
然后你觉得对市场行为了解的差不多了,但是突如其来,有些东西在这里出现了
So this is something that, by now, you're pretty familiar with.
就像这样,你们应该很熟悉这个。
And finally, and most important-- these others have been pretty straightforward-- but what has not been straightforward is something that you might listen to many, many times and not be aware of, and that is chord changes.
最后,也是最重要的途径,上述的三种途径都非常直截了当,不过也有些不那么直接的东西,即使你听了成千上百遍,也不一定会注意到的是和弦的变化
The Earth seems to be a pretty good inertial system, because on the ground, you leave something, it stays there.
地球看上去是个不错的惯性系,因为什么东西放在地上,都会保持静止
If there's something worse about story number two, and I think it's pretty clear there is something worse, it's not the separation.
第二个故事又有什么更坏的地方呢,显而易见是有更坏的地方,不是分离本身。
So we can feel pretty comfortable that it's doing something good with that.
所以我们感觉很棒,程序工作正常。
They were pretty slow off the mark to do something about this, and it was after lawsuits were filed that they actually made the change.
他们先慢腾腾的应付着,直到诉讼结束时才真正做出改变
It pretty much boils down to something simple as this.
它归根结底就是这样的简单的东西。
NULL If a get string returns null, that pretty much means something went wrong and there are a few things that could go wrong.
如果GetSting返回,大致上表示的是出错了,这里有几种出错的地方。
All right. I tried it on 2, I surely didn't expect a precise and exact answer to that but I got something, and if you square this, you'll find the answer kept pretty darn close to 2.
好,我试试求2的平方根,我当然不希望得到一个完全准确的答案了,但是我得到了一个近似值,试试将这个数平方一下,你会发现结果和2相当接近。
We can put a list in the list again, as we've seen before. So let's put the list containing the string a, and I'll print out so now we see something pretty interesting about a list, that we can mix up all sorts of things in it, and that's OK.
数组放到数组中去,让我们把这个包含,字符串a的数组放进去,然后再显示,我们看到了一些,挺有趣的事情:我们可以把各种,各类的东西混合着放进去,没问题。
it becomes a gray area but it should be pretty clear if you can treat something is reversible are irreversible.
这是个灰色区域,但什么可以当作可逆过程处理,而什么要当作不可逆过程,这是相当清楚的。
We looked at something called Selection Sort and that too was pretty straightforward, at least conceptually.
例如选择排序,至少从概念上来说,它非常简单。
Yes, and if we have gases involved, it's pretty similar, but now what will have is something like this. We'll have a reaction vessel that's sealed, it's constant volume.
如果涉及了气体,情况也很相似,只是现在的装置是这样的,我们有一个密封的反应容器,它的体积是恒定的。
If I'm saying something that you don't understand, the chances are pretty good that there's 25 or 50 other students in the class who don't understand it either.
如果我正说着什么你不懂的东西,那时就是举手的好机会,因为有25或50个别的学生,也不懂。
or sorry, you did choose to show up today, we'll understand, but please also understand that the TAs won't have a lot of patience with you if you're asking a question about something that was either covered in the readings, or covered in the lecture and is pretty straight forward. All right?
你确实决定了来上课,我们会理解你的,但是请明白,当你问了一个,既在阅读材料里,也在课堂上讲过的浅显问题时,助教们可没有太多耐心,接待你?
应用推荐