And when you actually wanna store information on disk, can you actually use, as we'll see in a moment, magnetic particles.
当你想在硬盘中存储信息时,我们将会用到后面,我们会谈论的一种称之为磁性粒子来实现它。
But in fact, if you just run your fingers again and again over this floppy disk you are disorienting those particles or knocking them off perhaps altogether, depending on the medium.
事实上,如果你把手指一次次的在磁盘上面滑动,这些粒子就会变的无极性,或者把它们整个搞坏,而这取决于媒介。
All right. The rules, though, are, they can only move one disk at a time, and they can never cover up a smaller disk with a larger disk. OK. Otherwise you'd just move the whole darn stack, OK?
好,规则是,他们只能一次挪动一个盘子,并且不能把大盘子放在小盘子上,不这样的话你就直接,把这一堆盘子都挪过来了对不对?
We transition to actually real world applications later on like a compression-- how do you take a huge amount of data ; and actually whittle it down into something more manageable; something that uses less of your disk space.
然后我们会讲生活中的应用程序,比方说压缩文件——,把大量的数据分解使其更易管理;,并占用尽量少的磁盘空间。
What you'll notice very delicately is that there's not all that much to this so called floppy disk.
你会注意到这种称之为软盘的东西,现在已经不怎么存在了。
So as the particles on the disk that get the current in the read/write head moving put together millions of these magnetized segments and you've got a file.
通过读写头你就可以得到每个粒子的极性,如果把这些上百万粒子的信息,汇聚要一起就够成了一个文件。
When you're working on a file, it's saving constantly to RAM but also hopefully to disc, the hard disk so you don't actually lose it if the power goes off.
当你打开一个文件,它不断地保存在内存中,但对于光盘,硬盘,当你断开电源的时候,数据不会丢失。
A patterned series of these tiny charged berries on the disk represents a single bit of data in the binary number system used by computers.
这些在磁盘上的有序的小粒子,代表这个当代计算机中,二进制中单独的一位。
Good question, so what happens when you format a floppy disk or format a hard drive?
好问题,当你格式化一个软盘,或者硬盘时会发生什么呢?
This is different from the hard disk, which is where files and stuff are permanently stored.
这个和硬盘是不一样的,那是存储,文件之类的东西的。
And now you truly can see that there's not much to this disk.
你将会发现这个软盘组件并不多。
Moving a disk of size 1.
移动面积为1的也就是最小的圆盘。
Because you can come up with an infinite number of values but if you have a finite amount of space and certainly a computer has a finite amount of disk space or RAM, you have to make approximations.
你可能会碰到一些无限的值,如果你只有有限的空间,废话,电脑当然只有一个有限的磁盘空间,或RAM,我们得做一些近似处理。
If I want to move this stack here, I'm going to take a stack of size n minus 1 move it to the spare spot, now I can move the base disk over, and then I'm going to move that stack of size n minus 1 to there. That's literally what I did, OK?
如果我想移动这些圆盘,我先把从n-1个圆盘1,移动到多余的柱子上去,这样我就能把最底下的圆盘放到这儿了,然后再把从n-1个圆盘放到这儿来,这就是确切的我怎么做的对不对?
RAM You probably know your computer has something called RAM which is where documents and programs live just temporarily while you're running them 'cause RAM tends to be pretty fast and whereas your hard disk is where programs and files live permanently.
也许你知道电脑有一个,正在使用的程序和文件都暂时存放在那里,而且会加快电脑速度,而硬盘是程序和文件,永久存储的地方。
The bits are still there, much like bits are still left when you erase a file on your hard disk but they're forgotten about.
二进制数还在那里,就像你在硬盘上删除一个文件,二进制还在那里,但是它们被遗忘了。
How do you get data off the hard disk?
那怎样从磁盘中得到数据?
And if you've ever heard the word driver software that you install in your computer so that your computer, your operating system, Windows or Mac OS, knows how to talk to that piece of hardware, it's that driver software that then empowers the operating systems to send those commands as well, up, the data is laid out on the disk.
并且如果你听说过安装到,电脑中的驱动软件这个词的话,你的操作系统,比如Windows或者是苹果操作系统,通过这个驱动软件我们的电脑,才能知道如何与这个硬件进行通信,正是因为这个驱动软件,操作系统才能根据数据,左右移动的指令来读取磁盘里的数据。
应用推荐