Most German universities give three chances to pass each exam. A student who fails the third time must leave the university and they cannot study in the program any longer.