Full answer
What the interviewer is assessing
The interviewer checks integrity and fairness. The interviewer also notes whether you protect friends at the expense of fairness to others who did their own work.
How to structure the answer
Compare sources to be sure. Speak privately and explain the risk. Give them a chance to correct it. Escalate according to policy if it is submitted or repeated. Be clear about the difference between sharing ideas, which is normal, and copying text or code without credit or licence. Ask whether it was deliberate before you assume the worst.
If you are a fresher
Mention a classmate copying code or an assignment.
If you are experienced
Mention copying documents or code from other sources without licence.
Illustrative example (for structure only, not a script to memorise)
A developer who noticed copied open-source code with an incompatible licence in a teammate's pull request might ask them to replace it and inform the lead.
Key points
- Verify
- Private talk
- Escalate by policy
Common mistakes
- Public accusation
- Ignoring it
- Assuming guilt
Follow-ups
- What if they refuse?
- What if it is your friend?
Tips
- Be factual
- Know the policy
Evaluation rubric
- Fair
- Honest
- Measured