DD1314 Programming for Interactive Media 8.0 credits

Programmering för interaktiva medier

Please note

This course has been cancelled.

A basic course in programming technique.

  • Education cycle

    First cycle
  • Main field of study

  • Grading scale

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

Last planned examination: autumn 19.

At present this course is not scheduled to be offered.

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.
Static and dynamic web pages. Development of simple web applications. Several small programming exercises and one larger, individual programming exercise with emphasis on structuring and specification of the modules being used.


For single course students: completed upper secondary education including documented proficiency in Swedish corresponding to Swedish B, English corresponding to English A. Furthermore: 7,5 hp in mathematics and 6 hp in computer science or programming techniques.

Recommended prerequisites

High school mathematics (scientific program). Some computer experience (the concepts of operating system and file and experience from one computer application, e.g. word processing). Mathematics I.


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


  • LAB1 - Laboratory Work, 1.5, grading scale: P, F
  • LAB2 - Laboratory Work, 1.5, grading scale: P, F
  • LAB3 - Laboratory Work, 3.0, grading scale: A, B, C, D, E, FX, F
  • LAB4 - Laboratory Work, 2.0, grading scale: P, 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.

Requirements for final grade

Programming assignments (LAB1; 1,5 university credits).
Programming assignments (LAB2; 1,5 university credits).
Programming assignments (LAB3; 3 university credits).
Programming assignments (LAB4; 2 university credits).

Offered by

CSC/Theoretical Computer Science


Linda Kann, tel: 790 9276, e-post: lk@kth.se


Linda Kann <lk@kth.se>

Supplementary information

Only one of the following courses may be counted in your exam:
DD100N, DD1310, DD1311, DD1312, DD1314, DD1315, DD1340, DD1341, DD1342, DD1343, DD1345, DN1212, HI1024, HI1026, ID1004, ID1301.

Add-on studies

Recommended: 2D1320/DD1320 Applied Computer Science. Also DD2310 Java Programming for Python Programmers.


Course syllabus valid from: Autumn 2014.
Examination information valid from: Autumn 2007.