Skip to main content
B.Sc. DegreeFaculty of Faculty of Computing & Information TechnologyCyber Security

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,...

Instructor
Created by PAMCET Learning Team
beginner1 - 2 weeksEnglish

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-certificate
Lecture Board & Syllabus

Course Curriculum

Browse complete theoretical foundations, worked calculations, laboratory protocols, and board assessment questions under each topic.

Launch Course Reader →
8 Chapters
•
16 Lecture
•
12h
Subtopic 1Document LectureOpen Access~28 min read

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...

Module 1 • Subtopic 1•23,445 characters of authentic academic content
Subtopic 2Document Lecture

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...

Module 1 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: C++ Fundamentals, Memory Model & Structured Program Execution

Assessment Protocol:10 Total Points•70% Passing Threshold•15 Mins Time Limit•Bloom's Taxonomy: Analyze & Evaluate

Formative knowledge check evaluating core concepts, security invariants, and analytical skills for C++ Fundamentals, Memory Model & Structured Program Execution.

Module 1 • Formative Assessment
Subtopic 1Document Lecture

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...

Module 2 • Subtopic 1
Subtopic 2Document Lecture

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...

Module 2 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: Classes, Objects, Encapsulation & Data Abstraction

Assessment Protocol:10 Total Points•70% Passing Threshold•15 Mins Time Limit•Bloom's Taxonomy: Analyze & Evaluate

Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Classes, Objects, Encapsulation & Data Abstraction.

Module 2 • Formative Assessment
Subtopic 1Document Lecture

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...

Module 3 • Subtopic 1
Subtopic 2Document Lecture

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...

Module 3 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: Constructors, Destructors & Resource Acquisition Is Initialization (RAII)

Assessment Protocol:10 Total Points•70% Passing Threshold•15 Mins Time Limit•Bloom's Taxonomy: Analyze & Evaluate

Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Constructors, Destructors & Resource Acquisition Is Initialization (RAII).

Module 3 • Formative Assessment
Subtopic 1Document Lecture

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...

Module 4 • Subtopic 1
Subtopic 2Document Lecture

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...

Module 4 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: Pointers, Pointer Arithmetic, References & Dynamic Heap Management

Assessment Protocol:10 Total Points•70% Passing Threshold•15 Mins Time Limit•Bloom's Taxonomy: Analyze & Evaluate

Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Pointers, Pointer Arithmetic, References & Dynamic Heap Management.

Module 4 • Formative Assessment
Subtopic 1Document Lecture

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...

Module 5 • Subtopic 1
Subtopic 2Document Lecture

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...

Module 5 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: Inheritance Hierarchies, Virtual Methods & Vtable Architecture

Assessment Protocol:10 Total Points•70% Passing Threshold•15 Mins Time Limit•Bloom's Taxonomy: Analyze & Evaluate

Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Inheritance Hierarchies, Virtual Methods & Vtable Architecture.

Module 5 • Formative Assessment
Subtopic 1Document Lecture

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...

Module 6 • Subtopic 1
Subtopic 2Document Lecture

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...

Module 6 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: Modern C++ Smart Pointers & Memory Leak Prevention

Assessment Protocol:10 Total Points•70% Passing Threshold•15 Mins Time Limit•Bloom's Taxonomy: Analyze & Evaluate

Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Modern C++ Smart Pointers & Memory Leak Prevention.

Module 6 • Formative Assessment
Subtopic 1Document Lecture

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:...

Module 7 • Subtopic 1
Subtopic 2Document Lecture

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:...

Module 7 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: Anatomy of Memory Corruption: Buffer Overflows, Underflows & Type Confusion

Assessment Protocol:10 Total Points•70% Passing Threshold•15 Mins Time Limit•Bloom's Taxonomy: Analyze & Evaluate

Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Anatomy of Memory Corruption: Buffer Overflows, Underflows & Type Confusion.

Module 7 • Formative Assessment
Subtopic 1Document Lecture

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...

Module 8 • Subtopic 1
Subtopic 2Document Lecture

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...

Module 8 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: Secure Coding Guidelines, Static Analysis & Compiler Sanitizers

Assessment Protocol:10 Total Points•70% Passing Threshold•15 Mins Time Limit•Bloom's Taxonomy: Analyze & Evaluate

Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Secure Coding Guidelines, Static Analysis & Compiler Sanitizers.

Module 8 • Formative Assessment

Instructor

PAMCET Learning Team

PAMCET Learning Team

Institutional Course Curation · PAMCET

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.

Qualifications:

PAMCET Learning Team — Institutional Course Curation, Digitpen Hub Ltd

My Skills:

  • Curriculum Curation
  • Course Content Review
  • Learning Outcome Design
  • Course Publishing & Quality Assurance
  • Platform Content Operations

Reviews

No reviews available
CYS 106: Object-Oriented Programming in C++ & Secure Coding Concepts
Free$24.99100% Off
Certificate available separately for $7 after completion

Course Includes

8 Chapters
16 Lectures
1 - 2 weeks
Skill Level beginner
Taught in English
Lifetime Access
Certification of Completion
Category: University - Cyber Security
Share On

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.