Return to Video

The Internet: Wires, Cables, & Wifi

  • 0:03 - 0:08
    The Internet | Wires, Cables, and Wi-Fi
  • 0:08 - 0:13
    My name is Tess Winlock, I'm a software engineer
  • 0:13 - 0:18
    at Google. Here's a question: How does a picture,
    text message, or email get sent from one device
  • 0:18 - 0:25
    to another? It isn't magic, it's the Internet.
    A tangible, physical system made to move information.
  • 0:25 - 0:30
    The Internet is a lot like the postal service,
    but the physical stuff that gets sent is a
  • 0:30 - 0:37
    little bit different. Instead of boxes and
    envelopes, the Internet ships binary information.
  • 0:37 - 0:41
    Information is made of bits. A bit can be
    described as any pair of opposites: on or
  • 0:41 - 0:49
    off, yes or no. We typically use a 1 meaning
    on, or a 0 meaning off. Because a bit has two
  • 0:49 - 0:56
    possible states we call it binary code. 8
    bits strung together makes 1 byte. 1000 bytes
  • 0:56 - 1:02
    all together is a kilobyte. 1000 kilobytes
    is a megabyte. A song is typically encoded
  • 1:02 - 1:08
    using about 3-4MB. It doesn't matter if it's
    a picture, a video, or a song, everything
  • 1:08 - 1:13
    on the Internet is represented and sent around
    as bits. These are the atoms of information.
  • 1:13 - 1:17
    But it's not like we're physically sending
    1s and 0s from one place to another or one
  • 1:17 - 1:22
    person to another. So what is the physical
    stuff that actually gets sent over the wires
  • 1:22 - 1:26
    and the airways? Well, let's look at a small
    example here of how humans can physically
  • 1:26 - 1:31
    communicate to send a single bit of information
    from one place to another. Let's say that
  • 1:31 - 1:37
    we can turn on a light for a 1 or off for
    0. Or use beeps or similar sorts of things
  • 1:37 - 1:42
    to Morse code. These methods work but they're
    really slow, error prone, and totally dependent
  • 1:42 - 1:47
    upon humans. What we really need is a machine.
    Throughout history, we've built many systems
  • 1:47 - 1:51
    that can actually send this binary information
    through different types of physical mediums.
  • 1:51 - 2:00
    Today, we physically send bits by electricity,
    light, and radio waves. To send a bit via electricity,
  • 2:00 - 2:05
    imagine that you have two lightbulbs connected
    by a copper wire. If one device operator turns
  • 2:05 - 2:09
    on the electricity then the lightbulb lights
    up. No electricity, then no light. If the
  • 2:09 - 2:14
    operators on both ends agree that light on
    means 1 and light off means 0, then we have
  • 2:14 - 2:20
    a system for sending bits of information from
    one person to another using electricity. But
  • 2:20 - 2:25
    we have kinda a small problem, if you need
    to send a 0 five times in a row, well how
  • 2:25 - 2:30
    can you do that in such a way that either
    person can actually count the number of 0s?
  • 2:30 - 2:35
    Well the solution is to introduce a clock
    or a timer. The operators can agree that the
  • 2:35 - 2:39
    sender will send 1 bit per second and the
    receiver will sit down and record every single
  • 2:39 - 2:44
    second and see what's on the line. To send
    five 0s in a row, you just turn off the light,
  • 2:44 - 2:48
    wait 5 seconds, the person at the other end
    of the line will write down all 5 seconds.
  • 2:48 - 2:54
    For five 1s in a row, switch it on, wait 5 seconds,
    write down every second. Obviously we'd like
  • 2:54 - 2:58
    to send things a little bit faster than one
    bit per second, so we need to increase our
  • 2:58 - 3:04
    bandwidth - the maximum transmission capacity
    of a device. Bandwidth is measured by bitrate,
  • 3:04 - 3:09
    which is the number of bits that we can actually
    send over a given period of time usually measured
  • 3:09 - 3:14
    in seconds. A different measure of speed is
    the latency, or the amount of time it takes
  • 3:14 - 3:22
    for one bit to travel from one place to another,
    from the source to the requesting device.
  • 3:22 - 3:27
    In our human analogy, one bit per second was
    pretty fast but kinda hard for a human to
  • 3:27 - 3:31
    keep up with. Let's say that you actually
    want to download a 3MB song in 3 seconds,
  • 3:31 - 3:37
    at 8 million bits per megabyte that means
    a bit rate of about 8 million bits per second.
  • 3:37 - 3:41
    Obviously, humans can't send or receive 8
    million bits per second but a machine could
  • 3:41 - 3:45
    do that just fine. But now there's also the
    question of what sort of cable to send these
  • 3:45 - 3:50
    messages over and how far the signals can
    go. With an ethernet wire, the kind that you
  • 3:50 - 3:56
    find in your home, office, or school you see
    measurable signal loss or interference over
  • 3:56 - 4:01
    just a few hundred feet. For the Internet
    to work all around the world, we need to have
  • 4:01 - 4:06
    an alternative method to send bits really
    long distances. We're talking like across
  • 4:06 - 4:11
    oceans. So what else can we use? What do we
    know that moves a lot faster than just electricity
  • 4:11 - 4:18
    through a wire? Light. We can actually send
    bits as light beams from one place to another
  • 4:18 - 4:23
    using a fiber optic cable. A fiber optic cable
    is a thread of glass engineered to reflect
  • 4:23 - 4:27
    light. When you send a beam of light down
    the cable, light bounces up and down the length
  • 4:27 - 4:31
    of the cable until it is received on the other
    end. Depending on the bounce angle, we can
  • 4:31 - 4:36
    actually send multiple bits simultaneously,
    all of them traveling at the speed of light.
  • 4:36 - 4:41
    So fiber is really really fast. But more importantly
    the signal doesn't really degrade over long
  • 4:41 - 4:45
    distances. This is how you can go hundreds
    of miles without signal loss. This is why
  • 4:45 - 4:50
    we use fiber optic cables across the ocean
    floors to connect one continent to another.
  • 4:50 - 4:56
    In 2008 there was a cable that was actually
    cut near Alexandria, Egypt which really interrupted
  • 4:56 - 5:01
    the Internet for most of the Middle East and
    India. So we take this Internet thing for
  • 5:01 - 5:05
    granted but it's really a pretty fragile,
    physical system. And fiber is awesome but
  • 5:05 - 5:09
    it's also really expensive and hard to work
    with. For most purposes, you're going to find
  • 5:09 - 5:17
    copper cable. But how do we move things without
    wires? How do we send things wirelessly? Radio.
  • 5:17 - 5:21
    Wireless bit sending machines typically use
    a radio signal to send bits from one place
  • 5:21 - 5:28
    to another. The machines have to actually
    translate the 1s and 0s into radio waves of
  • 5:28 - 5:32
    different frequencies. The receiving machines
    reverse the process and convert it back into
  • 5:32 - 5:38
    binary on your computer. So wireless has made
    our Internet mobile. But a radio signal doesn't
  • 5:38 - 5:42
    travel all that far before it gets completely
    garbled. This way you can't really pick up
  • 5:42 - 5:48
    a Los Angeles radio station in Chicago. As
    great as wireless is, today it still relies
  • 5:48 - 5:52
    on the wired Internet. If you're in a coffee
    shop using wifi, then the bits get sent to
  • 5:52 - 5:56
    this wireless router and then are transferred
    through the physical wire to travel the really
  • 5:56 - 6:01
    long distances of the Internet. The physical
    method for sending bits may change in the
  • 6:01 - 6:06
    future, whether its lasers sent between satellites,
    or radio waves from balloons, or drones, but
  • 6:06 - 6:11
    the underlying binary representation of information
    and the protocols for sending that information
  • 6:11 - 6:15
    and receiving that information have pretty
    much stayed the same. Everything on the Internet,
  • 6:15 - 6:21
    whether it's words, emails, images, cat videos,
    puppy videos, all come down to these 1s and
  • 6:21 - 6:26
    0s being delivered by electronic pulses, light
    beams, radio waves, and lots and lots of love.
Title:
The Internet: Wires, Cables, & Wifi
Description:

This educational video introduces how the physical infrastructure of the Internet moves information.

See more at Code.org/educate/csp

Presented by Tess Winlock / Software Engineer at Google

Special Thanks:
Tess Winlock,
Abby Huang
Bemnet Assefa
Saloni Parikh
archive.org
wikimedia
submarinecablemap.com
Google Earth
Wikipedia

Start learning at http://code.org/

Stay in touch with us!
• on Twitter https://twitter.com/codeorg
• on Facebook https://www.facebook.com/Code.org
• on Instagram https://instagram.com/codeorg
• on Tumblr https://blog.code.org
• on LinkedIn https://www.linkedin.com/company/code-org
• on Google+ https://google.com/+codeorg

more » « less
Video Language:
English
Duration:
06:41

English subtitles

Revisions