Making some cross curricular links is one great way to engage students!
I love to make links with some of the things I am passionate about such as Business / Economics and History.
Here is one way to get students thinking about just how much technology has changed from the 1940s (see the original "Loose Lips sink ships" poster on the right here and then compare it with some of the more up to date and reimagined posters for today's IT services and how they could have been used if they had been available during either of the World Wars!
The posters are all done in A3 and A4 and can be downloaded below:
For other ideas for teaching in general or specifically teaching aspects of Computer Science / ICT and Business, click here.
I have shown the code below that is required but you can see it is much more complex than the simple game I covered before.
The python file can be downloaded below and other ideas for coding and teaching click here
The Caesar Cipher is a very basic substitution cipher that I use with students in Year 9 when we look at encryption. This website gives a simple graphical tool to use a Caesar Cipher or this one (The Black Chamber) gives a more adult look to the same task.
The best way to crack the Caesar Cipher is to look at letter frequency with the letter "E" which should be the most frequent letter in any string of text and this allowing users to work out what offset is used for encoding and decoding.
We have just been doing conditionals (IF statements) in Python with my Year 10 students and I thought this was a wonderful opportunity to create a letter frequency counter around the same generalised code (with some minor changes).
The first thing to deal with is to set up all the variables (one variable each to count the letter frequency for each individual letter of the alphabet)
Some points to highlight with students:
Next we set the program to process the inputted string (character by character). This also prints out each counter as it increments and is a nice visual way to show that the program is working!
And now finally, we get the program to output the final totals
And there we have it, a very simple program that will count the letter frequency of any text string that is inputted by the user
The full code for the program is below!
For other coding and teaching ideas click here.
I am sorry I had to compress the file as a zip file simply due to the fact that the blog would not allow me to attach .py files!
Educator, Teacher and Lover of all things Business and Computing related