|The course gives students who do not have experience with programming, a first introduction and basic skills in (mainly imperative) programming and scripting, using Python 3.|
The student can solve simple programming problems independently, and structure these in the language Python. Most of the learned principles can be applied to other computer languages used in data science (e.g. R) as well.
We are planning on using "How to think like a computer scientist: Learning with Python 3" (subject to change), currently available online free of charge. A blend of other articles, class notes and/or material may be used.
Student who want an additional 'paper' book to read up on several Python programming topics, may consider Python Programming: An introduction to computer science by John Zelle (2nd edition; a 3rd edition is planned later in 2016). The course is not dependent on that book though.
- Expressions, assignment, statements
- Basic datatypes
- Control structures (e.g. conditional execution, loops)
- Using and defining functions
- Lists / composite datatypes (e.g. dictionaries, tuples)
- Files, text I/O
- Exceptions, assertions
- Basic knowledge of objects and methods
Type of instructions(2 hour) Lectures and (2/3 hours) labs
Type of examsWritten exam and practical assignments
- A blend of research articles, class notes, and material from reference books will be used in this course..