Skip to main content
Till KTH:s startsida Till KTH:s startsida

DD1322 Applied Programming and Computer Science, Part 1 6.0 credits

Course offerings are missing for current or upcoming semesters.
Headings with content from the Course syllabus DD1322 (Autumn 2009–) are denoted with an asterisk ( )

Content and learning outcomes

Course contents

Python programming. Program quality. Testing and debugging. Exceptions. Library functions. Abstract datatypes, stack, queue, tree. Search, sort, recursion. Binary search trees, tree traversals.

Intended learning outcomes

During this course we will teach you to:

  • write structured programs in Python
  • use abstraction as a tool to simplify programming
  • write prototypes using Python
  • select an appropriate algorithm for certain problems
  • compare algorithms considering memory use or complexity
  • describe the qualities and characteristics of different algorithm such as seek and sort
  • propose and implement recursive algorithm
  • model real problems such as seek problems and implement algorithm for depth/width/best-first seek
  • describe elementary compression algorithm
  • implement and use stacks and queues
  • implement and use binary trees of different kinds
  • use priority queues
  • identify problems where the above mentioned data structures are useable

so that you will be able to:

  • feel confident to solve programming problems
  • use computer science methods in real world projects.

Literature and preparations

Specific prerequisites

No information inserted

Recommended prerequisites

2D1212/DN1212 Numerical Methods and Fundamentals of Programming.

Equipment

No information inserted

Literature

No mandatory course literature

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

Examination

  • LAB1 - Laboratory Work, 3.0 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.

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.

Other requirements for final grade

Laboratory work (LAB1; 3 university credits)
Examination (TEN1; 3 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

Examiner

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 room in Canvas

Registered students find further information about the implementation of the course in the course room in Canvas. A link to the course room can be found under the tab Studies in the Personal menu at the start of the course.

Offered by

Main field of study

Technology

Education cycle

First cycle

Add-on studies

DD1324 Tillämpad programmering och datalogi, del 2 and DD2310 Java Programming for Python Programmers and DD1332 Object Oriented Programming.

Contact

Alexander Baltatzis, tel: 790 6209, e-post: alba@kth.se

Supplementary information

The course is given in Swedish.