So it's generally called distribution code and whereas for the previous problems that you pretty much started from scratch, blank files you opened up nano and there was nothing there unless you put it there.
它一般被称作分布码,然而,对于之前几乎要从头做起的问题,在空白文件中什么都没有,除非你在里面写入些东西。
If you don't move 10 yards in that... if you don't move the 10 yards in your four tries,
如果你不推进十码……如果在那四次机会中你不推进十码,
I can have functions with no parameters, that's fine, I will still need the open and close paren there to identify that I have no parameters.
我每次都需要进行输入码?,函数可以没有参数,我依然需要前后括号,来定义我没与参数。
This is what's written in what we'll generally call pseudocode.
而是用伪码写的。
Yeah, run the ball is called, when you run the ball, generally you only do it from 10 yards.
是的,就叫“带球跑”,带球跑的时候,你通常只从十码的地方开始。
So I would choose something that have a wave lines off You wouldn't measure the dimension of a human hair with a yardstick, so I need something on this order.
所以我会选些东西,你将不会用一个码尺去量,人的头发有多大,所以我需要一些这个级数上的东西。
So you have a long pitch which is 22 yards long.
而且这个场地很长,有二十二码长。
You just need to express in ASCII character, one at a time, and these brave souls are simply going to spell something out for us to hammer home this point of binary.
你们只需要每人代表一个ASCII码,这些勇敢的小伙子们就是想,清楚的让大家理解二进制原理。
Now, once you know each of those, you can now do 25 more upper case letters and 25 more lower case letters then there are some other stuff like punctuation and things you see on the keyboard.
一旦你知道两者中的任何一个,你就知道了另外25个,大写字母和小写字母,标点和在键盘上的,各种符号也有ASCII码。
And there are only two ways to move the ball in football and to gain yards.
而且在美式足球比赛中,只有两种方式去推进球来获得码数。
to get a first down as it's called or second and third and fourth down.
去拿下所谓的第一个10码进攻,然后是第二个,第三个,第四个。
> But if you actually do the math, those zeros and ones translate to an ASCII character which is D which is gonna be a 65, 66, 67, 68 would be the letter D.
>,你们自己算算看,把这些0和1转换成D对应的ASCII码,那么就是,65,66,67,68,对,68对应于“D“
> >> David: So yeah, not binary per se but ASCII, right?
>,【无法辨认的声音】,>>,大卫:是这样的,不是二进制本身,而是用ASCII码,对吗?
In this case, it's a sequence of ASCII characters.
在这里,就是一系列ASCII码。
Pseudocode is kind of an English-like syntax that's just a useful way of expressing yourself fairly succinctly, fairly computer-like but without having to worry about stupid details like whether it's Java or C or whatever.
伪码是一种类似英语的语法,可以简洁地,表达自己的意思,它与电脑类似,但是你不用担心那些愚蠢的细节,比如Java,C语言或者其他什么语言。
5 So similarly would there be the number 65 next to this then the corresponding number for V-I-D and then there's generally a special character at the end that looks like a zero that says end of string here.
同样,A就是,接着再填上V-I-D对应的ASCII码,在最后还有添上一个特殊的字符,有点像0,代表这是该字符串结束。
And the thing we've seen thus far is called "ASCII."
我们目前看到的这个东西叫做“ASCII“码“
And ASCII recalls the code that we talked about last week.
回想一下我们上周提到的ASCII码。
human text, ASCII text as input and output zeroes and ones that represent that program in a manner that the CPU, interesting, dammit, not installed on this computer.
编译器以人输入的文本,ASCII码为输入,它输出一些cpu实际上可以理解的,在这台计算机上没有安装。
Now ASCII involves characters.
现在ASCII码包含字符了。
You have four chances to move 10 yards,
你有四次机会去推进十码,
I have connected to the course's central server from my own laptop and via dot slash chart am I about to run a little program that depicts as best we can with what with generally call ASCII art -- -- it's really all you can do in a terminal window like this -- our numbers from the past few years.
我已经通过我的电脑连接到了课程的中心服务器,在我的笔记本电脑上,通过键入“,/chart“,我将要运行一个被描写成,“ASCII码艺术“的小程序-,在一个这样的终端窗口中你们都可以做到-,过去几年中我们的人数。
应用推荐