| Program start date | Application deadline |
| 2026-03-16 | - |
| 2027-03-16 | - |
Program Overview
Course Overview
The course BB1000 Programming in Python is an introductory course in programming based on the Python programming language. It incorporates some of the best practices from professional programming environments aimed at students in scientific and technical fields.
Information per Course Offering
The course is offered in the Autumn and Spring semesters. For the Spring 2026 semester, the course starts on March 16, 2026, and ends on June 1, 2026. The course is a single course, and the study pace is 50%. The application code is 10306, and the form of study is distance daytime. The language of instruction is English.
Course Details
- Course location: KTH Campus
- Duration: March 16, 2026 - June 1, 2026
- Periods: Spring 2026: P4 (7.5 hp)
- Pace of study: 50%
- Application code: 10306
- Form of study: Distance Daytime
- Language of instruction: English
Content and Learning Outcomes
The course aims to give basic knowledge on how to write programs in Python. The course consists of the following parts:
- Common command-line interfaces
- Jupyter notebooks and code editors
- Python-syntax: variables, data types, function, moduler
- File management, reading, converting, and writing of data
- Version control with git
- Object-orientation and classes
- Program testing
- Common Python libraries (e.g., numpy, pandas, matplotlib)
- Scientific applications
Intended Learning Outcomes
After completion of the course, the student shall have:
- Knowledge and understanding to use web-based as well as command-line user interfaces on a computer to execute and create scripts in Python
- Describe basic syntax, data types, and data structures in Python, using logical control flows (repetition and branching), separate program code into units (functions/classes) for the purpose of applying this in problem-solving
- Use program libraries to develop algorithms in code, for the purpose of calculating and presenting results graphically
- Use version control for backup on their own computer as well as group collaboration with web-based resources
- Apply test-driven development in their programming
Literature and Preparations
Specific Prerequisites
Swedish secondary school Mathematics 4
Literature
Information about course literature can be found in the course memo for the course offering or in the course room in Canvas.
Examination and Completion
Grading Scale
A, B, C, D, E, FX, F
Examination
- TEN2 - Computer-based examination, 7.5 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.
If the course is discontinued, students may request to be examined during the following two academic years.
Spring Version
The learning objectives are examined with E-level assignments during the computer lab. In addition, a voluntary examination with a computer will be offered with problems at A-D level. For grades A-D, an approved grade on TEN2 and a voluntary examination with a computer are required.
Fall Version
The learning objectives are examined based on individual computer-based project assignments.
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
Offered by
CBH/Theoretical Chemistry and Biology
Main Field of Study
Technology
Education Cycle
First cycle
Additional Regulations
Students are advised to use their own computer (laptop) for the course.
