The PAMCET Learning Team is the institutional curriculum and content group behind course publishing on this platform. PAMCET (Professional and Academic Management Centre for Education and Training) is operated by Digitpen Hub Ltd, a company registered in Lagos, Nigeria. Courses credited to the PAMCET Learning Team are structured, organized, and published centrally by the platform rather than authored by a single named individual instructor — each course's syllabus, learning outcomes, and content are reviewed before publication under this institutional account. For questions about a specific course or to report a content issue, please use the platform's Help & Support or Contact Us pages.
CYS 106: Object-Oriented Programming in C++ & Secure Coding Concepts
In-depth treatment of object-oriented programming principles using C++ with explicit focus on systems programming and memory safety vulnerabilities. Covers classes, objects, encapsulation, access specifiers (public, private, protected), constructors,...
Course Overview
In-depth treatment of object-oriented programming principles using C++ with explicit focus on systems programming and memory safety vulnerabilities. Covers classes, objects, encapsulation, access specifiers (public, private, protected), constructors,... Curriculum Structure &...
What You'll Learn
- Construct robust object-oriented software architectures in C++ utilizing inheritance, encapsulation, and polymorphism.
- Implement safe memory management patterns using RAII and modern C++ smart pointers to eliminate memory leaks.
- Inspect and explain the memory layout of C++ objects, virtual method tables (vtables), and pointer arithmetic.
- Demonstrate how stack-based buffer overflows occur in unmitigated C/C++ code containing unbounded string functions.
- Apply defensive secure coding guidelines (CERT C/C++, MISRA C++) and compiler sanitizers (ASan, UBSan) to prevent vulnerabilities.
Requirements
- CYS 107
Degree Programme Curriculum Context
This course is a curriculum unit of the B.Sc. Cyber Security degree framework in Nigeria.
Earn Your Certificate
Showcase your skills with a certificate! Complete the course, submit your project, and earn your certificate. Here's a sample of what you'll receive to show off your accomplishments.

