Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

I had a short class in computer programming (on Apple IIs!) in junior high. The first day of class, the teacher laid out a jar of peanut butter, a jar of jelly, a loaf of sliced bread, and a butter knife on the table.

Our task was to tell him how to make a peanut butter sandwich, and he was going to do exactly what we told him to do.

Not knowing anything about precise instructions, one of the students said "Get some bread". The teacher put his hand into the bag, made a fist around whatever he could get into his hand, and pulled it off. It look like a shark took a bite out of the bread. Lesson one: the computer doesn't know how ot get bread.

When we figured out how to be precise enough to get two undamaged slices of bread (he wasn't a jerk about it once he made the point), we made the same mistake again: "Spread some peanut butter on the bread", but since we hadn't told him to take the lid of the peanut butter jar, he didn't have much luck (although he tried). Once we got the lid off, we tried the same command again, so he just stuck his fingers in the peanut butter and pulled out a big glob and spread that.

It went on from there. It was entertaining, messy, instructive, and memorable. It connects to something an 8 year old has in his (or her!) daily life, and it's something he can repeat to their parents at the dinner table.

After that, it was all about moving the turtle around in LOGO. :)

brian d foy <>

In reply to Re: How to introduce 8 year olds to (Perl) programming? by brian_d_foy
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: (8)
    As of 2018-04-26 12:26 GMT
    Find Nodes?
      Voting Booth?