Introduction to Computing

Topics

Exercises, exams, etc.

Exercises for Tutorial 1
Exercises for Tutorial 2
Exercises for Tutorial 3
Exercises for Tutorial 4
Exercises for Tutorial 5

Mid-sem exam   grading guidelines     y-pattern.py   hangman.py   red-blue-points.py

Websites with programming exercises / problems for practice

These websites seem to have a reasonable set of programming exercises and problems that you can use for practice. Of course, there are MANY more, but these seemed to me to be the most useful.

Suggestions

  1. Take a quick look at each (maybe 5 minutes) and choose 1-2 that you like. There is a large amount of material here, and you will encounter some common exercises in multiple sites.
  2. Start with the easy exercises if you need to warm up, but you should really try to get comfortable solving at least the intermediate / medium exercises. Some topics have not been covered, so some (maybe quite a few) of the problems will not be relevant for you. If you aren't sure, please feel free to ask.
  3. I have also taken only a very quick look at each website, so my impression / opinion could be inaccurate. If you choose a site and either like it very much or think it is not very useful, I would greatly appreciate your feedback, and will try to refine this list based on your opinions.

Sites

Recommended books

You will need to be a little careful about what edition you use, since Python is an evolving language. All the following books are based on reasonably recent versions of Python, but please use the edition mentioned below, or a more recent one, if available.

If you are new to programming (in any language)

If you have some programming experience (in any language)

Online resources


Last modified: Sun Nov 8 00:53:54 IST 2026