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 homework solutions. (Code provided for you by the Café Java development environment is OK.) If you do, all the students involved will be penalized. If I choose to allow a particular assignment to be done in groups, I'll tell you so clearly.
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.