Fundamentals of programming
Syllabus and other information
Syllabus
TE0004 Fundamentals of programming, 5.0 Credits
Grundläggande programmeringSubjects
EngineeringEducation cycle
Bachelor’s levelAdvanced study in the main field
First cycle, has only upper-secondary level entry requirementsBachelor’s level (G1N)
Grading scale
The grade requirements within the course grading system are set out in specific criteria. These criteria must be available by the course start at the latest.
Language
SwedishPrior knowledge
General entry requirements.**You also need:** Physics 1a alternatively Physics 1b1+1b2, Mathematics 4 or Mathematics E
Or:
Physics level 1b alternatively Physics level 1a1+1a2 and Mathematics advanced level 2.
Objectives
The goal of this course is to provide a solid foundation in programming, computational thinking, and problem-solving. Through hands-on work, the students will gain experience translating tasks in an engineering context into solutions in a programming language.
Upon successful completion of the course, students will be able to
- Describe fundamental programming concepts, including variables, data types, operators, and control structures.
- Explain how programs use step-by-step instructions, conditional statements, and loops to execute tasks.
- Explain the purpose and limitations of basic data structures (lists, dictionaries) and simple error handling.
- Write, run, and debug functional programs, following coding standards and with meaningful comments.
- Apply conditional statements, loop conditions, and functions to write structured programs.
- Decompose larger tasks into smaller, manageable parts and implement solutions in a programming language.
- Communicate results from the assignments in written form.
Content
Subject-related content
This course provides first-year engineering students with a strong foundation in programming. No prior coding experience is necessary. The entire course will use the programming language Python, a versatile and industry-standard tool for engineering applications. The course content includes variables and data types, such as integers, floating-point numbers, booleans, and text; control flow, including conditional statements (if, else) and loops (for, while); functions for organizing reusable code, with parameters and return values; basic data structures, like lists (arrays) and dictionaries (key-value pairs), for managing collections of data; input/output operations and basic error handling; problem-solving and algorithmic thinking, including the use of pseudocode for designing solutions and essential testing and debugging methods for troubleshooting code.
*Teaching formats*
To further student learning and promote discussion, a variety of methods are used:
lectures, assignments, presentations, and project work.
The course focuses on the following generic competencies:
Critical thinking
Problem solving
Engineering methods
Oral and written communication
Teamwork
Digital competence
The following course components are mandatory:
Grading form
The grade requirements within the course grading system are set out in specific criteria. These criteria must be available by the course start at the latest.Formats and requirements for examination
passed examination
approved assignments
approved written presentation of project work
If a student has failed an examination, the examiner has the right to issue supplementary assignments. This applies if it is possible and there are grounds to do so.
The examiner can provide an adapted assessment to students entitled to study support for students with disabilities following a decision by the university. Examiners may also issue an adapted examination or provide an alternative way for the students to take the exam.
If this syllabus is withdrawn, SLU may introduce transitional provisions for examining students admitted based on this syllabus and who have not yet passed the course.
For the assessment of an independent project (degree project), the examiner may also allow a student to add supplemental information after the deadline for submission. Read more in the Education Planning and Administration Handbook.
Other information
The right to participate in teaching and/or supervision only applies for the course instance the student was admitted to and registered on.
If there are special reasons, students are entitled to participate in components with compulsory attendance when the course is given again. Read more in the Education Planning and Administration Handbook.
Responsible department
Department of forest bioeconomy and technology