Skip to main content
Till KTH:s startsida

II1308 Introduction to Programming 1.5 credits

The course introduces the use of computers in the KTH IT environment and basic concepts in programming. You learn how to use the command line and to write simple computer programs.

Information per course offering

Choose semester and course offering to see current information and more about the course, such as course syllabus, study period, and application information.

Termin

Course syllabus as PDF

Please note: all information from the Course syllabus is available on this page in an accessible format.

Course syllabus II1308 (Autumn 2024–)
Headings with content from the Course syllabus II1308 (Autumn 2024–) are denoted with an asterisk ( )

Content and learning outcomes

Course contents

  • Command interpreters in different environments: Windows, macOS, Linux. Navigation among units and folders. The concepts current folder, absolute and relative path. Differences in accessibility between local units and remote units. File types and file extensions How one creates, edits and saves a text files. How one starts and stops a programs. Redirecting output from a program to a file.
  • Variables and the data types of variables (integer, floating point, references). The difference between static and dynamic typed variables. Expressions that calculate a value and variable assignment. Representation of characters and text. The default units for input and output. The concepts sequence, selection and iteration.

Intended learning outcomes

After passing the course, the student should be able to:

  • use the command-line interpreter of the computer to solve simple assignments containing storing units, folders, and files
  • explain and use basic programming concepts such as variables, data types, expressions, input and output, and constructs for sequence, selection, and iteration
  • write and execute simple programs

in order to

  • be able to work in the computer environment at KTH Royal Institute of Technology
  • be prepared for courses where programming is included.

Literature and preparations

Specific 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

P, F

Examination

  • LAB1 - Lab 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.

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

No information inserted

Supplementary information

Partially overlaps with DD1301, DD1310-DD1319, DD1331, DD1337, DD100N.