Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Not to beat my own drum too loudly (sorry!) but please see TheOpen ReSource Project for some thoughts.

I disagree that kids in the 8 - 10 range cannot grok programming. Some of our most potent sessions started when kids got an epiphanic moment of understanding the interactive nature of a shell prompt. My 5-year-old can learn lots if I give it to him in small doses.

I would suggest that you make up a simple read-eval-print Perl program that does something simple with the input a child types, such as transforming said input into ig-pay atin-lay. Laughter is important! You might also have it blow up the output by printing character graphics of the transformed string on the screen, paged with spacebar. You might consider a program for drawing a spirograph image on a Tk canvas, as another possibility. Also, design your demonstration so that there is something simple that they can modify in the program, so that they see immediate results. If your shell and Xterm can print color, use escape sequences, and show them how to change the output by changing a single byte. Plan for three or four different transformations that you can cycle through with simple keyboard changes. Be ready to revert your editor to last-saved, because some of them will screw up badly. Have both a flowchart and code printout handy for presentation to the adventurous. Most will toss it in the trash, but some will see the parallels and learn a great deal. Paper is only $3.50 a ream; what price inspiration?

One CRITICAL thing to make sure of is that you have everything ready and have your presentation scripted beforehand. Kids are used to high-bandwidth multitrack shovel-feeding from TV and games, and you can only get a little dose of inspiration in before they get impatient and the moment is lost.

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

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!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            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?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others examining the Monastery: (5)
    As of 2018-03-18 12:05 GMT
    Find Nodes?
      Voting Booth?
      When I think of a mole I think of:

      Results (230 votes). Check out past polls.