Ask HN: How to Handle Student Who Copies Code?
I'm tutoring a couple of high school age students in Python. One of them doesn't seem to understand what we're doing at all. When I work with him, he just makes random guesses that show a lack of understanding for principles we just learned.
Yet, during the week, he emails me things that he has written that go beyond what we've learned. I'm not sure if he's writing the code himself, or just finding cool examples and taking credit for them.
Here are my top two concerns:
1) If he's copying code and claiming it as his own, he's not being honest and he's not learning.
2) If he's actually writing this code himself and I confront him about copying it, he could feel really hurt and distrusted when he should be rewarded for his efforts to learn.
What should I do?
NOTE: I don't have a problem with students using existing code as long as it is open source and proper attribution is given.
6 comments
[ 3.0 ms ] story [ 20.1 ms ] threadAsk them to explain the code the emailed, if they wrote it themselves then they should be able to explain it.
"attribution" is the key word here not "trust" or "hurt". if he copies code from others w/o attribution, then F-ry him. end of story.
The alternative is much harder. I've been mentoring a nephew who blames his teacher for how little he understands, but sends me code very clearly copied off of another student. My general approach has been to explicitly not help him with any actual source, and instead work on pseudocode. He might spend 8 hours trying to figure out how to compile the broken C++ that he's working with, but he can't honestly claim that I wasn't being helpful. As suggested by flukus, asking for code explanations isn't a bad way to go. Such explanations always find themselves companion to homework assignments that I craft, and it's what I've been trying to do in the pseudocode conversations with my nephew. However, another great way to go is to just find examples of any given problem (and attribute them!!) in another language entirely. Then the student has the opportunity to become a polyglot in a very natural way. Ultimately, I refuse to speak in the target language because I'm very aware that he wants me to hand him the answer.