Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CODE!

Kevin Lawver
December 11, 2013

 CODE!

A short presentation I threw together to give to the 4th graders at May Howard Elementary before I introduce them to Hackety Hack.

Kevin Lawver

December 11, 2013
Tweet

More Decks by Kevin Lawver

Other Decks in Technology

Transcript

  1. What’s Code?

    View full-size slide

  2. It’s words that tell a
    computer what to do.

    View full-size slide

  3. But, humans can read
    it too!

    View full-size slide

  4. Code looks something
    like this:

    View full-size slide

  5. class Dog
    attr_accessor :color, :size
    def bark
    “woof!”
    end
    end

    View full-size slide

  6. I’ll show you how that
    works later… remind me.

    View full-size slide

  7. What’s it like coding
    all the time?

    View full-size slide

  8. What’s The Web?

    View full-size slide

  9. Billions of computers
    listening for requests.

    View full-size slide

  10. And responding
    with… responses!

    View full-size slide

  11. How it works

    View full-size slide

  12. How It Works
    • Your computer makes a request to an address -
    http://amazon.com
    • A thing called a DNS server says “Hey, that’s this
    computer” and your computer sends that computer
    a request.
    • That computer gets the request and answers it.
    • Just like a game of telephone.

    View full-size slide

  13. And it all works
    because of…

    View full-size slide

  14. Are you ready to write
    some?!

    View full-size slide