Archives for category: design

Here are some guidelines for making the most out of the How To Build A Simple Computer Out Of Anything activity.

The idea of this activity is to teach kids that computers do not need to be these complex unfathomable machines. Computing and computational thinking happens everywhere. When you engage with the kids in this activity make sure you remind them of that.

Motivate them

Randomness and probability are such fundamental mathematical concepts that your kids will be exposed to them no matter what they study in life. The applications of random number generation in computing are endless. It is the basis of computer security, fault-tolerance, distributed systems, and more. Not to mention exotic areas like quantum computingDNA sequencing and self-driving cars.

Give them examples of applications to keep them motivated. Especially stuff they interact with on a regular basis. One thing I tried with my son (who was five at the time) was to get him to generate 4 digits so he can set the passcode on his mom’s iPad and have her try to break the code. The fact that he had a secret in his head that was so powerful made him ecstatic! (Of course, I gave his mom the code and told her to pretend she didn’t know.)

Explaining randomness

Randomness is better explained in the context of a real application. You want to get the kids thinking along the lines of something like: “Imagine you are making a secret number for a combination lock or your iPad so a thief can’t open it. If the thief watched your computer doing work but didn’t see the numbers that came out, would he be able to guess the numbers if he repeated what you did?”

After they do the activity for a while and if you feel the kids are advanced enough, you may follow with questions about the quality of the random numbers. Are they truly random (well-distributed)? Can a “thief” easily guess them if he ran the computer a few times and picked the most popular outputs?

No computing in their heads

One thing that will likely happen is the kids will come up with a design where the random number is created by their own decision. That’s “cheating” so to speak. For example, their design might be to flip a card from a set of cards laid out on the table. They select the card, flip it and write down the number on the card. This is not a good design because they chose (in their head) which card to flip. So, keep reminding them that they can’t “choose” by themselves. The computer has to “choose”. A good design will involve actions that create entropy like mixing a bunch of things, throwing stuff in the air, or pushing or smashing something.

Help but don’t interfere

I’ve seen kids do all kinds of designs. From throwing a bouncy ball around the house to elaborate arts-and-crafts projects like a fully colored wheel-of-fortune. As long as the kids don’t compute the random numbers in their heads, let them be creative. The more they enjoy building and using their computer the more engaged they’ll be. Don’t hesitate to give them ideas to make their computers more “extravagant”.

More designs to play with

After the kids have designed their own, a great follow up exercise is to give them the “computing” materials first and then ask them to design a random-number generating computer using only the provided materials.

Here are some ideas on how to build a computer using only:

  • A bouncy ball.
    • How: drop it in the air and count how many times it bounces.
  • A long string.
    • How: drop it in the air. When it lands, count the number of times it crosses with itself.
  • A measuring tape with any of the above.
    • Measure distance travelled, length, width etc.

Share!

Use your phone and post pictures of your kid’s designs to the DrTechniko Facebook Page. I will personally respond to your posts.

Also, don’t hesitate to send me a personal message via the Facebook page if you need help.

I hope we learned something useful today,

DrTechniko

 

What is a computer?

A while ago I taught a group of 1st graders a class about computing. I wanted them to understand the concept of a computer in a simple and tangible way. So I came up with an activity where the kids would be able to build and test a simple computer anywhere: in the classroom, at home or at the playground.

Here is what I told them to do:

“Build a computer that can produce random numbers using anything you have at home.”

They go: “Really? We can use anything we like?”

And I go: “Yes. Anything you like. Except of course your mom’s or your dad’s computer. You can’t use a computer to build a computer. That would be cheating. You are also not allowed to generate the random numbers in your head. The computer must do that.”

And then they go: “What are random numbers?”

It took me a few cycles to recover from such a disarming question. I thought “Wow, the world around us is full of randomness (especially the computing world) yet how does one explain it to a six year-old?”

I said: “It’s numbers that are not in order. They are completely mixed up and you can’t guess which number comes next. Like when you throw a dice. Can you guess which number will come up when you throw a dice? No, right? That’s a random number.”

Solutions as surprising as a random number

The kids surprised me with their creativity. Here are some of their cool “computer” designs:

domarien-prng

Spin the wheel to get the next number. I love the added touch of fake buttons to make this look like a real computer!

Riley_s_random_number_computer__-_nikos_michalakis_gmail_com_-_Gmail

Stir the pot to shake the numbers and open it to pick the next one. Computing in the kitchen!

isabel-prng

Throw the dart-marker at the target and write down the number closest to the mark. I would have never thought of that one!

Surprised yet again

What’s more surprising than the creativity of the children is the lack of creativity of the adults. Having already seen what the kids came up with, I posed the same question when I interviewed a series of college students for a software engineering position. They were about to graduate from one of the top computer science programs in the US.

I asked the candidates:

“Design a computer for generating random numbers using anything found in this interview room.”

9 out of 10 of them gave me the same answer:

“I can do this by flipping a coin.”

And then I thought: “Should I tell them a 6 year-old can do better than that?”

What’s your design?

Does you kid have a cool design? Post a picture to the DrTechniko Facebook Page. I will personally respond to you.

I hope we learned something useful today,

DrTechniko