Python programming. Program quality. Testing and debugging. Exceptions. Library functions. Abstract datatypes, stack, queue, tree. Search, sort, recursion. Binary search trees, tree traversals.
DD1322 Applied Programming and Computer Science, Part 1 6.0 credits
This course has been discontinued.
Decision to discontinue this course:
No information inserted
Information per course offering
Course offerings are missing for current or upcoming semesters.
Course syllabus as PDF
Please note: all information from the Course syllabus is available on this page in an accessible format.
Course syllabus DD1322 (Autumn 2009–)Content and learning outcomes
Course contents
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
Literature
No mandatory course literature
Examination and completion
Grading scale
Examination
- TEN1 - Examination, 3.0 credits, grading scale: A, B, C, D, E, FX, F
- LAB1 - Laboratory Work, 3.0 credits, grading scale: 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.
If the course is discontinued, students may request to be examined during the following two academic years.
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)
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
Offered by
Main field of study
Education cycle
Supplementary information
The course is given in Swedish.