Computes course completion.