Skip to main content
Before choosing courseML1303 Programming, general course 6.0 creditsAdministrate About course
Course offering missing for current semester as well as for previous and coming semesters
* Retrieved from Course syllabus ML1303 (Autumn 2012–)

Content and learning outcomes

Course contents

  • Background and introduction to programming languages
  • Data types, variables, and references
  • Operators
  • Sequence, selection, and repetition
  • One and multi-dimensional arrays
  • Functions and modular programming
  • Problem analysis, structuring, debugging, and testing
  • Memory management
  • Text management
  • File management

Intended learning outcomes


The course will provide the basic knowledge of a modern programming language.

In order to obtain satisfactory marks, the student must be able to write structured programs in a given programming language, with particular emphasis upon:

  • Formulating elementary algorithms for given problems and converting them into a program code
  • Using an Integrated Development Environment to write, execute, and debug a program.
  • Introducing and using data types and variables for storing data (including complex data types)
  • Explaining memory management of various data types, and distinguishing between addresses and variable values.
  • Conducting simplistic program design while choosing appropriate test data (i.e. breaking down a problem into partial problems, implementing functions one at a time, and performing step-by step testing).
  • Using external files for data storage.

In order to obtain higher marks, the student must be able to analyze more complex programming tasks and structure solutions on several levels: including problem analysis, comprehensive design, well-designed user interfaces, subdivision into partial problems, modules and functions, and implementation.

Course Disposition

No information inserted

Literature and preparations

Specific prerequisites

Knowledge corresponding to admission requirements for Bachelor of Science in Engineering
Basic computer skills

Recommended prerequisites

No information inserted


No information inserted


Meddelas 2 veckor innan kursstart.

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


  • TEN1 - Written Exam, 1,5 hp, betygsskala: A, B, C, D, E, FX, F
  • ÖVN1 - Exercise, 4,5 hp, betygsskala: 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.

Other requirements for final grade

Passed written exams
Passed lab assignments. The final grade is based on all parts of the examination.

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 Pieter Grebner

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 ML1303

Offered by

ITM/Sustainable Production Development

Main field of study


Education cycle

First cycle

Add-on studies

No information inserted