Most of the assignments in this class are to be done individually. You may discuss general approaches to a problem with classmates, but you may not copy large pieces of programs or homework solutions. If you do, all the students involved will be penalized.
However, programming in the Real World is often done in teams, so I may give an assignment or two to be done in teams. I'll make clear which assignments these are, and who is on your team, at the time I give the assignment.
All work on an exam must be entirely the work of the one person whose name is at the top of the page. If I have evidence that one student copied from another on an exam, both students will be penalized; see above.