Codes of course assignments