Journal of Engineering Education Transformations

Journal of Engineering Education Transformations

Year: 2016, Volume: 30, Issue: Special Issue, Pages:

Original Article

Teaching C++ Using Real Life Analogies

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.

References

  • K�lling, 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.

DON'T MISS OUT!

Subscribe now for latest articles and news.