DD1310 Programming Techniques 6.0 credits


A basic course in programming techniques.

  • Education cycle

    First cycle
  • Main field of study

    Information Technology
  • Grading scale

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

Course offerings

Autumn 19 prgo19 for programme students

Autumn 19 prgm19 for programme students

Autumn 18 prgo18 for programme students

Autumn 18 Doktorand for single courses students

  • Periods

    Autumn 18 P1 (3.0 credits), P2 (3.0 credits)

  • Application code


  • Start date


  • End date


  • Language of instruction


  • Campus

    KTH Campus

  • Tutoring time


  • Form of study


  • Number of places *

    Max. 1

    *) If there are more applicants than number of places selection will be made.

  • Course responsible

    Vahid Mosavat <vahid@kth.se>

  • Part of programme

Intended learning outcomes

Overall objective: to solve problems  independently and in groups by designing programs of up to five hundred lines in a modern programming language .

Objectives: After the course you should be able to

  • follow the rules of the programming language syntax,
  • apply and explain the rules of good programming style (such as user friendliness, comments, error handling, structuring, flexibility),
  • detect and correct programming errors,
  • modify a given program
  • transfer data between files and programs,
  • identify where control structures ( conditionals and loops) are needed, and use these,
  • split a large problem into manageable parts and construct functions for these,
  • use built-in data structures and select data structures that are suitable for the current problem,
  • use classes and construct new classes,
  • review programs

to be able to

  • use programming to solve problems,
  • apply problem-solving methodology in other areas,
  • discuss program development with experts,
  • assess commercial programs

Course main content

Fundamental computer concepts.

Programming in a modern programming language (Python). Data structures and classes. Problem solving by splitting the problem into sub-problems. Program structuring. Several small programming exercises and one larger, individual programming exercise with emphasis on structuring and specification of the modules being used.


Recommended prerequisites

High school mathematics (scientific program). Some computer experience (the concepts of operating system and file, and experience from some computer application, e.g. word processing). A basic course in Mathematics e.g. SF1624/SF1625 (can be taken concurrently).


Kurslitteratur meddelas senast 4 veckor före kursstart på kursens hemsida.


  • LAB1 - Laboratory Task, 1.5, grading scale: P, F
  • LAB2 - Laboratory Task, 1.5, grading scale: P, F
  • LAB3 - Laboratory Task, 3.0, grading scale: A, B, C, D, E, FX, F

In this course all the regulations of the code of honor at the School of Computer science and Communication apply, see: http://www.kth.se/csc/student/hederskodex/1.17237?l=en_UK.

Offered by

EECS/Computer Science


Vahid Mosavat, tel: 790 9276, e-post: vahid@kth.se


Vahid Mosavat <vahid@kth.se>

Supplementary information

You can only count one of the following courses in your degree:
DD100N, DD1310, DD1311, DD1312, DD1314, DD1315, DD1340, DD1341, DD1342, DD1343, DD1345, DN1212, HI1024, HI1026, ID1004, ID1301.

Add-on studies

Recommended: DD1320 Applied Computer Science and DD1380 Java Programming for Python Programmers.


Course syllabus valid from: Spring 2019.
Examination information valid from: Spring 2019.