This tab has been created to help students cite source code properly in their assignments, reports, etc.
To publish a journal article or a conference paper, follow the publisher's or organizer's guidelines regarding the citation style and the source code citation.
Source code is "the statements written by the programmer, which are translated into the computer's 'machine language' by programs called 'assemblers', 'compilers' and 'interpreters'." (Source)
There are two elements associated with source code:
Ask your instructor if you can reuse code for an assignment!
WARNING! Reusing a colleague's code or assignment, or reusing code from an assignment you produced for another course (= self-plagiarism), constitutes fraud according to Polytechnique's Règlements des études du baccalauréat en ingénierie, art. M7 b) and k).
Open source licenses allow software to be freely used, modified, and shared.
Check the license under which the code was published to see if you have the right to reuse it.
IEEE is a numerical style that comprises two mandatory elements:
O. Manasreh, Introduction to Nanomaterials and Devices. Hoboken, NJ : Wiley, 2011. [Online]. Available: https://onlinelibrary.wiley.com/doi/book/10.1002/9781118148419
Do not cite common facts (= common knowledge), but when in doubt, ask your professor and/or cite!
Ex. of common knowledge: using function calls from an internal or external software library (code library) such as:
Delimit the beginning and the end of the reused code!