This is an archived version of the course. Please find the latest version of the course on the main webpage.

Chapter 4: Applying your knowledge

Applying your knowledge

face Josiah Wang

As I’ve mentioned, the key to improving your programming skills is to practise, practise, practise!

And what better way to practise than to apply your knowledge to practical problems?

Like in the last lesson, here are a few applied problems to practise your programming skills. Apply everything you have learnt so far to solve these programming problems!

Here’s my usual nagging: do not jump straight into coding! Clearly understand your problem first, and then design your solution away from a code editor. THEN write you code, and then test out your program to make sure it works for different use cases (especially the difficult cases).

Remember that there are multiple ways to solve the same problem. The sample solutions (provided somewhere on the main Guided Learning Materials page) are just that - samples, and not the only answer. Of course, you will attempt the questions yourself first, won’t you? 🥺