LET OP: de hoorcolleges worden in het Engels gegeven
The course Programming Methods NA introduces Python as modern and easy to learn programming language. Next to programming, we also pay attention to the preparation of algorithms, such as sorting algorithms, and to principles from software engineering. In the last part of the lecture series, we examine the use of Python in a scientific context: performing numerical calculations, data processing and analysis, and creating high-quality plots. The course aims to provide every student with the basic principles and concepts of programming, including a "working knowledge" of Python. Students who have successfully completed this course will be able to use their own computer programs (Python or another language) in their further study career during classes or research.
This course enables students to:
prepare simple programs in an imperative programming language (Python)
deal with UNIX systems and Python development environments
explain and reproduce a number of simple algorithms (including sorting algorithms)
translate problems and your own solutions into Python code
prepare programs in a well-organized and structured way
work with data structures such as lists, dictionaries and arrays
describe the basic principles of object oriented programming and write a class yourself
use Python to perform numerical calculations with the help of NumPy
use Python for reading and writing files
use Python to create neat plots based on calculated and/or experimentally determined results, using NumPy and matplotlib
use extensions (modules) developed by others.
Mode of instruction
Lectures 2 hours, lab sessions 2 hours. Some self study will be necessary.
Exam (2/3 of grade)
Programming assignments (1/3 of grade)
The exam and every single assignment must be completed with a grade of at least 5.5.
Relevant literature, current information, announcements, lecture slides, assignments, and additional material can be found on blackboard.