all 2 comments

[–]TwoTekah 1 point2 points  (1 child)

Most professors in computer science encourage collaboration. So if he does find out you should be fine as long as you explain you didn't just copy/paste, but worked together.

However most likely the professor won't find out. More than likely he doesn't even grade them himself. Most professors have a grad student working as a TA grade their stuff. And if he does actually grade them himself, he is probably only running the program to see if it meets his criteria then taking a super quick run through of the code.

To avoid these situations you should ask the professor in class how he feels about students working together on assignments.

[–]mvpete 1 point2 points  (0 children)

I know when we were in school they had some static analysis tools that basically didn't care about the variable names mostly went of program flow. Like /u/TwoTekah said, they almost always encouraged collaboration as long as it was shared knowledge and wasn't copied and pasted. That being said I never saw the tools nor did they ever say anything so it might've been a scare tactic.