IDEAS home Printed from https://ideas.repec.org/a/gvu/aicn00/v2y2020i3id47.html

Plagiarism Detection in Programming Assignments using Machine Learning

Author

Listed:
  • Nishesh Awale
  • Mitesh Pandey
  • Anish Dulal
  • Bibek Timsina

Abstract

Plagiarism in programming assignments has been increasing these days which affects the evaluation of students. Thispaper proposes a machine learning approach for plagiarism detection of programming assignments. Different features related to source code are computed based on similarity score of n-grams, code style similarity and dead codes. Then, xgboost model is used for training and predicting whether a pair of source code are plagiarised or not. Many plagiarism techniques ignores dead codes such as unused variables and functions in their predictions tasks. But number of unused variables and functions in the source code are considered in this paper. Using our features, the model achieved an accuracy score of 94% and average f1-score of 0.905 on the test set. We also compared the result of xgboost model with support vector machines(SVM) and report that xgboost model performed better on our dataset.

Suggested Citation

Handle: RePEc:gvu:aicn00:v:2:y:2020:i:3:id:47
DOI: 10.36548/jaicn.2020.3.005
as

Download full text from publisher

File URL: https://irojournals.com/aicn/article/view/47
File Function: Abstract page
Download Restriction: no

File URL: https://irojournals.com/aicn/article/download/47/36
File Function: Full text
Download Restriction: no

File URL: https://libkey.io/10.36548/jaicn.2020.3.005?utm_source=ideas
LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
---><---

More about this item

Keywords

;
;
;
;

Statistics

Access and download statistics

Corrections

All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gvu:aicn00:v:2:y:2020:i:3:id:47. See general information about how to correct material in RePEc.

If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

We have no bibliographic references for this item. You can help adding them by using this form .

If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Journal Manager (email available below). General contact details of provider: https://irojournals.com/aicn .

Please note that corrections may take a couple of weeks to filter through the various RePEc services.

IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.