This page is to clarify the notion of academic honesty, and what is considered academic dishonesty (cheating) in this course. Be sure to read and understand it to avoid severe unpleasantness.

In this lab you are expected to write and submit code in C and assembly language. In some cases you may be including code that you did not write yourself. In all such cases you must clearly indicate by comments in the submitted code where this code originated. This includes code copied and then modified.  Failure to do so constitues a transgression on the rules, and will be handled as follows.

  1. Code copied from an authorized source. This includes code provided by the course staff, code from man pages mentioned in the lab reading material, and the like. For such sources, failure to refer to the source will (only) cause a grade reduction.
  2. Code copied (even with modification) from an unauthorized source, including but not limited to: other students (whether in this course or not), people who are not students, internet sources such as stack overflow and other information services, etc. For such sources failure to refer to the source constitutes cheating and will be prosecuted. In addition, if the source of the code is another student at BGU, both ends of the copied code will be prosecuted: the copier for cheating, and the source for aiding and abetting to cheating. In cases we cannot determine which side in the source, both sides will be prosecuted for cheating and/or aiding and abetting.
  3. Note that the above implies that it is your responsibility not to share your code with others, as you run the risk of being prosecuted with aiding and abetting!

Penalties for cheating in labs have become severe lately. In many cases a grade of 0 in the course was the result. In one or 2 cases we even had an expulsion from studies for one or more semester. So do  not cheat.

If you think the lab is too hard and that you must copy some code, all you need to do is clearly reference it. This may reduce your grade, but avoid prosecution. Example of a reference (for C code):

/* Start: lines copied from Linux man pages */
#include <stdio.h>
#include <types.h>
/* End: lines copied from Linux man pages */
main(ac, av) {
}