Skip to main content

Teaching Material

Note

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​

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​

Exercises​

Updated: 23 Nov 2026

CW46​

We use automata to describe how a program reacts to its input.

Lecture​

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​

Exercises​

Updated: 11 Nov 2026

CW44​

We give values names, group statements into functions and control the flow with branches and loops.

Lecture​

Updated: 3 Nov 2026

CW43​

We work with images: pixels, coordinates and colours.

Lecture​

Exercises​

Updated: 30 Oct 2026

CW42​

We start with the basics: file system, terminal, compiler and IDE.

Lecture​

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.

Exercises​