Two (fragments of) programs are considered equivalent if they contain highly unlikely and consistent errors or differ only in ways that are inessential to their execution. The following are examples of such inessential differences
| if (x==y) print "equal";
else print "unequal" ; |
if (x!=y) print "unequal";
else print "equal" |
| for j=1 to k { print j;}; | j=1;
while( j<=k ) {print j; j=j+1;}; |
All violations of the Rutgers Academic Integrity Policy will be reported by the instructor to the appropriate Dean.Level Three Violations
Purchasing a solution, offering an assignment as a work for hire, or violating Rutgers Acceptable Use policy to obtain a solution is a Level Three Violation.Level One and Level Two Violations
All other violations of academic integrity on programming assignments will be treated as either a Level One Violation or a Level Two Violation as determined by the instructor and Dean. A Level One violation will carry with it sanctions not to exceed a zero on the submitted work. A Level Two violation may include sanctions that go beyond a zero on the submitted work.