You might remember vaguely logarithms from high school math and such but what this suggests for us , the computer scientists, is that this is certainly a smarter, a faster algorithm.
你可能还会依稀记得,高中数学里的对数,这就给了我们这些计算机科学家们,一些启示,即,这种算法更智能,更迅速。
So the heap is a chunk of memory in a computer's RAM that's conceptually allocated to what's called dynamic memory allocation.
堆是在计算机RAM中的一块内存,它可以进行,动态内存分配。
When we talk about space, what we usually refer to is, how much computer memory does it take to complete a computation of a particular size?
我们经常指的是,当我们计算,一个特定大小的问题的时候,要占用计算机的多少内存?
What is it about the thought that the computer is just following a program?
电脑仅仅只是在执行程序,这个观点到底是什么样的
What you might do, for instance, is be sitting at a computer screen and you'll be given incomplete words to fill out "hos-" like "hos-" and you have to fill out this word.
例如,你可以,坐在一个电脑显示器前,你要补充一连串不完整的单词,例如补充完整。
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.
它的意思就是说,我可以给一个存储程序计算机,提供一系列,描述我希望,能执行的过程的指令。
Well partly this is just for fun-- this is what computer people sometimes do, intentionally or unintentionally but as also will see a really nice way to culminate the semester and frankly carve out a 10 hour block where you can bite off your final project's implementation surrounded by friends and the course's staff.
一部分只是因为好玩-,这是懂电脑的人有时会这么做,不管有没有意义,还有一部分原因是因为,以这种方式达到学期的高潮,并在朋友和这门课程教师的关注下,抽出10小时的时间完成最终的项目安装,是一件多么美妙的事啊。
You might think that what a computer, what a chess-playing computer does is just this: it calculates every possible branch, every possible game from here on out.
你可能认为,一台电脑,或一台下棋电脑所做的工作就是这样,计算出所有可能的下法,以及与之对应的各种可能的棋局
So you have what are called escape characters like backslash N that is the shorthand notation of telling the computer put a new line character here.
幸亏我们有一些类似反斜杠n的转义字符,这只是一种简化方式,用来告知电脑要在这新添一行。
D-A-V-I-D So when you get a string like D-A-V-I-D, what's really happening is inside your computer's RAM is going a byte where there's some zeros and ones.
譬如你有这么一个字符串,而在你电脑的RAM里将会变成,一个个由0和1组成的字节。
应用推荐