Collaboration and cheating

Weekly exercises
Every conceivable form of collaboration is allowed and encouraged.

Mandatory exercises

  • You must write everything yourself. (*)
  • You may not look at other people's code. (**)
  • You may not show your own code to other students. (**)

This includes (obviously) searching for solutions to the specific assigned problems online, and publishing your solutions to the problems online.

That being said, you may discuss the exercises freely with your fellow students, including core concepts and specific solution strategies. Feel free to use the discussion board to ask and answer questions (bearing in mind that you should not ask or answer with blocks of code. Use words instead. Code snippets of 1-2 lines are allowed to demonstrate syntax etc.).

You may use online resources such as Stack Overflow, Wikipedia, reddit etc. to look for answers to language-specific issues, and general information about a certain data structure or algorithm. For example, you may look at all the code available at https://algs4.cs.princeton.edu/code Links to an external site. or at editorialised code resources such as geekforgeeks.com. Keep in mind that you still need to write every line of code (and text) yourself unless otherwise noted (that is, every line must be written using your own brain, without blindly transcribing code from other sources).

(*) Exception: You may use everything in the Java standard library unless explicitly forbidden.

(**) Exception: You may help each other troubleshoot code after a serious attempt has been made unsuccessfully. If so, the student whose code was troubleshot must pay tribute to those who helped troubleshoot by including an acknowledgement (names) and a personal thank you note in the beginning of the hand-in.

Final exam
Normal rules for individual written exams. No access to internet or compilers.