Saltar navegación

Activa JavaScript para disfrutar de los vídeos de la Mediateca.

Cómo funcionan los ordenadores / How computers work - Contenido educativo

Ajuste de pantalla

El ajuste de pantalla se aprecia al ver el vídeo en pantalla completa. Elige la presentación que más te guste:

Subido el 9 de noviembre de 2022 por Francisco Javi G.

112 visualizaciones

Descargar la transcripción

As the pioneers of computer science explored how to design a thinking machine, they realized 00:00:00
that it had to perform four different tasks. 00:00:05
It would need to take input, store information, process it, and then output the results. 00:00:09
Now this might sound simple, but these four things are common to all computers. 00:00:18
That's what makes a computer a computer. 00:00:24
The earliest computers were made out of wood and metal, with mechanical levers and gears. 00:00:29
By the 20th century, though, computers started using electrical components. 00:00:34
These early computers were really large and really slow. 00:00:39
A computer the size of a room might take hours just to do a basic math problem. 00:00:42
These machines are things of gleaming, very colored metal, and numerous flashing lights. 00:00:49
Computers started out as basic calculators, which was already really awesome at the time, 00:00:55
and they were only manipulating numbers back then. 00:01:00
But now we can use them to talk to each other, we can use them to play games, control robots, 00:01:02
and do any crazy thing that you could probably imagine. 00:01:08
Modern computers look nothing like those clunky old machines, but they still do these same 00:01:12
four things. 00:01:16
Next we're going to talk about input. 00:01:24
This is my favorite, because what input is, is the stuff that the world does, or that 00:01:26
you do, that makes the computer do stuff. 00:01:30
You can tell a computer what to do with a keyboard, you can tell them what to do with 00:01:33
a mouse, the microphone, the camera, and now if you're wearing a computer on your wrist, 00:01:36
it might listen to your heartbeat, or in your car it might be listening to what the car 00:01:42
is doing, and a touch screen can actually sense your finger and it takes that as input 00:01:45
on what it's doing. 00:01:51
All these different inputs give a computer information, which is then stored in memory. 00:01:57
A computer's processor takes information from memory, it manipulates it, or changes it, 00:02:03
using an algorithm, which is just a series of commands, and then it sends the processed 00:02:08
information back to be stored in memory again. 00:02:12
This continues until the processed information is ready to be output. 00:02:16
How a computer outputs information depends on what the computer is designed to do. 00:02:24
A computer display can show text, photos, videos, or interactive games, even virtual 00:02:28
reality. 00:02:33
The output of a computer may even include signals to control a robot. 00:02:34
And when computers connect over the internet, the output from one computer becomes the input 00:02:38
to another, and vice versa. 00:02:43
You may have heard that computers work on ones and zeros, or you may have seen scary 00:02:46
looking visuals like this, but almost nobody today actually deals directly with these ones 00:02:52
and zeros. 00:02:58
But ones and zeros do play a big role in how computers work on the inside. 00:02:59
Inside a computer are electric wires and circuits that carry all the information in a computer. 00:03:06
How do you store or represent information using electricity? 00:03:12
Well, if you have a single wire with electricity flowing through it, the signal can either 00:03:15
be on or off. 00:03:20
That's not a lot of choices, but it's a really important start. 00:03:23
With one wire, we can represent a yes or a no, true or false, a one or a zero, or anything 00:03:26
else with only two options. 00:03:35
This on-off state of a single wire is called a bit, and it's the smallest piece of information 00:03:37
a computer can store. 00:03:42
If you use more wires, you get more bits. 00:03:44
More ones and zeros, with more bits, you can represent more complex information. 00:03:47
But to understand that, we need to learn about something called the binary number system. 00:03:53
In the decimal number system, we have 10 digits from 0 to 9, and that's how we've all learned 00:04:01
to count. 00:04:07
In the binary number system, we only have two digits, 0 and 1. 00:04:08
With these two digits, we can count up to any number. 00:04:14
Here's how this works. 00:04:17
In the decimal number system we're all used to, each position in a number has a different 00:04:19
value. 00:04:24
There's the 1 position, the 10 position, the 100 position, and so on. 00:04:25
For example, a 9 in the 100 position is a 900. 00:04:31
In binary, each position also carries a value, but instead of multiplying by 10 each time, 00:04:36
we multiply by 2. 00:04:42
So there's the 1s position, the 2s position, the 4s position, the 8s position, and so on. 00:04:44
For example, the number 9 in binary is 1001. 00:04:51
To calculate the value, we add 1 times 8 plus 0 times 4 plus 0 times 2 plus 1 times 1. 00:04:57
Almost nobody does this math because computers do it for us. 00:05:07
What's important is that any number can be represented with only 1s and 0s, or by a bunch 00:05:12
of wires that are on or off. 00:05:17
The more wires you use, the larger the numbers you can store. 00:05:20
With 8 wires, you can store numbers between 0 and 255, that's 8 1s. 00:05:24
With just 32 wires, you can store all the way from 0 to over 4 billion. 00:05:32
Using the binary number system, you can represent any number you like. 00:05:39
But what about other types of information, like text, images, or sound? 00:05:44
It turns out that all these things can also be represented with numbers. 00:05:50
Think of all the letters in the alphabet. 00:06:00
You could assign a number to each letter, A could be 1, B could be 2, and so on. 00:06:02
You can then represent any word or paragraph as a sequence of numbers. 00:06:08
And as we saw, these numbers can be stored as on or off electrical signals. 00:06:12
Every word you see on every webpage or your phone is represented using a system like this. 00:06:19
Now let's consider photos, videos, and all the graphics you see on a screen. 00:06:30
All of these images are made out of teeny dots called pixels, and each pixel has a color. 00:06:36
Each of the colors can be represented with numbers. 00:06:43
When you consider that a typical image has millions of these pixels, and a typical video 00:06:47
shows 30 images per second, now we're talking about a lot of data here. 00:06:52
Every sound is basically a series of vibrations in the air. 00:07:03
Vibrations can be represented graphically as a waveform. 00:07:08
Any point on this waveform can be represented by a number. 00:07:12
In this way, any sound can be broken down into a series of numbers. 00:07:16
If you want higher quality sound, you would pick 32-bit audio over 8-bit audio. 00:07:21
More bits means a higher range of numbers. 00:07:27
When you use a computer to write code or make your own app, you're not dealing directly 00:07:32
with these ones and zeros, but you will be dealing with images, or sound, or video. 00:07:37
So if you want to understand how computers work on the inside, it all comes down to these 00:07:42
simple ones and zeros, and the electrical signals in the circuits behind them. 00:07:47
They are the backbone of how all computers input, store, process, and output information. 00:07:52
Under the hood, all computers do the same four basic things. 00:08:01
They input information, store and process the information, and then output information. 00:08:05
Each of these things is done by a different part of the computer. 00:08:12
There are input devices that take input from the outside world and convert it into binary 00:08:16
information. 00:08:22
There is memory to store this information. 00:08:24
There is a central processing unit, or CPU, where all the calculations are done. 00:08:27
And finally, there are output devices that take information and convert it into physical 00:08:33
output. 00:08:39
Let's talk about input first. 00:08:41
Computers can take many different types of input, like the keyboard of a computer, the 00:08:43
touchpad of a phone, a camera, a microphone, or a GPS. 00:08:47
But even the sensors on a car, a thermostat, or a drone are also different input devices. 00:08:53
Now let's look at a simple example of how input travels through a computer and becomes 00:08:59
output. 00:09:03
When you press a key on your keyboard, let's say the letter B, the keyboard converts the 00:09:06
letter to a number. 00:09:10
That number is sent as binary, ones and zeros, into the computer. 00:09:13
Starting from this number, the CPU calculates how to display the letter B pixel by pixel. 00:09:19
The CPU requests step-by-step instructions from memory, which tell it how to draw the 00:09:25
letter B. The CPU runs these instructions and stores the results as pixels in memory. 00:09:29
Finally, this pixel information is sent in binary to the screen. 00:09:37
The screen is an output device, which converts the binary signals into the tiny lights and 00:09:41
colors that make up what you see. 00:09:46
This all happens so quickly it feels instantaneous. 00:09:51
But to display each letter, a computer runs thousands of instructions, starting from the 00:09:55
moment your finger presses the keyboard. 00:10:01
In that example, the output device was the screen. 00:10:07
But there are many different types of output which take a binary signal from the computer 00:10:10
and do something in the physical world. 00:10:14
For example, a speaker will play sound, and a 3D printer will print an object. 00:10:16
Output devices can also control physical motion, like a robotic arm, the motor of a car, or 00:10:22
the cutting tool of the milling machine that my company makes. 00:10:28
New types of inputs and outputs let computers interact with the world in entirely new ways. 00:10:33
This has been helped out by improvements to the speed and size of the memory and CPU. 00:10:38
The more complicated a task is, and the more information that's input or output, the more 00:10:44
processing power and memory a computer needs. 00:10:48
Typing letters on a screen may be easy, but to do complicated 3D graphics or record a 00:10:53
high-definition movie, modern computers often have multiple CPUs to process all that information 00:10:58
and many gigabytes of memory to store it. 00:11:05
No matter what it is you want to do with a computer, every single action is about inputting 00:11:10
information from the physical world, storing and processing that information, and getting 00:11:16
some output back into the physical world. 00:11:23
When you look inside a computing device, you see a bunch of circuits, chips, wires, speakers, 00:11:29
plugs, and all sorts of other stuff. 00:11:35
This is the hardware. 00:11:38
But what you don't see is the software. 00:11:40
Software is all of the computer programs, or code, running on this machine. 00:11:43
Software can be anything from apps and games to webpages and the data science software 00:11:48
that me and my teams use at Amazon to understand how customers behave. 00:11:53
But how do the hardware and the software interact with one another? 00:11:57
Let's start at looking at a computer's central processing unit, or CPU. 00:12:02
The CPU is the master chip that controls all the other parts of the computer. 00:12:07
A CPU needs to do different things, so inside it has smaller, simpler parts that handle 00:12:13
specific tasks. 00:12:19
It has circuits to do simple math and logic. 00:12:22
It has other circuits to send and receive information to and from different parts of 00:12:25
the computer. 00:12:31
The real magic of the CPU is how it knows which circuits to use and when to use them. 00:12:33
The CPU receives simple commands that tell it which circuit to use to do a specific job. 00:12:41
For example, an add command tells the CPU to use its adder circuit to calculate a new 00:12:47
number. 00:12:52
And then the store command tells the CPU to use a different circuit to save that result 00:12:53
into memory. 00:12:57
Just like numbers, all of these simple commands can be represented in binary 1s and 0s, or 00:13:00
on and off electrical signals. 00:13:06
The binary commands are stored in memory, and the CPU fetches and executes them in sequence, 00:13:10
one after the other. 00:13:16
This sequence of commands is in fact a very simple computer program. 00:13:19
Binary code is the most basic form of software, and it controls all the hardware of a computer. 00:13:24
These days, nobody writes software in binary. 00:13:31
It would take forever! 00:13:34
Today, the software we write looks more like this, or this, or even this. 00:13:36
Programming languages like these let you type in commands in something that looks a lot 00:13:44
like English. 00:13:49
To draw a rectangle on the screen, you just need a single command. 00:13:51
This high-level command is converted into hundreds or thousands of simpler binary commands 00:13:57
that the CPU understands. 00:14:03
Software tells the CPU what to do. 00:14:09
But when you're listening to music and browsing the web and chatting with a friend, your computer 00:14:12
is running multiple pieces of software all at once. 00:14:17
So how do all of these programs get on the computer in the first place? 00:14:20
And how can the CPU run them all at once? 00:14:24
To find out, we'll have to take a look at the operating system. 00:14:27
The operating system of the computer is the master program that manages how software gets 00:14:32
to use the hardware of the computer. 00:14:37
For example, I helped create the Windows operating system that runs on most personal computers. 00:14:39
The operating system is a program with special abilities that let it control the other software 00:14:46
on the computer. 00:14:51
It lets you install new programs by loading them into your computer's memory. 00:14:53
It decides when a program is run by the central processing unit, and whether that program 00:14:57
can access the computer's input and output devices. 00:15:02
And when you think your computer is running many programs at once, in reality, it's the 00:15:06
operating system that's quickly switching between programs, sharing that CPU for fractions 00:15:11
of a second. 00:15:17
Inside every computer is an operating system managing software that controls the computer's 00:15:19
hardware. 00:15:23
The software is a series of commands made of simple binary code. 00:15:24
And that binary code is just electrical signals flowing through billions of tiny circuits. 00:15:28
Idioma/s:
en
Idioma/s subtítulos:
es
Autor/es:
Code.org
Subido por:
Francisco Javi G.
Licencia:
Dominio público
Visualizaciones:
112
Fecha:
9 de noviembre de 2022 - 21:10
Visibilidad:
Público
Enlace Relacionado:
https://www.youtube.com/watch?v=OAx_6-wdslM&list=PLzdnOPI1iJNcsRwJhvksEo1tJqjIqWbN-
Centro:
IES CIUDAD DE JAEN
Duración:
15′ 33″
Relación de aspecto:
1.78:1
Resolución:
1920x1080 píxeles
Tamaño:
298.87 MBytes

Del mismo autor…

Ver más del mismo autor


EducaMadrid, Plataforma Educativa de la Comunidad de Madrid

Plataforma Educativa EducaMadrid