Code complexity in introductory programming courses

7Citations
Citations of this article
26Readers
Mendeley users who have this article in their library.

Abstract

Instructors of introductory programming courses would benefit from having a metric for evaluating the sophistication of student code. Since introductory programming courses pack a wide spectrum of topics in a short timeframe, student code changes quickly, raising questions of whether existing software complexity metrics effectively reflect student growth as reflected in their code. We investigate code produced by over 800 students in two different Python-based CS1 courses to determine if frequently used code quality and complexity metrics (e.g., cyclomatic and Halstead complexities) or metrics based on length and syntactic complexity are more effective as a heuristic for gauging students' progress through a course. We conclude that the traditional metrics do not correlate well with time passed in the course. In contrast, metrics based on syntactic complexity and solution size correlate strongly with time in the course, suggesting that they may be more appropriate for evaluating how student code evolves in a course context.

References Powered by Scopus

A Complexity Measure

4369Citations
N/AReaders
Get full text

Using Metrics to Evaluate Software System Maintainability

287Citations
N/AReaders
Get full text

Are students representatives of professionals in software engineering experiments?

263Citations
N/AReaders
Get full text

Cited by Powered by Scopus

Design and analysis of microworlds and puzzles for block-based programming

17Citations
N/AReaders
Get full text

Codeprocess charts: Visualizing the process of writing code

9Citations
N/AReaders
Get full text

Exploring metrics for the analysis of code submissions in an introductory data science course

6Citations
N/AReaders
Get full text

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

Ihantola, P., & Petersen, A. (2019). Code complexity in introductory programming courses. In Proceedings of the Annual Hawaii International Conference on System Sciences (Vol. 2019-January, pp. 7662–7670). IEEE Computer Society. https://doi.org/10.24251/hicss.2019.924

Readers' Seniority

Tooltip

PhD / Post grad / Masters / Doc 15

75%

Lecturer / Post doc 2

10%

Researcher 2

10%

Professor / Associate Prof. 1

5%

Readers' Discipline

Tooltip

Computer Science 14

82%

Social Sciences 1

6%

Engineering 1

6%

Medicine and Dentistry 1

6%

Save time finding and organizing research with Mendeley

Sign up for free