Questions if you allow collaboration

  1. You are working with a classmate and discussing multiple approaches to a homework assignment problem. One student thinks a particular library in Python may be useful and shares it with her classmate. Is this okay?
  2. You are working with that same classmate, and they find a similar problem on Stack Overflow that may help tackle the problem at hand and they share it with you. Is this okay?

Code questions and citation comparisons

  1. You are working on a homework assignment problem for hours and are stumped. You go on Reddit and put up a post asking for help. A person posts a direct solution for you. You copy and paste that snippet of code into your existing code. Is this okay?
  2. You are working on a homework assignment problem and are stumped. You go to Piazza and ask for some help. A classmate posts a suggestion on how to eliminate a syntax error you are experiencing. You take their advice and adopt it into your code. Is this okay?
  3. You had an exam last week and your professor just posted grades and solutions. You go onto Teams/Slack, and you post a response you had to a question that was marked incorrect. A TA fixes your code and posts a working code back to you. Is this okay?

Good and Bad examples of code citations

  1. Would this be a good example of a citation if you copied lines 5-15?
    Image
    Code snippet
  2. Would this be a good example of a citation if you did not copy any code, but adapted the formula in line 8 from an external source into your own code?
    Image
    Code snippet

Common Knowledge Concerns

  1. We learned a program in class. Is it okay to use the same method we learned into my own code without citation?
  2. There is only one way a specific task can be coded. I did not include any references in my code. Is this okay?
  3. I cited my code, and I am not sure if I did it correctly. I am just going to submit it on Gradescope and hope for the best. Is this okay?
  4. I used code from software that was open source, therefore there is no need to include a source citation.
  5. Benny has been working on a code for a couple of hours with Jimmie, but Jimmie still needs a lot of help. Benny really needs to get back to his own project, so he shares his code source file with Jimmie. Jimmie promises only to look at it and not copy from it. Is this okay?
  6. You are in a class and the semester is over. You take your portfolio project source code and copy it to Chegg. Is this okay?
  7. You are working with a partner on a project last term where you both created original content. This term you are working with a new partner and want to use code from your project from last term. Is this okay?