Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I check source-code-homework for plagiarism? [closed]

Tags:

How do I tell that two source-codes (independent of their language C,Java,Lisp...) have strong indications that they could be plagiarism of each other?

Background: I going to give my first seminar on computer languages. We have prepared small exercises for major programming languages such as C/C++, Python, Java,... but also OCaml, Haskell,... to give the students some practical introduction (also into programming paradigms). We estimate to have ~300 students with more than 50 programming tasks per person. So a single person cannot check all homeworks.

I guess anti plagiarism techniques used for natural languages (essays, papers, book chapters, etc) will not work for source code, right? Also solutions to those programming tasks will have inherent similarity due to the demanded interface.

I've done a little search and found: MOSS mentioned in: Checking for code plagiarism with JavaScript and Variable renaming for plagiarism detection for C/C++

like image 779
math Avatar asked Apr 25 '12 09:04

math


People also ask

How can I check plagiarism source code?

To detect plagiarized code, the most popular tool is the MOSS system. (If you already know you want to use MOSS this quarter, skip to "Getting Started" below). Using MOSS involves packaging up students' solutions, submitting them for automated examination, and reviewing the results.

Can you check your assignment for plagiarism?

Some written assignments include an option to check your work for plagiarism before submitting. If your assignment has this option enabled, you'll see a Check for Plagiarism button under the field for writing or uploading text.


1 Answers

Award a small prize for detecting it. Given the possibility of a couple beers, students will pour over the net for hours, looking for matches from other students submissions.

With large fines for offences, it's self-financing and rewards students who do their own work - they want beer and are not going to leave themselves open to revenge by plagiarising work themselves!

like image 197
Martin James Avatar answered Oct 02 '22 13:10

Martin James