Triple Equal Signs

I’ve noticed a few more students using 3 equal signs in their codes. It’s nothing I’ve ever seen in the lessons and there is not a block for it in the tool box. I know what it does, but I feel like this is possible sign of plagiarism. Just curious what others think and have experienced.

Its not a great idea to assume this is a valuable operator testing for if the actual data type and data lines up ask your students why they are using the operator and have them guide you through why they think they need it

If they are not able to give you a valid answer then I would suspect something is up, plenty of online resources use === to enforce proper equality comparison operations not like students can’t go outside what you have

For example perhaps a person struggling to get anything working in class but somehow turns in functioning code that hasn’t been taught would be a red flag, but wouldn’t necessarily mean they actually plagiarized if they can explain why and how they did it

they are using AI to code it up

I give samples of certain levels using AI to complete the lesson and show students how AI can not code it to the lesson standards. You will need to add that to your classroom code of conduct.

That could also be a possibility, but as I said earlier if they are able to explain the codebase and the their own thought process behind it is what matters

You can even ask additional questions like what would happen if certain lines or values were changed or rather how they would accommodate malicious user input something simple that should be easily answerable considering if they coded all of it