Pointers and Memory Leaks
CS2 / C++
Abstract
The goal of the activity is to review and reinforce pointers and C++ memory management before building upon those concepts in later activities. Students will analyze and draw accurate sketches of variables, objects, and pointers; review the distinction between variable and object; review the rules of C++ manual memory management; and diagnose and correct memory management bugs.
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: Classroom
- Type: Learning Cycle
- Discipline: Computer Science
- Course: CS2 / C++
- Keywords: pointers, variables, objects, memory management, memory leaks
Downloads
Published
2022-12-11
How to Cite
Wortman, K. (2022). Pointers and Memory Leaks: CS2 / C++. POGIL Activity Clearinghouse, 3(4). Retrieved from https://pac.pogil.org/index.php/pac/article/view/258
Issue
Section
CS-POGIL Activity Writing Program
License
Copyright of this work and the permissions granted to users of the PAC are defined in the PAC Activity User License.