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

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

Instructor
Created by PAMCET Learning Team
beginner1 - 2 weeksEnglish

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

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

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

Module 1 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: Python Language Architecture, Interpreters & Basic Syntax

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 Python Language Architecture, Interpreters & Basic Syntax.

Module 1 • Formative Assessment
Subtopic 1Document Lecture

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

Module 2 • Subtopic 1
Subtopic 2Document Lecture

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

Module 2 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: Control Structures: Conditionals, Loops & Exception Handling

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 Control Structures: Conditionals, Loops & Exception Handling.

Module 2 • Formative Assessment
Subtopic 1Document Lecture

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

Module 3 • Subtopic 1
Subtopic 2Document Lecture

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

Module 3 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: Functions, Scope, Modules & Package 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 Functions, Scope, Modules & Package Management.

Module 3 • Formative Assessment
Subtopic 1Document Lecture

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

Module 4 • Subtopic 1
Subtopic 2Document Lecture

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

Module 4 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: Advanced Data Structures: Lists, Dictionaries, Sets & Comprehensions

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 Advanced Data Structures: Lists, Dictionaries, Sets & Comprehensions.

Module 4 • Formative Assessment
Subtopic 1Document Lecture

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

Module 5 • Subtopic 1
Subtopic 2Document Lecture

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

Module 5 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: String Processing & Regular Expressions for Security Analysis

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 String Processing & Regular Expressions for Security Analysis.

Module 5 • Formative Assessment
Subtopic 1Document Lecture

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

Module 6 • Subtopic 1
Subtopic 2Document Lecture

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

Module 6 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: File System I/O: Text, Binary & Structured Formats (JSON/CSV)

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 File System I/O: Text, Binary & Structured Formats (JSON/CSV).

Module 6 • Formative Assessment
Subtopic 1Document Lecture

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

Module 7 • Subtopic 1
Subtopic 2Document Lecture

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

Module 7 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: Introduction to Object-Oriented Programming in Python

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 Introduction to Object-Oriented Programming in Python.

Module 7 • Formative Assessment
Subtopic 1Document Lecture

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

Module 8 • Subtopic 1
Subtopic 2Document Lecture

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

Module 8 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: Network Sockets & Python Security Scripting Foundations

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 Network Sockets & Python Security Scripting Foundations.

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 107: Programming Fundamentals in Python
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 107: Programming Fundamentals in Python.

By submitting, you agree to receive educational updates. You can unsubscribe anytime. Read our Privacy Policy.