Teaching Material
The material for the lecture and the exercises will be added to this page week by week during the semester.
Solutions of the Self Tests
Material winter term 2026/27 (ZIP): The archive contains the solutions of the self tests and of the test run (German and English). It will be extended step by step. Its contents are:
- Solutions of the test run of 27 Oct 2026 (added on 4 Nov 2026)
- Solutions of self test 1 of 24 Nov 2026 (added on 26 Nov 2026)
Updated: 26 Nov 2026
CW48
We practise logic and circuits: truth tables, equivalence and simplification, multiplexers, an adder in C++, bitwise operators and a simple computer. In the lecture we look at memory: call-by-value and call-by-reference, pointers, arrays and the heap.
Lecture
- Slides 09 (handout): Memory
Exercises
Updated: 26 Nov 2026
CW47
We practise automata: from the diagram to the 5-tuple and back, Moore and Mealy machines, NFAs and a DFA in C++. In the lecture we see how the hardware computes with logic and circuits.
Lecture
- Slides 08 (handout): Logic and Circuits
- Video: Lecture of 20 Nov 2026
Exercises
Updated: 23 Nov 2026
CW46
We use automata to describe how a program reacts to its input.
Lecture
- Slides 07 (handout): Automata
Exercises
Updated: 13 Nov 2026
CW45
We finish control structures with the basics of testing and then move on to number systems, characters and strings.
Lecture
- Slides 06 (handout): Number Systems and Characters
- Video: Lecture of 6 Nov 2026
Exercises
Updated: 11 Nov 2026
CW44
We give values names, group statements into functions and control the flow with branches and loops.
Lecture
- Slides 04 (handout): Variables, Statements and Functions
- Slides 05 (handout): Control Structures
- Video: Lecture of 30 Oct 2026
Updated: 3 Nov 2026
CW43
We work with images: pixels, coordinates and colours.
Lecture
- Slides 03 (handout): Images
- Video: Lecture of 23 Oct 2026
Exercises
Updated: 30 Oct 2026
CW42
We start with the basics: file system, terminal, compiler and IDE.
Lecture
- Slides 01 (handout): Organisation and Introduction
- Slides 02 (handout): Basics
Exercises
Updated: 16 Oct 2026
CW41 (Preparation)
The bridging course took place this week. During the course, we set up your laptops for the lecture and installed the compiler and the IDE. Worksheet 0 summarises the content, and you should use it if you were unable to attend the bridging course.