Lecture Presentations 2018a
Class No. Date Slides Code + additional material Updated Topics
1 oct 22 PDF
PDF
Executions in class:
txt
22/10 12:30 Course administration


Python basics
2 Oct 25 PDF PY
Executions in class:
txt
Python basics (conditionals, iteration, lists)
3 oct 28 PDF PY PY
Executions in class:
txt
5/11 18:00
(fixed animation on slides 54-7)
More on strings and lists, functions, Python's memory model
4 Nov 1 PDF PY 1/11 12:30 more on functions and the memory model
5 Nov 5 PDF 5/11 18:00 Binary representation of numbers

Exponentiation: Naive vs. iterated squaring (slides in lec. 6)
6 Nov 8 PDF

PDF
PY PY

PY
Exponentiation: Naive vs. iterated squaring



Basic algorithms: Binary search
7 Nov 12 PDF PY PY Basic algorithms (cont.): Selection sort, merging sorted lists;
Crash intro to complexity
8 14 Nov PDF PY Complexity (cont.) ;
Lambda expressions and high order functions, numeric derivatives and integrals
9 19 Nov PDF PY Floating Point Numbers; Finding Roots of Real Valued Functions: The Newton Raphson Method.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License