Informatics 2 syllabus#
Contemporary usage of Python
4 SWS, 5 ECTS, in degree program LSI Master and ICS
Intended learning outcomes#
The purpose of the course is for you (the student) to learn to:
outline fundamental features of the Python programming language
understand the advantages of object-oriented and functional programming
know different request types to access web resources
list useful libraries from the standard library
implement programs for string processing
leverage the interactive interpreter for short computing tasks
use object-oriented programming to breakdown a program into classes
use functional programming to write shorter code
implement programs for interacting with web APIs
carry out simple image processing tasks
leverage Numpy to conveniently work with matrices
use an unknown library by reading its documentation
cooperate in a pair programming setting
evaluate someone else’s work and give constructive feedback (e.g., in context of peer-assessed exercises)
Computer science fundamentals (e.g., information, hardware, software, operating systems, shells, algorithms)
Fundamental programming tools (e.g, control flow, data structures, functions)
Content (what we do to reach the learning outcomes)#
Most of the contents are based on the course CS41: The Python Programming Language from Stanford University.
Variables and types
Numbers and Booleans
Strings and lists
errors and exceptions
easier to ask for forgiveness than permission (EAFP) vs look before you leap (LBYL)
exceptions as classes
namespaces and scope
iterators and generators
Python & the Web:
working with images
creating a web interface for your app using Flask library
what is a matrix?
why are matrices useful?
axes and shapes
parameter fitting example
Standard library and third-party libraries
To reach the learning outcomes we will use the following didactic methods:
Written exam 90 min.
The examination is based on the intended learning outcomes.
Lecture videos in THD’s Moodle
alternatively: Stanfordpython course reader
Slides that accompany the videos. These are tailored for discussions during the class.
Exercise notebooks in THD’s Moodle
Time & Room#
This course takes place only in summer semester. For time and room refer to Thabella LSI-2.