Wouldn't this be considered academic fraud? His coworker turning in code that he didn't write?
Maybe it's ARM, or MIPS, or… Followup problem: write a sequence of bytes that performs a jump on one architecture, and something harmless or reversible on the other(s).