<?xml version="1.0" encoding="windows-1252"?>
<node id="451305" title="How to introduce 8 year olds to (Perl) programming?" created="2005-04-25 15:23:13" updated="2005-08-07 10:07:57">
<type id="120">
perlmeditation</type>
<author id="101964">
domm</author>
<data>
<field name="doctext">
&lt;p&gt;&lt;b&gt;Update:&lt;/b&gt; Thanks for the incredible helpful feedback! I'll definitly report back after the event.
perlmonks++&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Another Update after the event:&lt;/b&gt;&lt;br&gt;
Well, the presentations went quite well. I decided to use the 'peanut-butter and toast'-thing (but as we're in Austria I substituted peanut butter with Nutella (nobody here eats peanut butter...)). We had a lot of fun destroying slices of bread, trying to knock open the Nutella glas, sticking fingers into Nutella, and finally even eating the finished breads.&lt;br&gt;&lt;br&gt;
I had some time left after this so I showed them a small script I wrote some time ago on behalf of my younger son, which calculates the seconds passed since someones birthday. Most kids where around 300.000.000 seconds old.&lt;br&gt;&lt;br&gt;
In some groups there was still time left, so I showed them a text based space invaders clone I [id://169437|wrote] some time ago (I &lt;b&gt;didn't&lt;/b&gt; showed them the code...).&lt;br&gt;&lt;br&gt;
Over and all it was great fun! Thanks again for the very helpful tips!&lt;br&gt;&lt;br&gt;&lt;b&gt;EOUPDATE&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;So, the teachers of my son coaxed me into participating at the 'jobs day' where people present their jobs. As you might have guessed, mine is software developer.&lt;/p&gt;

&lt;p&gt;Now I'm looking for ideas on how to introduce 8 year old kids (who don't/barely speak english) to programming. I've got 20 minutes and about 4 kids per shift (from 8:00 until 12:00, I must've been crazy to say yes...)&lt;/p&gt;

&lt;p&gt;Here's what I'm currently planning:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Computer are dumb. The only thing they can do is calculate.
&lt;li&gt;Programmers have to tell computer what to do.
&lt;li&gt;Because computers are dumb, this can be quite laborious (as some of you might know...) (even if you're using a swiss army chainsaw)
&lt;/ul&gt;  

&lt;p&gt;To show them some actual programming, I thought I'll give them some task they encounter daily (like 'cashier at the supermarket') at let them break it down into 'statements', eg:
&lt;code&gt;
start new payment transaction;
while (something is on the conveyer) {
  scan item;
}
tell costumer total price;
take money;
calculate change;
return change;
say goodbye;
&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;Another idea is to show them some actual, simple code (eg a calculator) and alter it a bit&lt;/p&gt;

&lt;p&gt;So, has anybody else an nice ideas or some experiences with little kids and programming?&lt;/p&gt;

&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-101964"&gt;
&lt;code&gt;
--
#!/usr/bin/perl
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&amp;&amp;print$_.$/}
&lt;/code&gt;
&lt;/div&gt;&lt;/div&gt;</field>
</data>
</node>
