Advantages of Object-Oriented Programming
CS1
Abstract
This activity is designed to be used after when students learn how to define a class, how to create an object for a class, and how to invoke instance methods for an object. At this point, students may not have developed the correct mental model of the mechanism that enables the object-oriented programming. Through this activity, students will learn how objects are stored, what a reference variable is, and how information of an object is passed at method invocations. Students will develop an understanding why these mechanisms are the advantages of object-oriented programming.
This activity was developed with NSF support through IUSE-1626765. You may request access to this activity via the following link: IntroCS-POGIL Activity Writing Program.
Level: Undergraduate
Setting: Laboratory
Activity Type: Learning Cycle
Discipline: Computer Science
Course: CS1
Keywords: Object-oriented programming, reference variable, implicit parameter
Downloads
Published
How to Cite
Issue
Section
License
Copyright of this work and the permissions granted to users of the PAC are defined in the PAC Activity User License.