< Return to Video

03 Circuits v6

  • 0:08 - 0:11
    One of the coolest things I've discovered about circuits is
  • 0:12 - 0:18
    circuitry can be an art form like if I have a creative idea, I can get that creative idea out using circuits.
  • 0:20 - 0:25
    So if you have ideas, you can use technology to make those ideas come to life.
  • 0:27 - 0:32
    Every input or output of a computer is effectively a type of information,
  • 0:32 - 0:37
    which can be represented by on or off electrical signals
  • 0:37 - 0:39
    or ones and zeros.
  • 0:39 - 0:46
    In order to process the information that comes in as input, and to make the information that is output,
  • 0:46 - 0:50
    a computer needs to modify and combine the input signals.
  • 0:51 - 0:59
    To do this, a computer uses millions of teeny electronic components, which come together to form circuits.
  • 1:03 - 1:08
    Let's take a closer look at how circuits can modify and process information that's represented in ones and zeros.
  • 1:09 - 1:12
    This is an incredibly simple circuit.
  • 1:12 - 1:16
    It takes an electrical signal, on or off, and it flips it.
  • 1:16 - 1:21
    So if the signal you give it is a 1, the circuit gives you a 0,
  • 1:21 - 1:24
    and if you give the circuit a 0, it gives you a 1.
  • 1:24 - 1:30
    The signal that goes in is not the same as the signal that comes out, and so we call this circuit not.
  • 1:30 - 1:37
    More complicated circuits can take multiple signals and combine them, and give you a different result.
  • 1:37 - 1:43
    In this example, a circuit will take two electrical signals, now each one might be a 1 or a 0.
  • 1:44 - 1:50
    If either of the signals coming in is a 0, then the result is also a 0.
  • 1:50 - 1:53
    This circuit will only give you a 1,
  • 1:53 - 2:01
    if the first signal and the second signal are both a 1, and so we call the circuit and.
  • 2:01 - 2:07
    There are many small circuits like this that perform simple logical calculations.
  • 2:07 - 2:13
    By connecting these circuits together, we can make more complex circuits that perform more complex calculations.
  • 2:14 - 2:20
    For example, you can make a circuit that adds 2 bits together called an adder.
  • 2:20 - 2:27
    This circuit takes in 2 individual bits, each one a 1 or a 0, and adds them together to calculate the sum.
  • 2:27 - 2:30
    The sum can be 0 plus 0 equals 0,
  • 2:30 - 2:34
    0 plus 1 equals 1, or 1 plus 1 equals 2.
  • 2:34 - 2:39
    You need two wires coming out because it can take up to two binary digits to represent the sum.
  • 2:40 - 2:44
    Once you have a single adder for adding two bits of information,
  • 2:44 - 2:50
    you can put together multiples of these adder circuits side-by-side to add together much larger numbers.
  • 2:51 - 2:56
    For example, here's how an 8-bit adder adds the numbers 25 and 50.
  • 2:57 - 3:04
    Each number is represented using 8 bits, resulting in 16 different electrical signals that go into the circuit.
  • 3:05 - 3:11
    The circuit for an 8-bit adder has lots of little adders inside of it, which together, calculate the sum.
  • 3:12 - 3:17
    Different electrical circuits can perform other simple calculations like subtraction or multiplication.
  • 3:17 - 3:25
    In fact, all the information processing your computer does is just lots and lots of small simple operations put together.
  • 3:25 - 3:31
    Each individual operation done by a computer is so, so simple it could be done by a human,
  • 3:31 - 3:34
    but these circuits inside computers are way way faster.
  • 3:35 - 3:39
    Back in the day, these circuits were big and clunky,
  • 3:39 - 3:45
    and an 8-bit adder could be as big as a fridge, and it would take minutes for them to perform a simple calculation.
  • 3:45 - 3:50
    Today, computer circuits are microscopic in size, and way way faster.
  • 3:51 - 3:53
    Why are smaller computers also faster?
  • 3:53 - 3:58
    Well, because the smaller the circuit is, the less distance the electrical signal has to go.
  • 3:58 - 4:04
    Electricity moves at just about the speed of light, which is why modern circuits can perform billions of calculations per second.
  • 4:05 - 4:11
    So whether you're playing a game, recording a video, or exploring the cosmos,
  • 4:12 - 4:18
    everything you could possibly do with technology requires lots of information to be processed extremely quickly.
  • 4:19 - 4:25
    Underneath all this complexity is just lots of teeny little circuits that turn binary signals
  • 4:25 - 4:28
    into websites, videos, music, and games.
  • 4:28 - 4:32
    These circuits can even help us decode DNA to diagnose and cure disease.
  • 4:32 - 4:35
    So what would you like to do with all these circuits?
Title:
03 Circuits v6
Description:

more » « less
Video Language:
English
Team:
Code.org
Project:
How Computers Work
Duration:
04:45
Code.org edited English subtitles for 03 Circuits v6
Amara Bot edited English subtitles for 03 Circuits v6

English subtitles

Revisions Compare revisions