PYTHON

Course Title: Introduction to Python Programming

Course Summary:

This course serves as an introduction to the Python programming language for individuals with little or no prior coding experience. Participants will learn the fundamental concepts of Python, focusing on its readability, simplicity, and versatility. Through hands-on exercises and practical examples, students will gain proficiency in Python's syntax, data structures, and basic programming constructs, preparing them for further exploration in the world of software development and data science.

Syllabus:

Week 1-2: Introduction to Python

  • Overview of Python and its applications
  • Setting up the Python development environment (IDEs, Jupyter Notebooks)
  • Basic Python syntax and structure
  • Variables, data types, and operators
  • Input and output in Python

Week 3-4: Control Flow in Python

  • Conditional statements: if, else, elif
  • Looping structures: for, while
  • Break and continue statements
  • Logical and relational operators

Week 5-6: Functions in Python

  • Introduction to functions
  • Function declaration and invocation
  • Parameters and return values
  • Lambda functions and built-in functions

Week 7-8: Python Data Structures

  • Lists, tuples, and sets
  • Dictionaries and their usage
  • Indexing and slicing in sequences
  • List comprehensions

Week 9-10: File Handling and Exception Handling in Python

  • Reading and writing files in Python
  • Handling exceptions and errors
  • Best practices for error handling

Week 11-12: Object-Oriented Programming in Python

  • Introduction to OOP concepts
  • Classes and objects in Python
  • Inheritance, encapsulation, and polymorphism
  • Exception handling in OOP

Week 13: Introduction to Python Libraries and Final Project

  • Overview of popular Python libraries (e.g., NumPy, Pandas)
  • Choosing and installing Python libraries
  • Final project: Building a simple application using Python
  • Project presentations and feedback

Assessment:

  • Weekly quizzes
  • Python coding assignments
  • Midterm examination
  • Final project and presentation

Grading:

  • Quizzes and Assignments: 40%
  • Midterm Examination: 20%
  • Final Project: 30%
  • Class Participation: 10%