Course Curriculum
Browse complete theoretical foundations, worked calculations, laboratory protocols, and board assessment questions under each topic.
Lecture 1: C++ vs C: Type Safety, Namespaces, Header Files, and Compilation Flags
CYS 106 • Chapter 1 • Lecture 1 CCMAS: CCMAS-CYS-106 C++ vs C: Type Safety, Namespaces, Header Files, and Compilation Flags Module: C++ Fundamentals, Memory Model & Structured Program Execution • Theoretical Foundations & Formal Models Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 Mins 1. Pedagogical Abstra...
Lecture 2: Memory Layout of a C++ Process: Text, Data, BSS, Heap, and Stack Segments
CYS 106 • Chapter 1 • Lecture 2 CCMAS: CCMAS-CYS-106 Memory Layout of a C++ Process: Text, Data, BSS, Heap, and Stack Segments Module: C++ Fundamentals, Memory Model & Structured Program Execution • Worked Technical Scenarios & Lab Protocols Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 Mins 1. Pedagogical...
Formative Assessment: C++ Fundamentals, Memory Model & Structured Program Execution
Formative knowledge check evaluating core concepts, security invariants, and analytical skills for C++ Fundamentals, Memory Model & Structured Program Execution.
Lecture 1: Class Definition, Access Specifiers, Member Initializer Lists, and const Correctness
CYS 106 • Chapter 2 • Lecture 1 CCMAS: CCMAS-CYS-106 Class Definition, Access Specifiers, Member Initializer Lists, and const Correctness Module: Classes, Objects, Encapsulation & Data Abstraction • Theoretical Foundations & Formal Models Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 Mins 1. Pedagogical Abs...
Lecture 2: Deep Copy vs Shallow Copy: Copy Constructors and Copy Assignment Operators (Rule of Three/Five)
CYS 106 • Chapter 2 • Lecture 2 CCMAS: CCMAS-CYS-106 Deep Copy vs Shallow Copy: Copy Constructors and Copy Assignment Operators (Rule of Three/Five) Module: Classes, Objects, Encapsulation & Data Abstraction • Worked Technical Scenarios & Lab Protocols Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 Mins 1. P...
Formative Assessment: Classes, Objects, Encapsulation & Data Abstraction
Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Classes, Objects, Encapsulation & Data Abstraction.
Lecture 1: The RAII Idiom: Managing Socket Handles, File Descriptors, and Heap Buffers Safely
CYS 106 • Chapter 3 • Lecture 1 CCMAS: CCMAS-CYS-106 The RAII Idiom: Managing Socket Handles, File Descriptors, and Heap Buffers Safely Module: Constructors, Destructors & Resource Acquisition Is Initialization (RAII) • Theoretical Foundations & Formal Models Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 Mi...
Lecture 2: Pointer Mechanics: Addresses, Dereferencing, Void Pointers, and Function Pointers
CYS 106 • Chapter 3 • Lecture 2 CCMAS: CCMAS-CYS-106 Pointer Mechanics: Addresses, Dereferencing, Void Pointers, and Function Pointers Module: Constructors, Destructors & Resource Acquisition Is Initialization (RAII) • Worked Technical Scenarios & Lab Protocols Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45...
Formative Assessment: Constructors, Destructors & Resource Acquisition Is Initialization (RAII)
Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Constructors, Destructors & Resource Acquisition Is Initialization (RAII).
Lecture 1: Dynamic Memory: new, delete, new[], delete[], and Memory Fragmentation Issues
CYS 106 • Chapter 4 • Lecture 1 CCMAS: CCMAS-CYS-106 Dynamic Memory: new, delete, new[], delete[], and Memory Fragmentation Issues Module: Pointers, Pointer Arithmetic, References & Dynamic Heap Management • Theoretical Foundations & Formal Models Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 Mins 1. Pedago...
Lecture 2: Inheritance Mechanics: Access Modifiers, Constructor Chaining, and Diamond Problem Virtual Base Classes
CYS 106 • Chapter 4 • Lecture 2 CCMAS: CCMAS-CYS-106 Inheritance Mechanics: Access Modifiers, Constructor Chaining, and Diamond Problem Virtual Base Classes Module: Pointers, Pointer Arithmetic, References & Dynamic Heap Management • Worked Technical Scenarios & Lab Protocols Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction...
Formative Assessment: Pointers, Pointer Arithmetic, References & Dynamic Heap Management
Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Pointers, Pointer Arithmetic, References & Dynamic Heap Management.
Lecture 1: Dynamic Dispatch: Virtual Functions, Vtables, Vptr Overwriting, and Object Slicing
CYS 106 • Chapter 5 • Lecture 1 CCMAS: CCMAS-CYS-106 Dynamic Dispatch: Virtual Functions, Vtables, Vptr Overwriting, and Object Slicing Module: Inheritance Hierarchies, Virtual Methods & Vtable Architecture • Theoretical Foundations & Formal Models Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 Mins 1. Pedag...
Lecture 2: Smart Pointers: std::unique_ptr, std::shared_ptr, std::weak_ptr Internal Reference Counting
CYS 106 • Chapter 5 • Lecture 2 CCMAS: CCMAS-CYS-106 Smart Pointers: std::unique_ptr, std::shared_ptr, std::weak_ptr Internal Reference Counting Module: Inheritance Hierarchies, Virtual Methods & Vtable Architecture • Worked Technical Scenarios & Lab Protocols Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 M...
Formative Assessment: Inheritance Hierarchies, Virtual Methods & Vtable Architecture
Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Inheritance Hierarchies, Virtual Methods & Vtable Architecture.
Lecture 1: Standard Template Library (STL): Vector, Map, String Safety and Iterator Invalidation
CYS 106 • Chapter 6 • Lecture 1 CCMAS: CCMAS-CYS-106 Standard Template Library (STL): Vector, Map, String Safety and Iterator Invalidation Module: Modern C++ Smart Pointers & Memory Leak Prevention • Theoretical Foundations & Formal Models Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 Mins 1. Pedagogical Ab...
Lecture 2: Stack Buffer Overflows: strcpy, strcat, gets Vulnerabilities and Frame Overwriting
CYS 106 • Chapter 6 • Lecture 2 CCMAS: CCMAS-CYS-106 Stack Buffer Overflows: strcpy, strcat, gets Vulnerabilities and Frame Overwriting Module: Modern C++ Smart Pointers & Memory Leak Prevention • Worked Technical Scenarios & Lab Protocols Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 Mins 1. Pedagogical Ab...
Formative Assessment: Modern C++ Smart Pointers & Memory Leak Prevention
Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Modern C++ Smart Pointers & Memory Leak Prevention.
Lecture 1: Integer Arithmetic Flaws: Signed/Unsigned Conversion, Wrap-Around, and Truncation Bugs
CYS 106 • Chapter 7 • Lecture 1 CCMAS: CCMAS-CYS-106 Integer Arithmetic Flaws: Signed/Unsigned Conversion, Wrap-Around, and Truncation Bugs Module: Anatomy of Memory Corruption: Buffer Overflows, Underflows & Type Confusion • Theoretical Foundations & Formal Models Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time:...
Lecture 2: Format String Vulnerabilities: printf Specifiers (%n, %p, %s) and Memory Disclosure
CYS 106 • Chapter 7 • Lecture 2 CCMAS: CCMAS-CYS-106 Format String Vulnerabilities: printf Specifiers (%n, %p, %s) and Memory Disclosure Module: Anatomy of Memory Corruption: Buffer Overflows, Underflows & Type Confusion • Worked Technical Scenarios & Lab Protocols Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time:...
Formative Assessment: Anatomy of Memory Corruption: Buffer Overflows, Underflows & Type Confusion
Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Anatomy of Memory Corruption: Buffer Overflows, Underflows & Type Confusion.
Lecture 1: Use-After-Free and Double Free: Dangling Pointers and Heap Allocation Corruptions
CYS 106 • Chapter 8 • Lecture 1 CCMAS: CCMAS-CYS-106 Use-After-Free and Double Free: Dangling Pointers and Heap Allocation Corruptions Module: Secure Coding Guidelines, Static Analysis & Compiler Sanitizers • Theoretical Foundations & Formal Models Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 Mins 1. Pedag...
Lecture 2: Defensive Engineering: AddressSanitizer (ASan), UndefinedBehaviorSanitizer (UBSan), and Clang-Tidy
CYS 106 • Chapter 8 • Lecture 2 CCMAS: CCMAS-CYS-106 Defensive Engineering: AddressSanitizer (ASan), UndefinedBehaviorSanitizer (UBSan), and Clang-Tidy Module: Secure Coding Guidelines, Static Analysis & Compiler Sanitizers • Worked Technical Scenarios & Lab Protocols Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Ti...
Formative Assessment: Secure Coding Guidelines, Static Analysis & Compiler Sanitizers
Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Secure Coding Guidelines, Static Analysis & Compiler Sanitizers.
Academic Ecosystem & Connected Pathways
Deepen your studies across connected learning pathways in the PAMCET academic network:
Instructor
PAMCET Learning Team
Institutional Course Curation · PAMCET
Qualifications:
PAMCET Learning Team — Institutional Course Curation, Digitpen Hub LtdMy Skills:
- Curriculum Curation
- Course Content Review
- Learning Outcome Design
- Course Publishing & Quality Assurance
- Platform Content Operations
Reviews
Course Includes
Download Syllabus & Study Guide
Receive the full lecture syllabus, reading list, and milestone schedule for CYS 106: Object-Oriented Programming in C++ & Secure Coding Concepts.
By submitting, you agree to receive educational updates. You can unsubscribe anytime. Read our Privacy Policy.

