OPS435 Python Weekly Schedule 2019 Winter

From CDOT Wiki
Jump to: navigation, search

Instructors:

  • Raymond Chan

Note: Each OPS435 section may have a different due dates for labs, tests and assignments.
This schedule is considered to be a general guideline for week-by-week content.

OPS435 Weekly Task Update
week Topics Reading/Reference Tasks/Labs
1: Jan 7-11 Course Overview
  • Introduction
  • Why Python?
  • Languate: natural & formal

Python Environment

  • Concepts:
    1. keywords
    2. builtins
  • Python Shell:
    1. help()
    2. dir()
    3. type()
    4. import
  • Think Python: Chapter 1
    • What is a program?
    • Input, process (sequence, looping, repetition), output
    • complier, interpreter
    • Debugging
  • Automate with Python: Chapter 1 & 2
    • Python Basics
    • Flow Control
2:Jan 14-18 Python Basics:
  • Objects
  • Variables
  • Operations
  • Built-in Functions
  • Think Python: Chapter 2
    • Variable, expressions and statements
    • Script mode and interactive mode
    • Python math operators and order of operations
    • String operation '+' and '*'
  • Automate with Python: Chapter 3 & 4
    • Functions
    • Lists
3:Jan 21-25 Reusing Python Code:
  • Functions
  • Lists
  • Think Python: Chapter 3 Functions
    • Function calls
    • Adding new functionse
    • Definitions and usess
    • Flow of execution
    • Parameters and arguments
    • Variables and parameters
    • Fruitful functions and void functions
  • Automate with Python: Chapter 5 & 6
    • Dictionaries and structuring data
    • Manipulating Strings
4:Jan 28-Feb 1 Basic Data Structures and String Manipulation:
  • Tuples
  • Lists
  • Sets
  • Dictionaries
  • Strings
  • Think Python: Chapter 5 Conditionals and recursion
    • Boolean expression
    • Logical operators
    • Conditional execution
    • Alternative execution
    • Chained conditionals
    • Nested conditionals
    • Recursion
    • Infinite recursion
    • Keyboard Input
  • Automate with Python: Chapter 7 & 8
    • Regular Expressions
    • Reading and Writing Files
5:Feb 4-8 Files, Exceptions:
  • File Handling
  • Error Handling
  • Think Python: Chapter 14 - Files
    • Reading and writing
    • Format operator
    • Filenames and paths
    • Catching exception
    • Databasess
    • Picking
    • Pipes
    • Writing modules
  • Automate with Python: Chapter 9 & 10
    • Organizing Files
    • Debugging
6:Feb 11-15 Review and Catch up
7:Feb 18-22 Mid-Term Test
  • This week.
  • Topics: Lab 1 to Lab 5 and All topics covered from week 1 to week 5
Catch up
Break Week:
Feb 25-Mar 1
8:Mar 4-8 Classes:
  • Components of a class
  • Classes and objects
  • Think Python: Chapter 15 - Classes and objects
    • Programmer-defined types
    • Attributes
    • Instances and return values
    • Objects are mutable
    • Copying
9:Mar 11-15 Classes:
  • Designing classes
  • Think Python: Chapter 16 - Classes and functions
    • Pure functions
    • Modifiers
    • Prototyping versus planning
10:Mar 18-22 Classes:
  • Understanding scope
  • Think Python: Chapter 17 - Classes and methods
    • The init method
    • The __str__methond
    • Operator overloading
    • Type-based dispatch
    • Polymorphism
11:Mar 25-29 Configuration management:
  • Fabric
  • Ansible
12:Apr 1-5 Python Networking
  • Network Client
  • Network Server
  • Asynchronous Python Networking
13:Apr 8-12 Exam Review
Exam Week:
Apr 15-19