COMPREHENSION OF LINKED LIST DIAGRAMS: THE EFFECTS ON CODE WRITING SKILLS

Authors

  • Unaizah Obaidellah Department of Artificial Intelligence, Faculty of Computer Science and Information Technology, University of Malaya, 50603 Kuala Lumpur, Malaysia Corresponding Author
  • Aznul Qalid Md Sabri Department of Artificial Intelligence, Faculty of Computer Science and Information Technology, University of Malaya, 50603 Kuala Lumpur, Malaysia
  • Erma Rahayu Mohd Faizal Department of Artificial Intelligence, Faculty of Computer Science and Information Technology, University of Malaya, 50603 Kuala Lumpur, Malaysia
  • Yin Kia Chiam Department of Software Engineering Faculty of Computer Science and Information Technology University of Malaya 50603 Kuala Lumpur, Malaysia

DOI:

https://doi.org/10.22452/mjcs.vol34no2.5

Keywords:

data structures, computer science education research, diagrams comprehension, code writing, inter-rater agreement

Abstract

The use of graphics has a tendency to aid reasoning in program solving by improving novice programmers’ ability to read and write code. This study extends existing work in computer programming on the use of diagrammatic representation for students undertaking the fundamental data structure course (CS2) in Malaysia. Students were tested on comprehension of diagrams followed by the composition of code with respect to the linked list topic. The data was assessed using the inter-rater agreement test and showed a high degree of consistent ratings. Results showed a moderate correlation between students’ ability to analyze list operations in the form of notation and performance on code writing. Students assessed the diagrams differently according to the complexity level.  The result can be generalized to conclude that the use of diagrams alone may not fully support reasoning and program solving. However, some types of diagrams are potentially more effective to support code composition and more emphasis should be given to evaluating the effectiveness of diagrams in organizing cues to facilitate novice programmers in program solving. Further investigation on a combination of activities related to comprehension of diagrams, including code reading and explanation prior to code writing, is recommended.

Downloads

Published

2021-04-30

Most read articles by the same author(s)