My university was too lazy to introduce automated marking for coding assignments. We have to go in-person to a lab session and demonstrate our code compiling/running to the TA, who asks us questions to verify understanding.
It's hilarious how much this immunizes us from ChatGPT, given that we're a mid-tier school co-located with a needle exchange center in Toronto.