Open Access Open Access  Restricted Access Subscription Access
Open Access Open Access Open Access  Restricted Access Restricted Access Subscription Access

Teaching C++ Using Real Life Analogies


Affiliations
1 MCA Department, KLE Technological University, Hubbali, India
     

   Subscribe/Renew Journal


Over the years Object oriented programming (OOP) has gained the dominance in both the software industryand education. There are a number of OOP versions released by Software companies and the same are adopted by the educational institutions at various levels in their curricula. The main reason for this inclination is driven by the fact that OOP solves any problem by imitating the mental model of humans. It is usually a challenge for teachers to imbibe OOP concepts in novice programmers. Teaching fundamentals of OOP at an introductory level is challenging. This paper presents a pedagogical approach used for teaching/learning process of Object Oriented Programming in C++ course offered at MCA II semester. The approach uses real life analogies to effectively enhance the learning of OOP concepts among students. Students might program in an OOP language but fail to program in an object-oriented style. This is because students are unsuccessful to model given problem in terms of objects. To ease this, single real life example is used to help students acquire these OOP concepts. The use of a single example from start to finish facilitated deepening of teaching. It mainly helped to join with ease the new concepts and mechanisms, such as class combination, inheritance and polymorphism. Eventually the example expanded into a kind of system. The proposed methodology comprised of five stages in which students are introduced to classes and objects, constructors and destructors, abstraction and encapsulation, inheritance and polymorphism concepts. This approach demonstrated effectiveness in motivating students to incorporate OOP concepts for developing simple real world applications. It has also improved the quality of teaching C++ programming course. An evaluation of the problems experienced in teaching OOP is presented and some possible approaches for improving the quality and success of such courses are discussed.

Keywords

Object Oriented Programming, Object-Oriented Technologies, Real Life Analogies, Class.
Subscription Login to verify subscription
User
Notifications
Font Size


  • Kolling, M. "The Problem of Teaching Object-Oriente d Programming, Part 1: Languages," Journal of Object-Oriented Programming, 11(8): 8-15, 1999.
  • Xiao-dong Zhu: Teaching Adaptability of Objectoriented Programming Language Curriculum International Education Studies; Vol. 5, No. 4; 2012 ISSN 1913-9020 EISSN 1913-9039 Published by Canadian Center of Science and Education..
  • Biju, S. Mathew. 2013, 'Difficulties in understanding object oriented programming concepts', in K. Elleithy& T. Sobh (eds), Innovations and Advances in Computer, Information, Systems Sciences, and Engineering, Springers, Netherlands, pp. 319-326.
  • http://www.celt.iastate.edu/teaching/teachingformat/14-creative-ways-to-engage-students.

Abstract Views: 291

PDF Views: 0




  • Teaching C++ Using Real Life Analogies

Abstract Views: 291  |  PDF Views: 0

Authors

Shashikala V. Budni
MCA Department, KLE Technological University, Hubbali, India
Deepa Mulimani
MCA Department, KLE Technological University, Hubbali, India
S. V. Seeri
MCA Department, KLE Technological University, Hubbali, India
P. R. Patil
MCA Department, KLE Technological University, Hubbali, India

Abstract


Over the years Object oriented programming (OOP) has gained the dominance in both the software industryand education. There are a number of OOP versions released by Software companies and the same are adopted by the educational institutions at various levels in their curricula. The main reason for this inclination is driven by the fact that OOP solves any problem by imitating the mental model of humans. It is usually a challenge for teachers to imbibe OOP concepts in novice programmers. Teaching fundamentals of OOP at an introductory level is challenging. This paper presents a pedagogical approach used for teaching/learning process of Object Oriented Programming in C++ course offered at MCA II semester. The approach uses real life analogies to effectively enhance the learning of OOP concepts among students. Students might program in an OOP language but fail to program in an object-oriented style. This is because students are unsuccessful to model given problem in terms of objects. To ease this, single real life example is used to help students acquire these OOP concepts. The use of a single example from start to finish facilitated deepening of teaching. It mainly helped to join with ease the new concepts and mechanisms, such as class combination, inheritance and polymorphism. Eventually the example expanded into a kind of system. The proposed methodology comprised of five stages in which students are introduced to classes and objects, constructors and destructors, abstraction and encapsulation, inheritance and polymorphism concepts. This approach demonstrated effectiveness in motivating students to incorporate OOP concepts for developing simple real world applications. It has also improved the quality of teaching C++ programming course. An evaluation of the problems experienced in teaching OOP is presented and some possible approaches for improving the quality and success of such courses are discussed.

Keywords


Object Oriented Programming, Object-Oriented Technologies, Real Life Analogies, Class.

References





DOI: https://doi.org/10.16920/jeet%2F2016%2Fv0i0%2F111634