BB1000 Programming in Python 7.5 credits

Programmering i Python

This course is an introductory course in programming based on the Python programming language.  It incorprates some of the best practises from professional programming environments aimed at students in scientific and technical fields.

  • Educational level

    First cycle
  • Academic level (A-D)

  • Subject area

    Technology
  • Grade scale

    A, B, C, D, E, FX, F

Course offerings

Spring 18 for programme students

Spring 17 for programme students FULL

Intended learning outcomes

As a result of attending and passing the course a student will be able to

  • Write well-structured modular programs in Python
  • Write programs that fulfil community standards
  • Use test-driven development principles for programming.
  • Use modern version control for program development in teams.
  • Use external libraries in their programs.
  • Work with files: read, write and analyze data
  • Analyze programs by debugging, profiling and optimization.

Course main content

  • Basic syntax in Python, data structures and program flow.
  • Structuring of programs with functions and modules
  • Version control with git
  • Object-oriented programming with classes
  • Methods of testing for Python development
  • Python libraries for computation and plotting
  • Advanced structures and concepts in Python.

Disposition

Eligibility

The upper-secondary school before 1 July 2011 and adult education at upper-secondary level before 1 July 2012

Specific entry requirements: mathematics E, physics B and chemistry A. In each of the subjects the grade required is Passed or 3.

The upper-secondary school from 1 July 2011 and adult education at upper-secondary level from 1 July 2012 (Gy2011)

Specific entry requirements: Physics 2, Chemistry 1 and Mathematics 4. In each of the subjects the minimum grade required is Pass.

Recommended prerequisites

Basic computer skills. The labs will be carried out in classrooms with Windows-based workstations.

Literature

* Lecture slides and lab material.

* A list of optional recommended literature is given at the start of the course.

Required equipment

Examination

  • LAB1 - Laboratory Work, 4.5, grade scale: P, F
  • TEN1 - Examination, 3.0, grade scale: A, B, C, D, E, FX, F

Requirements for final grade

Passed Computer labs and Written examination

Offered by

BIO/Biotechnology

Examiner

Olav Vahtras <vahtras@kth.se>

Version

Course syllabus valid from: Spring 2017.
Examination information valid from: Spring 2016.