Lethbridge, Alta. : University of Lethbridge, Dept. of Mathematics and Computer Science
Classification of computer programming contest programs based on gender, region and software metrics
Abstract
dc:description.abstractThis research focuses on determining the effect of sociolinguistics characteristics (particularly, gender and region) on computer programs. Previous studies have demonstrated the use of machine learning techniques to analyze the relationship between sociolinguistics features and programming language. We collected C++ programs from an open source programming contest website. The features were calculated based on three software metrics: lines of code, cyclomatic complexity and Halstead metrics. Using five machine learning algorithms we trained several models and performed experiments to compare their performance. To investigate the significance of the features, we also carried out statistical and correlation analysis. As indicated by the experimental results, our models successfully predicted the gender of the programmers with 91.7% accuracy when programmers solved the same problems. When the programmers solved different problems, the model achieved an accuracy of 86.4%. Our models also efficiently classified the region of the programmer with 75.2% accuracy.
Degree
thesis:*- Level thesis:degree_level
- Masters
- Grantor dc:publisher
- Lethbridge, Alta. : University of Lethbridge, Dept. of Mathematics and Computer Science
- Year dc:date.issued
- 2021
Author and committee
dc:creator, dc:contributor.*- Authors dc:creator
-
- Zinnat, Sara Binte
- University of Lethbridge. Faculty of Arts and Science
- Advisor dc:contributor.supervisor
-
- Rice, Jacqueline E.
Subjects
dc:subject × 17- artificial intelligence
- machine learning
- computer programming
- programming languages
- sociolinguistics (gender, region)
- web scraping
- data mining
- classification
- statistical analysis
- software metrics
- Computer programming--Sex differences--Research
- Programming languages (Electronic computers)--Syntax--Sex differences--Research
- Sociolinguistics--Network analysis
- Software measurement
- Programming languages (Electronic computers)--Syntax--Research
- Computer programming--Competitions--Research
- Dissertations, Academic
Rights
- Language dc:language.iso
- en_US
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/10133/6113