ProCodeCG Kids Programming Class 29 Aug 2015 – Simple Encryption

Standard

Today. We learned some encryption. Yeah πŸ™‚

FullSizeRender 15

FullSizeRender 3

The encryption for today is simple substitution πŸ˜‰

FullSizeRender 5

The kids had to type down everything to find out what “encryption” means. Kids won’t listen if you explain things on the whiteboard. You just have to make them do things and let them see what happen πŸ˜€

FullSizeRender 7

Once they finished they still need to debug some errors.

FullSizeRender 10

Because this code only work with Python 2.7

Bildschirmfoto 2015-08-29 um 10.58.03 nachm.

And supposed to execute on the command prompt because it takes arguments

Bildschirmfoto 2015-08-29 um 10.59.33 nachm.

So we had to modified it like this to make it work for today. Next time we will use tkinter to make a simple GUI for this πŸ˜‰

Bildschirmfoto 2015-08-29 um 10.58.10 nachm.

After the kids understood how the encryption works (by shifting the alphabet k steps to the right), they found their own way to find out how to do decryption; by shifting k steps to the left! YEAAAH πŸ˜€

And at the end of the class, these two girls were given a task to give their classmatesΒ a case to be solved. A ciphertext to be decrypted πŸ˜€

FullSizeRender 12 FullSizeRender 13 FullSizeRender 14

FullSizeRender 6

And this is. What they came up with LOL

FullSizeRender 4

And guess what. Their classmates solved it. LOL LOL. πŸ˜€

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s