The point of school / university is to teach you how to think and program so it's different from commercial work (where you want to speed up things). So yes, I would force my students to write code by hand without any shortcuts, there will be time to use copilot or gpt ;)
hacb|2 years ago
That's why those assessments are tailored to be done at home, and then they send me an archive or a Git repo link.
MrVandemar|2 years ago
So, one way to approach it would be to set the students to solve a task, say, one of the sorting algorithms. They can do this however they like.
Then in class you get them to write the same algorithm for a slightly different application thus (a) re-inforcing the algorithm, (b) demonstrating more than one application, and (c) pinpointing people who copied and pasted code without understanding and internalising the code.
Our 'C' teacher used to do this all the time (even before the internet) and when we got into exams, we did extremely well on them because we were copying out algorithms we knew off by heart and applying them to the exam questions.
b112|2 years ago
If the code doesn't work, it means they (as you said), didn't understand what they copy and pasted. And as the whole point is to demonstrate learning, understanding, it is valid to mark such things as failures of that.
And this matches real world expectations too.
If there is any way you can tilt assignments to better demonstrate understanding, that's a win.
Hmm.
You could try to break up responses. By that I mean, have a dozen short coding exercises, but then tie them all together.
EG In the end, one bit of code to call the api/functions of the rest?
It might help break AI responses a bit.
unknown|2 years ago
[deleted]