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.
DD1315 Programming Techniques and Matlab 7.5 credits
This course has been discontinued.
Decision to discontinue this course:
No information inserted
An introductory course in programming technique with Python. It also provides a short module to introduce MATLAB.
It's possible to participate in the course remotely.
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 DD1315 (Spring 2022–)Content and learning outcomes
Course contents
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.
Literature and preparations
Specific prerequisites
Literature
Examination and completion
Grading scale
Examination
- MAT1 - Programming Assignments, 1.5 credits, grading scale: P, F
- LAB3 - Programming Assignments, 3.0 credits, grading scale: A, B, C, D, E, FX, F
- LAB2 - Programming Assignments, 1.5 credits, grading scale: P, F
- LAB1 - Programming Assignments, 1.5 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.
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.