Cargo cult programming error. You copied some sequence of code without understanding how it works or whether it's even appropriate.
Plagiarism error. You copied material and represented it as your own.
That is a violation of intellectual property rights, and depending on context, it could be a violation of your employment contract or academic integrity policy.
This can also apply to ancillary materials such as documentation, training material, and quiz/homework answers.
Answers & Comments
Verified answer
Answer:
Cargo cult programming error. You copied some sequence of code without understanding how it works or whether it's even appropriate.
Plagiarism error. You copied material and represented it as your own.
That is a violation of intellectual property rights, and depending on context, it could be a violation of your employment contract or academic integrity policy.
This can also apply to ancillary materials such as documentation, training material, and quiz/homework answers.