DD1331 Fundamentals of Programming 5.0 credits

Grundläggande programmering

Show course information based on the chosen semester and course offering:

Offering and execution

No offering selected

Select the semester and course offering above to get information from the correct course syllabus and course offering.

Course information

Content and learning outcomes

Course contents *

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.

Intended learning outcomes *

After passing the course, the student should be able to

  • at a general level identify the parts of and the terminology for a computer system, such as CPU, memory, operating system and user interface
  • retrieve, save, update and document changes in code using a version control system
  • classify syntactic elements in program code with correct terminology
  • identify and apply basic data types, classes and type conversions
  • identify, apply and troubleshoot flow control as well as logical and arithmetic expressions
  • analyze the scope and extent of a variable
  • graphically describe the connection between variable names, types and data
  • debug short programmes written by others
  • write and troubleshoot longer programmes
  • write a specification for a longer programme
  • divide a problem into manageable parts
  • divide a program into manageable parts
  • use and evaluate good programming practices
  • implement, troubleshoot and with correct terminology describe recursive algorithms
  • combine the embedded functions of the programming language with own functions to solve programming problems

to be able to

  • carry out computations and solve programming problems
  • use KTH's computer systems
  • be prepared for the next course in computer science.

For higher grades, the student should also be able to

  • implement an interactive graphical user interface.

Course Disposition

No information inserted

Literature and preparations

Specific prerequisites *

No information inserted

Recommended prerequisites

No information inserted

Equipment

No information inserted

Literature

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

Examination *

  • KONT - Partial exam, 1.0 credits, Grading scale: P, F
  • LAB4 - Laboratory work, 2.0 credits, Grading scale: A, B, C, D, E, FX, F
  • PRO1 - Individual programming project, 2.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

Examiner

Sten Andersson

Stefan Nilsson

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 DD1331

Offered by

EECS/Computer Science

Main field of study *

Technology

Education cycle *

First cycle

Add-on studies

No information inserted

Contact

Marcus Dicander, e-post: dicander@kth.se

Transitional regulations *

The earlier course components LAB1, TEN2 and LAB2 are replaced by LAB4, KONT and PRO1, respectively.

Supplementary information

In this course, the EECS code of honor applies, see:
http://www.kth.se/en/eecs/utbildning/hederskodex