Code Advent

Welcome

'Patches' is the last puzzle, so all sixteen problems are now live. Starting today we will publish fully explained solutions for each puzzle, in Python, along with extra information such as using list comprehensions, type hinting and Google Colab. 

Even if you solved a puzzle, we hope you'll learn something from reviewing our walkthroughs.

Work your way through a series of coding problems. Each solution will provide you with a reference number. Using the passwords page you can then look up the number and gain the required password. 

Once you have the password simply add it to the URL as follows

https://sites.google.com/view/codeadvent/????

(You'll need to replace the ???? with the password of course!)

Yes, we know length counters exist online, yes we know that Chat GPT can do this for you (most of the time) but the idea is to test your programming skills. The tasks are generally designed around Python but any others will do, perhaps not Fortran?

Timeline

8th December: A 'bug' that may have caused issues with Naughty Numbers, the fantastic Magic 8-B1all has now been changed in the data set to Magic eight-B1all. My morning was well and truly hijacked by this one.

5th December: We now have a code checking proof reader contributing to the site. This means our problems will be more varied, our data sets more reliable and I now have someone I can blame for any errors!

2nd December: Slight error with the data set, now fixed. A missing comma meant -7 -7 was a list item instead of -7, -7. 

Feedback

Please share your (nice and useful) comments/possible improvements etc.

Link

In terms of the rest this is amazing and you have done a good job with my teacher Mr Kershaw. 

~~~

thank you so much for doing these !! i really enjoy them and it's very fun to work them out with my friends :) 

~~~

I've been doing these programs with my computer science class in the UK. We've enjoyed it! 

~~~

PGCE student here - loved today's, never played with assert statements before, so huge thanks! A welcome decompress after spending a chunk of today writing up one of my uni assignments and good CPD to boot 

~~~

Please help with Dec 6th!? I'm going out of my mind! 

~~~

Our students have thoroughly enjoyed these challenges. A really good end of term activity. 

~~~

Thanks so much for doing this and sharing. I've used this for a few years now - the students really engage with the challenges. 

~~~

Im doing this with my school and its really good, im only 14, keep doing it! 

~~~

These are great, thanks, the biggest help they've given with the students I work with are about reading the question. And then explaining back. We've had several chats about does a space count as a character. Love them, thank you for doing them, would love to do one for next year.

~~~

Thank you, we've used this in previous year at Bishop Luffa, my students are enjoying this year's version.  

Contributors

Mr Kershaw