Python Programming –Course Outline
Weeks 1–2: Course Foundations
Week 1 – Introduction & Setup
● What is Python?
● Why Python? Real-world applications
● Installing Python
● IDEs overview (VS Code / IDLE)
● Running Python scripts
● First program: Hello World
Lab:
Create and run first Python program
Week 2 – Data Types & Variables
● Numbers, strings, booleans
● Variables and naming rules
● Type conversion
● Input/output (input(), print())
Lab:
Simple calculator using user input
Weeks 3–4: Operators & Decision Making
Week 3 – Operators & Expressions
● Arithmetic operators
● Assignment operators
● Comparison operators
● Logical operators
● Operator precedence
Lab:
Expressions and condition testing
Week 4 – Control Flow: Selection
● if statement
● if-else
● Nested conditions
● Ternary expressions
Lab:
Grade calculator using conditions
Weeks 5–6: Loops & Iteration
Week 5 – Control Flow: Loops
● for loop
● while loop
● break and continue
● else with loops
Lab:
Number series and menu-based programs
Week 6 – for Loops with Lists & range()
● Looping through lists
● range() function
● Index vs value
● in keyword
Lab:
List traversal and pattern printing
Weeks 7–8: Data Structures & Midterm
Week 7 – Lists & Tuples
● List creation
● Indexing and slicing
● List methods (append, insert, remove, pop, sort)
● Tuples and immutability
Lab:
List-based data processing
Week 8 – Review & Midterm
● Review of weeks 1–7
● Midterm exam
● Project idea discussion
Weeks 9–10: Advanced Data & Functions
Week 9 – Dictionaries & Sets
● Dictionaries (key-value pairs)
● Accessing, adding, removing data
● Sets and uniqueness
● Basic set operations
Lab:
Student records using dictionaries
Week 10 – Functions & Modules
● Defining functions
● Parameters & return values
● Default & keyword arguments
● Basic recursion
● Importing modules
Lab:
Utility functions + using math module
Weeks 11–12: Files, Errors & Strings
Week 11 – File Handling & Exception Handling
● Opening and closing files
● Read/write/append modes
● try, except, finally
● File-based programs
Lab:
File-based student record system
Week 12 – String Processing & Libraries
● String methods
● String slicing
● Parsing text data
● Using math, random libraries
Lab:
Text analyzer and random data generator
Weeks 13–14: OOP & Project Development
Week 13 – Introduction to OOP
● Classes and objects
● Attributes and methods
● Constructors ( init )
● Simple inheritance
Lab:
OOP-based student and bank examples
Week 14 – Project Development & Debugging
● Designing small Python applications
● Debugging techniques
● Code documentation
● Testing strategies
Lab:
Finalize project structure
Weeks 15–16: Finalization
Week 15 – Project Presentations
● Student project demonstrations
● Peer review
● Code walkthroughs
Week 16 – Final Exam & Course Wrap-Up
● Final exam
● Course summary
● Career paths discussion (Web, Data, Automation)