Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
Great question - I'll have to bookmark this thread.

I have an 8 year old too. Codes and ciphers are real popular with her and her classmates right now. About a month ago I took her to the library and she checked out every book she could find, and she's spent hours creating her own substitution ciphers.

A few days ago she asked me if I could teach her how to "hack". I thought this was a great opportunity, so (after I explained the difference between "hack" and "crack") we sat down with paper and pencil and worked out what would have to happen to encrypt and decrypt a simple message. Then we sat down at the keyboard together and duplicated rot13, and she loved it.

It gave me an opportunity to talk about how characters are displayed, chr and ord, then tr. Since then, she's asked probably 10 times what else she could learn!

Our next project is printing triangles. You know the type...

X XX XXX XXXX
I'm going to start with hard coded print statements and from there teach her about loops.

Bottom line, I'd start with something fun that catches their attention as well as gives you a chance to explain some of the basics - I/O, conditionals, simple calculations, character manipulation, graphics, flow control, etc. If your presentation entertains, you'll engage more of the kids.

Whatever you decide to do, please post the results back here so we know how it turned out.


In reply to Re: How to introduce 8 year olds to (Perl) programming? by bmann
in thread How to introduce 8 year olds to (Perl) programming? by domm

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others imbibing at the Monastery: (12)
    As of 2014-10-24 12:11 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      For retirement, I am banking on:










      Results (131 votes), past polls