Python programmering


Semesterangivelse: Forår og Efterår Kurset udbydes i blok 1

 


Udgave: Efterår 2012 Sund
ECTS points: 5 på eksamen
Blokstruktur: 1. blok

Semester:

1. semester, kandidat
Institutter: Det Naturvidenskabelige Fakultet, Biologisk Institut
Studieordning: 2011 kandidatstudieordningen
Kontaktpersoner: Kursusleder: Thomas Wim Hamelryck , email:thamelry @ binf.ku.dk
Undervisnings- form: Lectures and exercises mixed (6-9 hours per week)
Formål: Solve programming tasks in Python. This language was chosen for several reasons: It is a scripting language, making it very effective for solving minor everyday tasks. Compared to other scripting languages, it has the advantage of being fundamentally object oriented. Together with a strict syntax this improves readability and maintainability of programs and makes it well-suited for larger applications. Even for computationally demanding tasks, Python is often used as a main language combined with a low-level language such as C for time-consuming parts of the program, which can then be included in python as external modules. Finally, the growing amount of external modules available for solving various scientific tasks in Python gives the programmer a valuable toolkit when confronted with new problems. The general structure of the course is as follows. We have 6 hours per week of mandatory lectures and hands-on exercises. Additionally we offer an additional exercise session that is strictly optional. Students need to have attended all lectures in order to qualify for the final exam. Indhold: programming basics, data types, object oriented programming, regular expressions, recursive data types/functions, computational complexity, basic algorithms for searching and sorting. Se detaljeret kursus- og eksamensbeskrivelse samt indtegningsbetingelser i den aktuelle studieordning
Indhold: To perfectly comply with the course requirements: • The student should be able to solve small to medium sized programming tasks in Python. In particular, in the hand-in exercises, the student should demonstrate: o a good overview of the various data-types in Python o detailed knowledge of conditionals and loops, and be able to explain how loops relate to the complexity of a program o a clear understanding of the concepts of function and module, and how these tools should be used to structure code. o a good overview of Object Oriented programming, and appropriate use of classes and objects. o a clear understanding of regular expressions, and their role in pattern matching. o an understanding of how to handle errors in a program o ability to find and understand online information about external Python modules, and use this to solve a specified task.
Kursus hjemmeside:
Sidst redigeret: 19/9-2012



Københavns Universitet