Hero image

The Old Coder's Shack

Average Rating5.00
(based on 3 reviews)

Just a place to share some resources I have developed to support my teaching of Computer Science and Coding. I shall update these resources as I can. If you find these free resources useful please say thank you by making a donation (or better still getting your department to make an annual one) to The Keech Hospice in Luton and mentioning 'The Old Coder's Shack.' Please encourage colleagues in other schools to do the same, that way schools can help those needing end of life care.

Just a place to share some resources I have developed to support my teaching of Computer Science and Coding. I shall update these resources as I can. If you find these free resources useful please say thank you by making a donation (or better still getting your department to make an annual one) to The Keech Hospice in Luton and mentioning 'The Old Coder's Shack.' Please encourage colleagues in other schools to do the same, that way schools can help those needing end of life care.
Python Challenge 25 025_Shakespearean Insulter
ThomasJMurphyThomasJMurphy

Python Challenge 25 025_Shakespearean Insulter

(0)
This is challenge to write a Shakespearean insulter. This challenge involves basic manipulation of strings using the split() and strip() methods and handling of text files. I have included a copy of the PySimpleGUI library that allows students to add a GUI interface really easily. Just remove the .txt extension and add a dot to make it .py and import it, it shouldn’t be run directly. Other python files will need similar treatment, the file insults.txt is the data file and should be left as is. Some extensions include asking the user for their name and personalizing the insults such as "Fred thou art a … " and issues about managing vowels can arise. NB: The numbering system does not indicate difficulty or order of teaching, it just helps me keep track. Python files will have had their extension changed to facilitate uploading, usually I incorporate the original py ending into the filename so these can be distinguished from data files etc.
Challenge 27 027_Your Dying Day
ThomasJMurphyThomasJMurphy

Challenge 27 027_Your Dying Day

(0)
A python challenge that allows discussion of interfaces and the way computers use mathematical modeling in a variety of circumstances. This gives the opportunity to decide which factors students think are most significant in predicting future lifespan, for example is it better to be a non-smoker or be aged over 95 years? The problem lends itself to a functional style as each of the factors can be modeled and tweaked independently. I have used the datetime library and included a quick example file of its use. The files with filenames ending py are python files and will need the .txt part removed and a dot inserted to make .py files. NB: The numbering system does not indicate difficulty or teaching order but is to help with my resource management.
Logic Challenge 41 041_Dear Comrade
ThomasJMurphyThomasJMurphy

Logic Challenge 41 041_Dear Comrade

(0)
Designing for Stalin’s Secret Police can be a tricky business, my students have had fun using logic.ly to try to solve this, its not easy but a number of my Year 11s managed it as did all the sixth form, Russian funeral music and a ticking clock add nicely to the tension. Obviously no solution provided to this one as breaching Stalin’s official secrets act has dire consequences. Enjoy Comrades NB: As usual the numbering system does not indicate difficulty or order of teaching but simply helps me keep track of resources.