skip to main content
10.1145/3626253.3635519acmconferencesArticle/Chapter ViewAbstractPublication PagessigcseConference Proceedingsconference-collections
poster

Style Anomalies Can Suggest Cheating in CS1 Programs

Published: 15 March 2024 Publication History

Abstract

Student cheating on at-home programming assignments is a well-known problem. A key contributor is externally obtained solutions from websites, contractors, and recently generative AI. In our experience, such externally obtained solutions often use coding styles that depart from a class's style, which we call "style anomalies". Examples of style anomalies include using untaught or advanced constructs like pointers or ternary operators or having different indenting or brace usage from the class style. We developed a tool to automatically count style anomalies in student code submissions. We used this tool to find suspected cheating in student submissions for lab assignments across five terms of CS1. This poster presents our findings: Some student submissions were suspected of cheating due to high style anomaly counts and were not flagged as suspicious by a code similarity checker. With the rise of externally obtained solutions from websites, contractors, and generative AI, style anomalies may become an important complement to similarity checking for detecting cheating.

References

[1]
Schleimer, S., Wilkerson, D.S. and Aiken, A., 2003, June. Winnowing: local algorithms for document fingerprinting. In Proceedings of the 2003 ACM SIGMOD international conference on Management of data (pp. 76--85).
[2]
Software plagiarism detector, https://jplag.ipd.kit.edu/, accessed 2022.
[3]
Prechelt, L., Malpohl, G. and Philippsen, M. Finding plagiarisms among a set of programs with JPlag. Journal UCS, 8(11), 2002.
[4]
GitHub.com, accessed August 2022.
[5]
Sad CS Major. How UCLA Admins Could Stop The GitHub Cheating and Let Us Get Back To Learning CS, https://medium.com/@joe_bruined/how-ucla-admins-could-stop-the-github-cheating-and-let-us-get-back-to-learning-cs-8f95e8bf6850
[6]
Chegg.com, accessed August 2022.
[7]
Deng, J. and Lin, Y., 2022. The Benefits and Challenges of ChatGPT: An Overview. Frontiers in Computing and Intelligent Systems, 2(2), pp.81--83.
[8]
Google's C++ style guide, https://google.github.io/styleguide/cppguide.html, accessed 2022.
[9]
cpplint style checker for C++, https://github.com/cpplint/cpplint, accessed 2022.
[10]
PEP8 style guide for Python, https://peps.python.org/pep-0008/, accessed 2022.
[11]
Oman, P.W. and Cook, C.R., 1989, February. Programming style authorship analysis. In Proceedings of the 17th conference on ACM Annual Computer Science Conference (pp. 320--326).
[12]
Arabyarmohamady, S., Moradi, H. and Asadpour, M., 2012, November. A coding style-based plagiarism detection. In Proceedings of 2012 International Conference on Interactive Mobile and Computer Aided Learning (IMCL) (pp. 180--186). IEEE.
[13]
Mirza, O.M., Joy, M. and Cosma, G., 2017, July. Style analysis for source code plagiarism detection-an analysis of a dataset of student coursework. In 2017 IEEE 17th international conference on advanced learning technologies (ICALT) (pp. 296--297). IEEE.
[14]
Karnalim, O., & Kurniawati, G. (2020). Programming style on source code plagiarism and collusion detection. International Journal of Computing, 27--38. https://doi.org/10.47839/ijc.19.1.1690

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SIGCSE 2024: Proceedings of the 55th ACM Technical Symposium on Computer Science Education V. 2
March 2024
2007 pages
ISBN:9798400704246
DOI:10.1145/3626253
Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 15 March 2024

Check for updates

Author Tags

  1. cheating
  2. cs1
  3. plagiarism
  4. program autograders
  5. program style

Qualifiers

  • Poster

Funding Sources

Conference

SIGCSE 2024
Sponsor:

Acceptance Rates

Overall Acceptance Rate 1,595 of 4,542 submissions, 35%

Upcoming Conference

SIGCSE TS 2025
The 56th ACM Technical Symposium on Computer Science Education
February 26 - March 1, 2025
Pittsburgh , PA , USA

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 54
    Total Downloads
  • Downloads (Last 12 months)54
  • Downloads (Last 6 weeks)2
Reflects downloads up to 24 Dec 2024

Other Metrics

Citations

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media