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 107: Programming Fundamentals in Python
Comprehensive introduction to imperative and structured programming using Python, engineered specifically for cybersecurity applications. Covers variables, data types, control flow structures, functions, variable scope, string parsing, regular expres...
Course Overview
Comprehensive introduction to imperative and structured programming using Python, engineered specifically for cybersecurity applications. Covers variables, data types, control flow structures, functions, variable scope, string parsing, regular expres... Curriculum Structure &...
What You'll Learn
- Write modular, readable, PEP 8 compliant Python code utilizing functions, loops, and data structures.
- Construct regular expressions to extract IP addresses, URLs, email addresses, and timestamps from security log files.
- Implement basic TCP/UDP client-server socket communication scripts.
- Manipulate file streams to read, process, and hash raw files using standard cryptographic libraries.
- Identify security vulnerabilities in Python code such as insecure deserialization (pickle) and injection vectors.
Requirements
- Foundational academic standing in computing, mathematics, or science.
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: Python Execution Model: CPython, Bytecode Compilation, and the GIL
CYS 107 • Chapter 1 • Lecture 1 CCMAS: CCMAS-CYS-107 Python Execution Model: CPython, Bytecode Compilation, and the GIL Module: Python Language Architecture, Interpreters & Basic Syntax • Theoretical Foundations & Formal Models Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 Mins 1. Pedagogical Abstract &...
Lecture 2: Data Types, Dynamic Typing, Type Hinting, and Variables in Memory
CYS 107 • Chapter 1 • Lecture 2 CCMAS: CCMAS-CYS-107 Data Types, Dynamic Typing, Type Hinting, and Variables in Memory Module: Python Language Architecture, Interpreters & Basic Syntax • Worked Technical Scenarios & Lab Protocols Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 Mins 1. Pedagogical Abstract &am...
Formative Assessment: Python Language Architecture, Interpreters & Basic Syntax
Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Python Language Architecture, Interpreters & Basic Syntax.
Lecture 1: Branching Logic, Boolean Short-Circuiting, and Match-Case Statements
CYS 107 • Chapter 2 • Lecture 1 CCMAS: CCMAS-CYS-107 Branching Logic, Boolean Short-Circuiting, and Match-Case Statements Module: Control Structures: Conditionals, Loops & Exception Handling • Theoretical Foundations & Formal Models Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 Mins 1. Pedagogical Abstract...
Lecture 2: Defensive Error Handling: Try, Except, Else, Finally, and Custom Exceptions
CYS 107 • Chapter 2 • Lecture 2 CCMAS: CCMAS-CYS-107 Defensive Error Handling: Try, Except, Else, Finally, and Custom Exceptions Module: Control Structures: Conditionals, Loops & Exception Handling • 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: Control Structures: Conditionals, Loops & Exception Handling
Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Control Structures: Conditionals, Loops & Exception Handling.
Lecture 1: Modular Programming: Functions, Default Arguments, *args, **kwargs, and Closures
CYS 107 • Chapter 3 • Lecture 1 CCMAS: CCMAS-CYS-107 Modular Programming: Functions, Default Arguments, *args, **kwargs, and Closures Module: Functions, Scope, Modules & Package Management • Theoretical Foundations & Formal Models Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 Mins 1. Pedagogical Abstract &a...
Lecture 2: Virtual Environments (venv/poetry) and Securing the Python Supply Chain (pip-audit)
CYS 107 • Chapter 3 • Lecture 2 CCMAS: CCMAS-CYS-107 Virtual Environments (venv/poetry) and Securing the Python Supply Chain (pip-audit) Module: Functions, Scope, Modules & Package Management • Worked Technical Scenarios & Lab Protocols Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 Mins 1. Pedagogical Abstr...
Formative Assessment: Functions, Scope, Modules & Package Management
Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Functions, Scope, Modules & Package Management.
Lecture 1: Data Collections: Hash Tables (Dicts), Sets, Tuples, and Time Complexity Realities
CYS 107 • Chapter 4 • Lecture 1 CCMAS: CCMAS-CYS-107 Data Collections: Hash Tables (Dicts), Sets, Tuples, and Time Complexity Realities Module: Advanced Data Structures: Lists, Dictionaries, Sets & Comprehensions • Theoretical Foundations & Formal Models Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 Mins 1....
Lecture 2: Memory Optimization: Generators, Iterators, and Memory Profiling
CYS 107 • Chapter 4 • Lecture 2 CCMAS: CCMAS-CYS-107 Memory Optimization: Generators, Iterators, and Memory Profiling Module: Advanced Data Structures: Lists, Dictionaries, Sets & Comprehensions • 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: Advanced Data Structures: Lists, Dictionaries, Sets & Comprehensions
Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Advanced Data Structures: Lists, Dictionaries, Sets & Comprehensions.
Lecture 1: Regex Engine Mechanics: Matching, Quantifiers, Greedy vs Lazy, and Backtracking Risks
CYS 107 • Chapter 5 • Lecture 1 CCMAS: CCMAS-CYS-107 Regex Engine Mechanics: Matching, Quantifiers, Greedy vs Lazy, and Backtracking Risks Module: String Processing & Regular Expressions for Security Analysis • Theoretical Foundations & Formal Models Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 Mins 1. Ped...
Lecture 2: Log Parsing: Regex Extraction of Syslog, Apache Combined, and Windows Event Strings
CYS 107 • Chapter 5 • Lecture 2 CCMAS: CCMAS-CYS-107 Log Parsing: Regex Extraction of Syslog, Apache Combined, and Windows Event Strings Module: String Processing & Regular Expressions for Security Analysis • Worked Technical Scenarios & Lab Protocols Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 Mins 1. Pe...
Formative Assessment: String Processing & Regular Expressions for Security Analysis
Formative knowledge check evaluating core concepts, security invariants, and analytical skills for String Processing & Regular Expressions for Security Analysis.
Lecture 1: File Streams: Context Managers (with), Buffer Management, and Binary Analysis
CYS 107 • Chapter 6 • Lecture 1 CCMAS: CCMAS-CYS-107 File Streams: Context Managers (with), Buffer Management, and Binary Analysis Module: File System I/O: Text, Binary & Structured Formats (JSON/CSV) • Theoretical Foundations & Formal Models Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 Mins 1. Pedagogical...
Lecture 2: Serialization: Safe JSON Parsing vs Insecure Deserialization Hazards in Pickle
CYS 107 • Chapter 6 • Lecture 2 CCMAS: CCMAS-CYS-107 Serialization: Safe JSON Parsing vs Insecure Deserialization Hazards in Pickle Module: File System I/O: Text, Binary & Structured Formats (JSON/CSV) • Worked Technical Scenarios & Lab Protocols Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 Mins 1. Pedagog...
Formative Assessment: File System I/O: Text, Binary & Structured Formats (JSON/CSV)
Formative knowledge check evaluating core concepts, security invariants, and analytical skills for File System I/O: Text, Binary & Structured Formats (JSON/CSV).
Lecture 1: Object-Oriented Design: Encapsulation, Methods, Dunder Methods, and Inheritance
CYS 107 • Chapter 7 • Lecture 1 CCMAS: CCMAS-CYS-107 Object-Oriented Design: Encapsulation, Methods, Dunder Methods, and Inheritance Module: Introduction to Object-Oriented Programming in Python • Theoretical Foundations & Formal Models Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 Mins 1. Pedagogical Abstr...
Lecture 2: Python Standard Library Security Modules: hashlib, secrets, os, and sys
CYS 107 • Chapter 7 • Lecture 2 CCMAS: CCMAS-CYS-107 Python Standard Library Security Modules: hashlib, secrets, os, and sys Module: Introduction to Object-Oriented Programming in Python • Worked Technical Scenarios & Lab Protocols Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 Mins 1. Pedagogical Abstract &...
Formative Assessment: Introduction to Object-Oriented Programming in Python
Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Introduction to Object-Oriented Programming in Python.
Lecture 1: Socket Programming: AF_INET, SOCK_STREAM, Bind, Listen, Accept, and Connect
CYS 107 • Chapter 8 • Lecture 1 CCMAS: CCMAS-CYS-107 Socket Programming: AF_INET, SOCK_STREAM, Bind, Listen, Accept, and Connect Module: Network Sockets & Python Security Scripting Foundations • Theoretical Foundations & Formal Models Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 Mins 1. Pedagogical Abstrac...
Lecture 2: Building a Custom Network Port Scanner and Banner Grabber in Pure Python
CYS 107 • Chapter 8 • Lecture 2 CCMAS: CCMAS-CYS-107 Building a Custom Network Port Scanner and Banner Grabber in Pure Python Module: Network Sockets & Python Security Scripting Foundations • Worked Technical Scenarios & Lab Protocols Level: 100L Credits: 3 CU Discipline: Computing Foundations Thread: Programming & Software Construction Study Time: 45 Mins 1. Pedagogical Abstrac...
Formative Assessment: Network Sockets & Python Security Scripting Foundations
Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Network Sockets & Python Security Scripting Foundations.
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 107: Programming Fundamentals in Python.
By submitting, you agree to receive educational updates. You can unsubscribe anytime. Read our Privacy Policy.

