Answers are grounded in this paper and cite their sources.
Introduction Computer science (CS) curricula are composed of various study modules. Although the body of knowledge representing CS is actually an integrated whole, students by necessity learn concepts, principles, and associated problem-solving methods in separate courses. According to Atman, Turns, and Mannering (1999), differentiating between distinct learning modules might cause an impoverished understanding of concepts and an inability to use them on demand. Thus, the study modules must be tied together, with an integrative focus on recurrent principles and concepts. The target is to obtain a coherent view of CS, as well as to foster the development of students' problem-solving skills. Educators debate about the roles of programming paradigms in teaching CS (Gal-Ezer & Harel, 1999; Reinfelds, 1995; Stollin & Hazzan, 2007; White & Sivitanides, 2005). Studies have dealt with questions such as: What skills are required from the learners in each paradigm? Should a learner study more than one paradigm? What paradigm should be taught first? What happens when transferring from one paradigm to another? (Bergin, 2000; Bucci, Heym, Long, & Weide, 2002; Hansen, & Kristensen, 2008; Ragonis, & Ben-Ari, 2005a, 2005b). Like other researchers (Gal-Ezer & Harel, 1999; Reinfelds, 1995), the authors of this paper believe that students should become acquainted with different paradigms in order to acquire alternative ways of computational thinking (Wing, 2006) and various approaches for problem solving. This paper illuminates two different, though strongly related paradigms: object-oriented programming (OOP) and logic programming (LP). In the next section we present some background on learning different paradigms and our experience in teaching both paradigms. In the third section we present the essence of each of the two paradigms. In the fourth section we compare the paradigms in the context of problem-solving approaches. We conclude with guidelines on the instructional design of a study track that combines both paradigms. Background Learning Different Paradigms Paradigms differ in the way a given problem is analyzed, in the way a solution is designed, and in the way the designed solution is implemented (Detienne, 2001). Studies showed that students learning a new paradigm seem to show both positive and negative transfer effects from their prior learnt paradigms and programming experience. In particular, students may transfer problem-solving techniques from one programming approach to another. Studies investigated the transition between declarative and procedural paradigms and between procedural and object-oriented paradigms. For example, studies showed a negative transfer from procedural programming to LP of some concepts (e.g., recursion) and a positive transfer of the comprehension of computational processes (Carey, & Shepherd, 1988; Haberman, 2004). Other studies indicated significant difficulties regarding the transition from procedural programming to OOP (e.g., Ross, & Zhang, 1997). Such difficulties may be explained by differences in (a) problem-solving approaches anchored in the different paradigms, and (b) implementation methods. These and similar studies expressed the importance of instructors being aware of the characteristics of each paradigm taught to students, specifically the differences and similarities between them. Authors' Experience in Teaching Logic Programming and Object-Oriented Programming Teaching Logic Programming--For over 15 years, both authors have been involved in: (a) the development of curricula and suitable learning materials designed for teaching logic programming (LP) in Prolog environment (text books, teachers' guides, lab exercises, and collections of exemplary problems), (b) teacher training, and (c) formative assessment and research (Haberman, & Scherz, 2005; Haberman, Shapiro, & Scherz, 2002; Scherz, Haberman, Ragonis, & Shapiro, 1993). …
No takes yet. Share an insight, caveat, or question.
Haberman et al. (2010) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: