Software Engineering Demo for a K-5 Career Fair? 310
gmjohnston asks: "A local elementary school is having a Career Fair in a couple of weeks and I
volunteered. The idea is for parents with various jobs and careers to show and tell the kids a little bit about what their's is, why they think it's interesting and rewarding, etc. It's to try to give kids a little early exposure to some of the diverse kinds of things one can do with one's life. I'm a software engineer, so I'd like to show something that has to do with programming or Computer Science, but which would be interesting
to an elementary school student." What would be the best way to illustrate what a software engineer does to a group of primary school kids?
"I'm trying to come up with something like what got me hooked way back when, which was when my Organic Chemistry professor in college showed me a listing of a Basic program (Basic Plus on a PDP-11/70 running RSTS/E if you must know) and I realized that, computers relied on a bunch of instructions that tell the machine what to do, and that if I could change the instructions then I could make the machine do what *I* want it to do! I'll have my laptop with me and I'll be at a table that the kids will be able to gather around and see the screen (or potentially do something themselves on the laptop, depending on what I come up with). Of course, showing them the kind of code I really work on (software development tools) would likely instantly bore them to death. So, the question is: What should I show? If other Slashdot readers have done this kind of thing, what did you do and how did it work out?"
The Tandy COCO Guy! (Score:5, Interesting)
I found that the manuals they had, with the anthropomorphized computer dude, were exactly what I needed to learn. The funny thing is, those books were written for adults, but come across like child's manuals since it was assumed that even an adult would know *zero* about how computers work in the early 80's.
My recommendation for the kids is to have them see very basic principles in BASIC if possible, since it's so, well, basic - not that it really matters. What made it so exciting for me as a 8 year old kid was that it seemed possible to know and understand everything about the machine - especially since the book was comprehensive and it wasn't exactly huge. The combination of the cartoon character, the limited and reasonable limit on the total knowledge one could possess about the machine, and the simple, clear lessons engaged my child's mind completely and really sparked my imagination.
COCO manual [joeldalley.com] and another one [joeldalley.com].
ps, mffp? (my first first post?)
Graphical stuff it the way to go (Score:5, Interesting)
Games (Score:5, Interesting)
Probably an interpreted language would be best for this. BASIC had it's moments, back in the day.
Robot arm and LOGO on a laptop. (Score:5, Interesting)
Demonstrate real-world applicability with a toy robot arm and a poster of a few industrial robot arms, which presumably work the same way.
Without programs, a computer is a doorstop. You know that. Help them know that. The rest is just talking about the incidentals, like whether or not your boss allows hackey-sack near the water cooler.
Something else... (Score:3, Interesting)
Computer games are of course always a possibility (and a good one at that), but there are other options. I make music visualizers for audio players, and I find younger folks take an interest in it all the time--from all ages. It appeals to kids that are into math and science because, to them, it's something really cool you can do with subjects that are geeky. It's something to consider, at least.
Towers of Hanoi (Score:2, Interesting)
Re:Graphical stuff it the way to go (Score:5, Interesting)
A Sierpinski Sieve [wolfram.com] not only looks cool, but there is a very simple algorithm you can use to generate it:
- Pick 3 corner points. They need not be arranged in a perfect triangle (if they aren't, you will get a warped version of the fractal.. useful for illustration!)
- Start at any point inside the shape formed by the three corner points.
- Pick one of the 3 corner points at random. Your new point is half-way between your old point, and your chosen corner point. Plot a dot there.
- Repeat the above step indefinitely.
This is VERY simple code, it only uses very simple graphics intructions and changes to things like colors and corner points (moving them further apart, closer together, use equilateral or isoceles triangles...) give instant gratification..
As homework for the "Advanced" (curious) students, maybe let them try to make one (or more) of the three corner points interactive and move at runtime.
Simple Paper Turing Machine (Score:5, Interesting)
We were each given (or made, I don't remember) a long strip of paper about an inch or two wide, with lines making it into a long row of squares, like a single row from a page of graph paper. Each square was like a memory location. We were also given a paper clip that acted like the instruction pointer.
There was a simple instruction set, I think they associated numbers with instructions, like move forward or backward so many squares and simple arithmetic. The whole class together worked through a simple program.
There were some downsides to this. Some of the kids were totally lost on what we were trying to do. So we had to go real slow which then made it very boring for me. But the upside was that when it was over, I understood how computers worked and that simple model has helped my throughout my life as a programmer.
The key is to be really prepared and work it all out ahead of time. Make sure you have the instruction set and the simple programs all worked out ahead of time. You might want to practice it a bit. Keep it simple. Treat it like a game with rules. Forget about being true to Turing, instead focus on giving the kids something they can do and understand.
Not all of the kids will "get it". But those that do will really understand what programming is all about. Especially when you combine the simple Turing machine with gee-whiz-bang stuff on your laptop.
Re:Graphical stuff it the way to go (Score:2, Interesting)
"Processing is a programming language and environment built for the electronic arts and visual design communities. It is created to teach fundamentals of computer programming within a visual context and to serve as a software sketchbook. It is used by students, artists, designers, architects, and researchers for learning, prototyping, and production." Where you can show the examples of Complexification [complexification.net] on what they can achieve.
Software engineering is ofcourse more than just programming. But being able to show some nice visuals can make it all much more interesting.
JASON Project (Score:4, Interesting)
Here [boisestate.edu] is the download page for it. (I know I know! The site is default template. We just setup the new software last weekend so give us a break =)
Not sure if this helps younger kids get fired up but I did work for 6th graders. =) Its also fun to watch it generate and draw the tree.
Mindstorm (Score:2, Interesting)
Demonstrate computer logic (Score:3, Interesting)
Decorate sugar cookies. Have kids give instructions. Do EXACTLY what they say. Gets the point across quickly how you have to be exact when you tell a computer what you want it to do.
A Classic Game (easy to understand) (Score:5, Interesting)
Lastly, you could discuss the strategy of the game and how to win the most quickly (ask the question "Using this strategy how many turns would it take at most to win?"). You can call the strategy an "algorithm" and you've taught them more CS than they'll learn for the next 5 years.
Re:Realistic? (Score:2, Interesting)
Re:The Tandy COCO Guy! (Score:2, Interesting)
I considered mentioning Smalltalk/Squeak, which I'm kinda fond of just messing about with myself, but I find one of the positive virtues of Python as a teaching language is the fact that it isn't a "pure" OO language. You can bend it to your will, rather than having to bend to its "vision" of what computer languages "should" be, so you can teach (and use) procedural and functional approachs just as readily as the OO approach, without having to learn a wholly new syntax and grammar just to learn a new conceptual architecture.
I'm afraid I have some issues with OO as "the one true way" of programming, so I don't like using a pure OO language for teaching, prefering to introduce OO down the line as one methodology which proves useful in dealing with certain programming problems, like, say, modeling objects.
KFG
Re:Realistic? (Score:2, Interesting)
Also, there is no such thing as 'software engineering'. Calling something engineering doesn't make it so. Professionaly, the word 'engineer' has a precise legal definition, and calling yourself one when you are not is illegal.
In Texas at least it is quite legal, as determined by the Texas Board of Professional Engineers. It may be legal in other states....I don't know, I just googled it real quickly. In addition, the US Dept. of Labor [bls.gov] says there is such a thing as a Computer Software Engineer. In addition, some universities are starting to offer Software Engineering majors.
Me, I'm just a programmer.