Skip to main content

Before choosing course

A basic course in programming technique.

Course offering missing for current semester as well as for previous and coming semesters
* Retrieved from Course syllabus DD1314 (Autumn 2014–)

Content and learning outcomes

Course contents

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.

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 Disposition

No information inserted

Literature and preparations

Specific prerequisites

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.


No information inserted


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

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 hp, betygsskala: P, F
  • LAB2 - Laboratory Work, 1,5 hp, betygsskala: P, F
  • LAB3 - Laboratory Work, 3,0 hp, betygsskala: A, B, C, D, E, FX, F
  • LAB4 - Laboratory Work, 2,0 hp, betygsskala: P, 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.

In this course all the regulations of the code of honor at the School of Computer science and Communication apply, see:

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

Opportunity to complete the requirements via supplementary examination

No information inserted

Opportunity to raise an approved grade via renewed examination

No information inserted


Profile picture Linda Kann

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 DD1314

Offered by

CSC/Theoretical Computer Science

Main field of study


Education cycle

First cycle

Add-on studies

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


Linda Kann, tel: 790 9276, e-post:

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.