Generative and accumulative recursion made fun for beginners

被引:7
|
作者
Morazan, Marco T. [1 ]
机构
[1] Seton Hall Univ, Dept Comp Sci, S Orange, NJ 07079 USA
关键词
Generative recursion; Accumulative recursion; Functional video games; Heuristic search strategies; Computer Science education;
D O I
10.1016/j.cl.2015.08.001
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In a programming classroom for beginners, a delicate balance must be struck between teaching the design, implementation, and testing fundamentals of programming and the need for students to find their first programming course enjoyable. A course that focuses solely on the fundamentals is not likely to nourish the excitement a student may have for Computer Science. A course that focuses solely in making programming fun is not likely to have students walk away with a solid grasp of the fundamentals. A very successful approach to strike this balance uses functional video games to motivate the need to learn principles of program design and Computer Science in a context that is of interest and fun for most students. Such an approach has successfully engaged students to learn design and implementation principles using primitive data, finite compound data, structural recursion for compound data of arbitrary size, and abstraction. This article explores how to use a functional video game approach to engage beginning students in problem solving that employs generative and accumulative recursion while at the same time reinforcing the lessons on structural recursion and abstraction. In addition to these two new forms of recursion, beginning students are also introduced to depth-first searching, breadth-first searching, heuristic-based searching, and the use of randomness. The article uses the N-puzzle problem to illustrate how all these topics are seamlessly addressed in the beginner's classroom while keeping student enthusiasm high as evidenced by student feedback. (C) 2015 Elsevier Ltd. All rights reserved.
引用
收藏
页码:181 / 197
页数:17
相关论文
共 50 条