Segments: An alternative rainfall problem

被引:2
作者
Achten, Peter [1 ]
机构
[1] Radboud Univ Nijmegen, Inst Comp & Informat Sci, Nijmegen, Netherlands
关键词
Compendex;
D O I
10.1017/S0956796821000216
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Elliot Soloway's Rainfall problem is a well-known and well-studied problem to investigate the problem-solving strategies of programmers. Kathi Fisler investigated this programming challenge from the point of view of functional programmers. She showed that this particular challenge gives rise to five different high-level solution strategies, of which three are predominant and cover over 80% of all chosen solutions. In this study, we put forward the Segments problem as an alternative challenge to investigate the problem-solving skills of functional programmers. Analysis of the student solutions, their high-level solution strategies, and corresponding archetype solutions shows that the Segments problem gives rise to seven different high-level solution strategies that can be further divided into 17 subclasses. The Segments problem is particularly suited to investigate problem-solving skills that involve list processing and higher-order functions.
引用
收藏
页数:17
相关论文
共 6 条
[1]   The Soccer-Fun project [J].
Achten, Peter .
JOURNAL OF FUNCTIONAL PROGRAMMING, 2011, 21 :1-19
[2]  
Fisler K., 2014, P 10 ANN C INT COMP, P35, DOI [10.1145/2632320.2632346, DOI 10.1145/2632320.2632346]
[3]  
Fisler Kathi., 2016, P 47 ACM TECHN S COM, P211, DOI [DOI 10.1145/2839509.2844556, 10.1145/2839509.2844556]
[4]   Functional pearl - The countdown problem [J].
Hutton, G .
JOURNAL OF FUNCTIONAL PROGRAMMING, 2002, 12 (06) :609-616
[5]  
LEVENSHT.VI, 1965, DOKL AKAD NAUK SSSR+, V163, P845
[6]   LEARNING TO PROGRAM = LEARNING TO CONSTRUCT MECHANISMS AND EXPLANATIONS [J].
SOLOWAY, E .
COMMUNICATIONS OF THE ACM, 1986, 29 (09) :850-858