Logo del repository
  1. Home
 
Opzioni

An Exploration of Novice Programmers' Comprehension of Conditionals in Imperative and Functional Programming

Mirolo, Claudio
•
Izu, Cruz
2019
  • conference object

Abstract
Students of introductory programming courses are expected to develop higher-order thinking skills to inspect, understand and modify code. However, although novices can correctly write small programs, they appear to lack a more abstract, comprehensive grasp of basic constructs, such as conceiving the overall effect of alternative conditional flows. This work takes a little-explored perspective on the comprehension of tiny programs by asking students to reason about reversing conditionals in either an imperative or a functional context. More specifically, besides deciding if the given constructs can be reversed, students had to justify their choice by writing a reversing program or by providing suitable counterexamples. The students’ answers to four reversibility questions have been analysed through the lens of the SOLO taxonomy. 45% of students correctly identified the reversibility for the four code items; furthermore, more than 50% of each cohort were able to provide correct justifications for at least three of their four answers. Most incorrect answers were due to failures to consider border cases or to edit the conditional expressions appropriately to reverse the construct. Differences in comprehension between functional and imperative languages are explored indicating the explicit else paths of the functional examples facilitate comprehension compared with the implicit else (no update) of its imperative counterpart.
DOI
10.1145/3304221.3319746
WOS
WOS:000532563500121
Archivio
http://hdl.handle.net/11390/1162139
info:eu-repo/semantics/altIdentifier/scopus/2-s2.0-85070911816
https://doi.org/10.1145/3304221.3319746
Diritti
open access
Soggetti
  • program comprehension...

  • reversibility

  • imperative vs. functi...

  • CS1

  • SOLO taxonomy

Scopus© citazioni
3
Data di acquisizione
Jun 2, 2022
Vedi dettagli
Web of Science© citazioni
2
Data di acquisizione
Mar 2, 2024
google-scholar
Get Involved!
  • Source Code
  • Documentation
  • Slack Channel
Make it your own

DSpace-CRIS can be extensively configured to meet your needs. Decide which information need to be collected and available with fine-grained security. Start updating the theme to match your nstitution's web identity.

Need professional help?

The original creators of DSpace-CRIS at 4Science can take your project to the next level, get in touch!

Realizzato con Software DSpace-CRIS - Estensione mantenuta e ottimizzata da 4Science

  • Impostazioni dei cookie
  • Informativa sulla privacy
  • Accordo con l'utente finale
  • Invia il tuo Feedback