Unit 2
Sep 29th: Introduction to programming, algorithms, think and express and algorithm, first steps with python.
Oct 1st: python terminal, differences between binary and text files, bits and bytes/hex digits representations, encoding (one-to-one mapping), int and float types (sketch)
Oct 6th: modeling problems with graphs (Königsberg's bridges, traveling salesman problem), int, float, strings, functions, print, input
Oct 8th: importing modules, variables in function scope, if statement and importance of the indentation, exercises.
Oct 13th: exercise solutions and discussion, max function, or and and operators oddities, tuples, lists, sort/sorted, reverse/reversed, list element selection, and slicing, addition (append/insert) and removal (del/pop).
Oct 15th: lists, tuples, strings, for and while loops, exercises.
Oct 20th: first optional HW assignment, for on lists and strings. Looping with the position of the elements (indexes with range function) or with the elements.
Oct 22th: structure of a program, counting the elements of a list, efficiency of solutions.
Oct 27th: HW assignment 2, dictionaries, list sorting, introduction to lambda functions.
Nov 3rd: dictionaries, sorting, file operations
Nov 5th: dictionaries, sorting functions (lambda), file operations, json files
Nov 10th: sorting functions, file reading, and writing, removing elements from a list while scanning, dictionaries of dictionaries (nested dictionaries)
Nov 12th: HW2-req solutions overview and discussion, HW4-req description and discussion, introduction to matrices as lists of lists (nested lists)
Nov 17th: working with nested lists, matrices and images.
Nov 19th: working with nested lists, images.
Nov 24th: HW-req description and discussion, images and classes.
Nov 26th: images (follow the line, iterative/recursive), classes (matrix)
Dec 1st: image ex15, recursion
Dec 3rd: permutations, recursion on lists, trees, binary trees implemented via the BNode class
Dec 10th: HW8-req, review of binary trees, n-ary trees.
Dec 15th: HW8-req, exam simulation
Dec 17th: HW8-req, small recap about slicing, dictionaries, exercises with sets, lists, strings and os library