COS 226 Code Citation Standard


General Rules

If you copy or adapt code from the course material (booksite, textbook, lecture slides, lecture videos, precept notes, etc.), include a citation inside your code as follows:

Where should the citation be placed?


The citation rules apply even if the code is copied or adapted from outside the course material. Copying or adapting code that is not from the course material is a violation of course policy. Not properly citing it is plagiarism.