DD1315 Programming Techniques and Matlab 7.5 credits

Programmeringsteknik och Matlab

Please note

The information on this page is based on a course syllabus that is not yet valid.

A basic course in programming techniques.

  • Education cycle

    First cycle
  • Main field of study

  • Grading scale

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

Course offerings

Autumn 19 prgi19 for programme students

Autumn 18 prgi18 for programme students

Intended learning outcomes

Having passed the course, the student should be able to:
• design programs without code repetitions
• divide a larger problem in manageable parts
• divide a program
• apply control structures
• design and present user friendly output
• create flexible applications
• choose appropriate names of identifiers
• design interactive programs
• use and design composite data types (classes)
• transfer data between file and program,
• review others' programs
• handle matrices and use matrix operations in Matlab
• use existing functions from the Matlab library for computation and visualisation.
• write own Matlab functions, in order to be able to
• use programming to solve problems,
• apply the problem solving methodology also within other fields than programming,
• discuss software development with experts
• assess commercial programs
• independently and in a group be able to solve problems by designing programs of up to 500 lines in a modern programming language.
• utilise Matlab as an aid for numerical computations and visualisation in other courses.

Course main content

Fundamental computer concepts.
Programming in a modern programming language (Python). Data structures and classes. Problem-solving through division into sub-problems. Program structuring. Several smaller programming assignments as well as one larger, individual programming assignment with strong emphasis on structuring and specification of included modules.
Interactive computation, programming and two-dimensional graphical presentation in Matlab.



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).


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

Required equipment


  • LAB1 - Programming Assignments, 1.5, grading scale: P, F
  • LAB2 - Programming Assignments, 1.5, grading scale: P, F
  • LAB3 - Programming Assignments, 3.0, grading scale: A, B, C, D, E, FX, F
  • MAT1 - Programming Assignments, 1.5, grading scale: P, F

It is the examiner who, in agreement with KTH´s coordinator for disabilities, will decide on possible adapted examination for students with a proven permanent disability. The examiner may permit another examination format at the re-examination of individual students.

Requirements for final grade

Offered by

EECS/Computer Science


Sten Andersson, tel: 790 9276, e-post: stene@kth.se


Petter Ögren <petter@kth.se>

Sten Andersson <stene@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: DD1320 Applied Computer Science and DD2310 Java Programming for Python Programmers.


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