Du hittar kurs-PM för nyare kursomgångar på sidan Kurs-PM.
Headings denoted with an asterisk ( * ) is retrieved from the course syllabus version Autumn 2024
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.
Learning activities
Seminars, videos, question-based learning and assignments.
Preparations before course start
Literature
No information inserted
Equipment
Access to a computer with a modern web browser. Recommended operating systems: Windows, MacOS or Linux. Computer room equipment is also available. Tablets, pads and smartphones are not sufficient.
Support for students with disabilities
Students at KTH with a permanent disability can get support during studies from Funka:
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.
The section below is not retrieved from the course syllabus:
LAB1 - Lab assignments, 1.5 credits
Students solve assignments and answers questions associated with the assignment.
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
No information inserted
Contacts
Communication during course
Three scheduled seminars. Messaging and notices in Canvas.