Understanding Students’ Failure to use Functions as a Tool for Abstraction – An Analysis of Questionnaire Responses and Lab Assignments in a CS1 Python Course Cover Image

Understanding Students’ Failure to use Functions as a Tool for Abstraction – An Analysis of Questionnaire Responses and Lab Assignments in a CS1 Python Course
Understanding Students’ Failure to use Functions as a Tool for Abstraction – An Analysis of Questionnaire Responses and Lab Assignments in a CS1 Python Course

Author(s): Pontus HAGLUND, Filip STRÖMBÄCK, Linda Mannila
Subject(s): Education, ICT Information and Communications Technologies
Published by: Vilniaus Universiteto Leidykla
Keywords: abstraction; core concepts; procedural abstraction; data abstraction; CS1; Python functions; prerequisites; parameter passing; scope; references; Python Tutor;

Summary/Abstract: Controlling complexity through the use of abstractions is a critical part of problem solving in programming. Thus, becoming proficient with procedural and data abstraction through the use of user-defined functions is important. Properly using functions for abstraction involves a number of other core concepts, such as parameter passing, scope and references, which are known to be difficult. Therefore, this paper aims to study students’ proficiency with these core concepts, and students’ ability to apply procedural and data abstraction to solve problems. We collected data from two years of an introductory Python course, both from a questionnaire and from two lab assignments. The data shows that students had difficulties with the core concepts, and a number of issues solving problems with abstraction. We also investigate the impact of using a visualization tool when teaching the core concepts.

  • Issue Year: 20/2021
  • Issue No: 4
  • Page Range: 583-614
  • Page Count: 32
  • Language: English