Skip to main content

DD2325 Applied Programming and Computer Science 7.5 credits

An introductory course in computer science and programming practise.

Choose semester and course offering

Choose semester and course offering to see information from the correct course syllabus and course offering.

Headings with content from the Course syllabus DD2325 (Autumn 2021–) are denoted with an asterisk ( )

Content and learning outcomes

Course contents

Advanced programming in Matlab. Program quality. Testing and error search. Datatypes: boolean, integer, float, array, struct, object. Abstract data types: stack, queue, tree. Searching, sorting, recursion. Hashing. The C programming language. Applications to problems in computer science and numerical analysis.

Intended learning outcomes

An overall goal with the course is to improve the programming technique and the knowledge about program and data structures. This course is given within the Master program Scientific Computing to give the necessary prerequisites for following courses in visualization, parallel programming and high performance computing but can also be taken as an independent course in computer science for English speaking students.

After completing the course the student should be able to

  • write structured programs in Matlab and small programs C
  • do systematic error search in programs
  • describe and use different data types
  • use abstraction as a tool to simplify programming
  • choose a suitable algorithm for a given problem
  • compare algorithms with respect to time and memory needs, complexity
  • describe algorithms for searching and sorting
  • formulate and implement recursive algorithms
  • describe fundamental algorithms for compression
  • implement and use stacks, queues, trees, hash tables and hash functions
  • use priority queues.

Course disposition

No information inserted

Literature and preparations

Specific prerequisites

Degree of Bachelor of Science or corresponding and 15 university credits in mathematics and 6 univeristy credits in computer science or programming techniques. English B, or equivalent.

Recommended prerequisites

Degree of Bachelor of Science or corresponding and one elementary course in programming (e.g. Matlab, Pascal, C, etc) and computer science.


No information inserted


No information inserted

Examination and completion

If the course is discontinued, students may request to be examined during the following two academic years.

Grading scale

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


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

Based on recommendation from KTH’s coordinator for disabilities, the examiner will decide how to adapt an examination for students with documented disability.

The examiner may apply another examination format when re-examining individual students.

Opportunity to complete the requirements via supplementary examination

No information inserted

Opportunity to raise an approved grade via renewed examination

No information inserted


Ethical approach

  • All members of a group are responsible for the group's work.
  • In any assessment, every student shall honestly disclose any help received and sources used.
  • In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.

Further information

Course web

Further information about the course can be found on the Course web at the link below. Information on the Course web will later be moved to this site.

Course web DD2325

Offered by

Main field of study

Computer Science and Engineering

Education cycle

Second cycle

Add-on studies

No information inserted


Hedvig Kjellström (

Supplementary information

The course is given in English.

Only one of the following courses can be counted in your degree: DD2325, DD1320, DD1321, DD1325, DD1327, DD1338, DD1339, DD1340, DD1341, DD1343, DD1344, DD1345, EL2310, HI1201, ID1020.

In this course, the EECS code of honor applies, see: