In order to clarify what is regarded as plagiarism, the Board on Judicial Affairs adopted the following statement on May 22, 2003:
" For purposes of the Stanford University Honor Code, plagiarism is defined as the use, without giving reasonable and appropriate credit to or acknowledging the author or source, of another person's original work, whether such work is made up of code, formulas, ideas, language, research, strategies, writing or other form(s)."
If you are in doubt about what constitutes plagiarism in the context of a particular assignment, talk with the instructor.