3 posts 2016–2016All posts

2016

  1. A Christmas exercise for students

    Every year, as Christmas approaches, I give the first-year students in my introduction to programming in Python a short in-class quiz with a no-brainer of a task: make a Christmas-themed plot. Christmas falls more or…

    2 min readTeachingPythontranslated from Polish

  2. A simple puzzle as a programming exercise

    Every idea for a good programming exercise is very valuable. A good exercise for students should be interesting and tied to some real-life problem, so that it's easier to focus on the essence of programming rather than…

    48 min readProgrammingPythonTeachingtranslated from Polish

  3. What we don't know about floating-point numbers

    For the last 4 years I've been teaching lab classes at the Faculty of Physics for several programming courses in Python and C++. A few times I've been asked about floating-point numbers. In class we cover the binary…

    3 min readProgrammingTeachingtranslated from Polish