Fundamentals of Programming for Digital Health WS 2026/27

Course

Fundamentals of Programming for Digital Health WS 2026/27

Basic and intermediate concepts of programming in Python and R: data structures, conditions, loops, data input/output, analysis and visualization. Using git + quarto and focusing on good programming principles.
This course is open to anyone, but taylored to the HPI master program Digital Health.

Offered by Berry Boessenkool, Prof. Dr. Bert Arnrich | Last updated on Nov 08, 2026

  • EN
Course information

Welcome to the course "fundamentals of programming for digital health" by Berry Boessenkool at the chair of Bert Arnrich, Digital Health Cluster, Hasso Plattner Institute in Potsdam.

The course is open to anyone. The tutorial sessions are primarily aimed at the Digital Health master students, but usually some seats are still available, so while the course is running, feel free to join :).

The videos and autograded exercises in this course aim to make you a great coder following good programming practices.
The course is set up to technically require no previous programming skills. However, if you have little coding experience but try to get 100% score in the weekly exercises, you may have to spend more time on this course than expected by the credit points. The weekly time requirement was between 7 and 11 hours for most participants in past years.

The lectures are presented in short online videos accompanied by interactive programming exercises through CodeOcean. They can be watched / solved at your own time and pace.
The tutorial sessions take place in person on Tuesdays (11:00-12:30) in G2.U.10 (Campus III, Digital Health Cluster, basement floor).
In the support sessions Mondays (13:30-15:00) (same room), you can work on exercises together, with Berry present for questions.

The course grade is based on weekly exercises, an individual coding project and an oral exam, see the grading info.
For the course contents, see the slides or the overview below.

If you want to prepare for the course ahead of the semester, follow my short R course and the software installation guide.

I1 infrastructure: course info, IDEs, git, markdown, interactive exercises (released Oct 13, exercises due Oct 26)
P1 intro & functions: Python intro, syntax, data types, character strings, writing functions (Oct 19 - 26)
P2 objects: Collections (overview), lists, sets, tuples, dictionaries (Oct 26 - Nov 02)
P3 loops: conditional code execution, loops, list comprehension (Nov 02 - 09)
P4 programming: managing errors, writing classes, unit tests (Nov 9 - 16)
P5 data science: numpy, pandas, missing values, applications (Nov 16 - 23)
R1 intro: welcome, showcase, Rstudio configuration, syntax, help, vectors (Nov 23- 30)
R2 basics: statistics, functions, conditions, packages (Nov 30 - Dec 07)
R3 data types: logicals, charstrings, categories, overview (Dec 07- 14)
R4 objects: data.frame, matrix, list, array (Dec 14 - Jan 04)
Christmas break vacation: two weeks :)
R5 real data: read, merge, missing values, AI-coding (Jan 04 - 11)
R6 plots: scatterplots, line plots, barplots, low level commands (Jan 11 - 18)
R7 figures: composition, histograms, boxplots, exporting, outlook (Jan 18 - 25)
R8 flow control: debugging functions, loops (Jan 25 - Feb 01)

Our teachers