DocumentCode
2498141
Title
A methodology to teach exemplary coding style considering students´ coding style feature contains fluctuations
Author
Ohno, Asako
Author_Institution
Osaka Sangyo Univ., Daito, Japan
fYear
2013
fDate
23-26 Oct. 2013
Firstpage
1908
Lastpage
1910
Abstract
Readable source code should contain a relatively small amount of latent bugs and should be easy to maintain. However, it is difficult for a teacher to teach all students to write code in accordance with a certain coding style because each of them naturally has his/her own different coding styles, and the teacher needs to advise them considering their original coding styles. To deal with this issue, the CM algorithm is introduced, which was originally developed to detect source code plagiarism in Java programming classes. It quantifies a student´s coding style feature by using a set of hidden Markov models called coding models. Coding models quantify a person´s code writing style as that person´s coding style feature. In this paper, an attempt to apply the CM algorithm for facilitating coding style instruction is reported. Experimental results showed that the coding models provided information that was useful for teaching coding styles.
Keywords
computer science education; hidden Markov models; source code (software); teaching; CM algorithm; Java programming classes; coding models; coding style instruction; hidden Markov models; latent bugs; person code writing style; readable source code; source code plagiarism detection; student coding style feature; teaching; Computer bugs; Education; Encoding; Hidden Markov models; Java; Programming; Writing;
fLanguage
English
Publisher
ieee
Conference_Titel
Frontiers in Education Conference, 2013 IEEE
Conference_Location
Oklahoma City, OK
ISSN
0190-5848
Type
conf
DOI
10.1109/FIE.2013.6685167
Filename
6685167
Link To Document