358x Filetype PDF File size 0.16 MB Source: student.portal.chalmers.se
DAT171 Object oriented programming in Python
◮ Prerequisites: Fundamental knowledge in programming;
variables, conditionals, loops, and functions in any
programming language.
◮ Course literature: Book Python for everyone or/and free online
material and interactive and comprehensive lecture notes.
◮ Course is given in English
◮ 2 lectures per week
◮ 3 tutored computer sessions per week
◮ 3 computer assignments, done in groups of two (3.0hp)
◮ Computer exam (determines total course grade) (4.5hp)
◮ Lecturers:
◮ Thomas Svedberg, thomas.svedberg@chalmers.se
◮ Mikael Öhman, mikael.ohman@chalmers.se
Examination
◮ 3 mandatory computer assignments where you will:
◮ Use IPython + NumPy + SciPy + Matplotlib (as a
MATLAB-replacement)
◮ write your own data structures with the use of classes
◮ write your own modules/libraries
◮ write an interactive program with graphical user interface
◮ Final exam
◮ is given in a computer room with the same setup as you have
used during the computer assignments
◮ consists of 4 questions
◮ no internet, but the book, the lecture material, and all the
reference manuals are available (digitally)
Why Python?
◮ A proper programming language
◮ Libraries/modules
◮ Namespaces
◮ Coherent syntax
◮ Can create stand-alone applications
◮ Can be run interactively, simple syntax and debugging
◮ Multiple programming paradigms; object oriented, functional...
◮ Used as a scripting language for many applications
(e.g. Abaqus, Salome, Autodesk)
◮ Many libraries written in other languages export bindings to
Python (e.g. OpenFOAM, tensorflow, OpenCV)
◮ Works equally well for creating applications as well as for
automating small tasks with scripts
Why should you take this course?
◮ Most of the concepts taught will be equally applicable to many
other programming languages.
◮ Java, C++, C#, Javascript, Ruby, Go, Julia, etc.
◮ Many of the concepts taught are useful in basically any
programming language
◮ Can help you in any field where you use a computer
◮ Scientific computing, robotics, machine learning, statistics, ...
◮ App/game/web development
◮ Task automation/macros
◮ Alumni poll requests more programming
no reviews yet
Please Login to review.