COMP 204 Winter 2019: Lecture schedule and material

Note: Slides will become available as class goes.

Lecture Date    Topic Material
1 07-01 Introduction Slides (01/08/2019)
2 09-01 What is a computer: CPU, RAM, storage, communication. Binary numbers, instructions Slides (01/09/2019)
3 11-01 Python programming: What is code? How write code? How to run it? Basic programs Slides (01/11/2019)
4 14-01 Python programming: variables and types. Program execution. Slides (01/14/2019). Python source files
5 16-01 Python programming: Control flow: conditionals, boolean expressions Slides (01/16/2019). Python source files.
17-01 Assignment 1 posted at 12:00 AM Access via myCourses
6 18-01 Python programming: Loops Slides (01/21/2019). Python source files.
7 21-01 Python programming: More loops, nested loops Slides (01/21/2019). Python source files.
8 23-01 Python programming: Lists Slides (01/23/2019). Python source files.
9 25-01 Python programming: for loops on Lists Slides (01/25/2019). Python source files.
10 28-01 Two programming examples: (1) clinical trial; (2) mutation histogram Slides (01/28/2019). Python source files.
11 30-01 Python programming: Functions I Slides (01/30/2019). Python source files.
01-02 Assignment 1 due at 23:59 Submit via myCourses
12 01-02 Python programming: Functions II - arguments, scope Slides (01/26/2019). Python source files.
13 04-02 Program execution: Dictionaries, sequence alignment intro (A2) Slides (02/04/2019). Python source files.
05-02 Assignement 2 posted at 12:00 AM Submit via myCourses
14 06-02 Python programming: sequence alignment examples (A2), more dictionaries Slides (02/06/2019). Python source files.
15 08-02 Python programming: Sets, commenting code, bugs, exceptions Slides (02/08/2019). Python source files.
16 11-02 Python programming: Exceptions handling continued Slides (02/11/2019). Python source files.
17 13-02 Review Session: Practice Midterm Questions Slides (02/13/2019). Python source files.
18 15-02 Algorithm design: Linear and Binary Search Slides (02/15/2019). Python source files.
19 18-02 Algorithm design: Selection and Insert Sort Slides (02/18/2019). Python source files.
19-02 Assignement 2 due at 23:59 Submit via myCourses
20 20-02 Python programming: File IO (*updated slides on Feb 22*) Slides (02/22/2019). Python source files. Data files.
05-02 Assignement 3 posted at 12:00 AM Access via myCourses
22-02 Midterm exam: Time: 18:30-20:00; Location: LEA 219
21 22-02 Using libraries: FileIO review & Data visualization with MatPlotLib (part one) Slides (02/22/2019). Python source files.
22 25-02 Python programming: More File IO & A bus simulation program Slides (02/25/2019). Python source files.
23 27-02 Python programming: Regular Expression Slides (02/27/2019). Python source files.
24 01-03 Introduction to object-oriented programming Slides (03/01/2019). Python source files.
Read break week (March 4 - March 8)
25 11-03 Object-oriented programming - Part II Slides (03/11/2019). Python source files.
26 13-03 Object-oriented programming: inheritance Slides (03/13/2019). Python source files.
27 15-03 Sequence Analysis using BioPython Jupyter notebook nbviewer (03/15/2019). Jupyter notebook source file.
15-03 Assignement 4 posted at 12:00 Access via myCourses
15-03 Assignement 3 due at 23:59 Submit via myCourses
28 18-03 Notions of machine learning Slides (03/18). Jupyter notebook nbviewer. Jupyter notebook source file. MNIST dataset
29 20-03 Logistic regression. Intro to machine learning with scikit-learn (part 1) Slides (03/19). Jupyter notebook nbviewer. Jupyter notebook source file. Logistic regression (class notes). A good Python tutorial on LR
30 22-03 Intro to machine learning with scikit-learn (part 2) Slides (03/16).
31 25-03 Intro to machine learning with scikit-learn (part 3) Slides (03/16). Python source files.
32 27-03 Intro to image analysis with scikit-image (part one) Slides. Python source files.
33 29-03 Intro to image analysis with scikit-image (part two) Slides. Python source files.
29-03 Assignement 4 due at 23:59 Submit via myCourses
34 01-04 Intro to image analysis with scikit-image (part three) Slides. Python source files.
35 03-04 Review session #1 Slides.
36 05-04 Review session #2
37 08-04 Review session #3

Additional matieral we will not cover in the course but you may find useful as a programmer.

OPTIONAL TOPIC Python programming: Internet IO Slides
OPTIONAL TOPIC The Standard Library Slides
OPTIONAL TOPIC Advanced Python: Generators, Decorators, and Context Managers Slides