This course will teach you the memory foundations in C++ you need to successfully understand and work with computer programs. In a world with AI the edge goes to programmers who truly understand what their code is doing, and memory is at the heart of it. Whether you're debugging a tricky issue, optimizing performance, or building data structures, knowing how your program manages memory is essential.
This course will guide you through the concepts: how local variables live on the stack, how pass-by-value and pass-by-reference determine whether your data changes across function calls, and how pointers give you direct access to memory addresses. You'll also explore arrays, C-strings, and dynamic memory. Learning how to allocate and free heap memory safely while avoiding common pitfalls like memory leaks and dangling pointers.
You'll reinforce your understanding through auto-graded conceptual questions and hands-on coding labs. By the end, you'll have the memory foundations needed to tackle advanced C++ topics like linked lists, trees, and beyond.
Das ist alles enthalten
1 Lektüre
Infos zu Modulinhalt anzeigen
1 Lektüre•Insgesamt 10 Minuten
Syllabus•10 Minuten
Memory
Modul 2•3 Stunden abzuschließen
Moduldetails
Das ist alles enthalten
4 Videos6 Lektüren4 Aufgaben2 Programmieraufgaben
Infos zu Modulinhalt anzeigen
4 Videos•Insgesamt 22 Minuten
Memory Model Intro•7 Minuten
Pass-by-Value Video•6 Minuten
Pass-by-Reference Video•4 Minuten
Pass-by-X Tricky Example Video•5 Minuten
6 Lektüren•Insgesamt 28 Minuten
README - Memory Model•2 Minuten
Memory Model Text•10 Minuten
README - Pass-by-X•2 Minuten
Pass-by-Value Text•3 Minuten
Pass-by-Reference Text•3 Minuten
Details and Implications Text•8 Minuten
4 Aufgaben•Insgesamt 34 Minuten
Memory Model Graded Understanding Check•10 Minuten
Pass-by-X Graded Understanding Check•7 Minuten
Memory Model Practice Understanding Check•10 Minuten
Pass-by-X Practice Understanding Check•7 Minuten
2 Programmieraufgaben•Insgesamt 75 Minuten
Swap and Sort •30 Minuten
Deck Pass-by-Reference•45 Minuten
Pointers
Modul 3•3 Stunden abzuschließen
Moduldetails
Das ist alles enthalten
3 Videos3 Lektüren2 Aufgaben1 Programmieraufgabe
Infos zu Modulinhalt anzeigen
3 Videos•Insgesamt 18 Minuten
Pointers Video•6 Minuten
Double Pointers Example Video•4 Minuten
Pointers with Functions Video•9 Minuten
3 Lektüren•Insgesamt 50 Minuten
README - Pointers•10 Minuten
Pointers Text Content Part I•20 Minuten
Pointers Text Content Part II•20 Minuten
2 Aufgaben•Insgesamt 50 Minuten
Pointers Practice Understanding Check•25 Minuten
Pointers Graded Understanding Check•25 Minuten
1 Programmieraufgabe•Insgesamt 60 Minuten
Deck with Pointers•60 Minuten
Arrays and C-Strings
Modul 4•2 Stunden abzuschließen
Moduldetails
Das ist alles enthalten
3 Videos5 Lektüren2 Aufgaben1 Programmieraufgabe
Infos zu Modulinhalt anzeigen
3 Videos•Insgesamt 14 Minuten
Array Intro Video•4 Minuten
Array with Function Video•7 Minuten
C-string Video•3 Minuten
5 Lektüren•Insgesamt 55 Minuten
README - Arrays and C-Strings•10 Minuten
Arrays Text Quick Overview•5 Minuten
Arrays Text Content Part I•20 Minuten
Arrays Text Content Part II•10 Minuten
C-Strings Text Content•10 Minuten
2 Aufgaben•Insgesamt 20 Minuten
Arrays Graded Understanding Check•10 Minuten
Arrays Practice Understanding Check•10 Minuten
1 Programmieraufgabe•Insgesamt 60 Minuten
All Arrays on Deck•60 Minuten
Dynamic Memory
Modul 5•1 Stunde abzuschließen
Moduldetails
Das ist alles enthalten
3 Videos3 Lektüren
Infos zu Modulinhalt anzeigen
3 Videos•Insgesamt 10 Minuten
Dynamic Memory Intro Video•4 Minuten
Dynamic Memory Array Video•4 Minuten
Dynamic Memory Error Video•2 Minuten
3 Lektüren•Insgesamt 30 Minuten
README - Dynamic Memory•10 Minuten
Dynamic Memory Text Content•10 Minuten
Dynamic Memory Errors Text Content•10 Minuten
Bereiten Sie sich auf einen Abschluss vor.
Wenn Sie Kurs von University of Illinois Urbana-Champaign absolvieren, erhalten Sie möglicherweise eine Vorschau der Themen, Materialien und Lehrkräfte für einen verwandten Studiengang. So können Sie besser einschätzen, ob das Thema oder die Universität die richtige Wahl für Sie wäre.
Mögliche Abschüsse anzeigen
Bereiten Sie sich auf einen Abschluss vor.
Wenn Sie Kurs von University of Illinois Urbana-Champaign absolvieren, erhalten Sie möglicherweise eine Vorschau der Themen, Materialien und Lehrkräfte für einen verwandten Studiengang. So können Sie besser einschätzen, ob das Thema oder die Universität die richtige Wahl für Sie wäre.
The University of Illinois at Urbana-Champaign is a world leader in research, teaching and public engagement, distinguished by the breadth of its programs, broad academic excellence, and internationally renowned faculty and alumni. Illinois serves the world by creating knowledge, preparing students for lives of impact, and finding solutions to critical societal needs.
When will I have access to the lectures and assignments?
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
What will I get if I purchase the Certificate?
When you purchase a Certificate you get access to all course materials, including graded assignments. Upon completing the course, your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Is financial aid available?
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.