Hide menu

TDDE65 Preparatory lab session

Lab 0: Introduction to C and Threads

Lab 0 is mandatory only for students who have not taken a course in concurrent programming and operating systems such as TDDE68 (and not TDDD56 either), or need to brush up C/thread programming skills.

Lab 0 is done on IDA Linux computers in the scheduled lab room, not using NSC resources.

There is no examination/demonstration for Lab 0.

Work in pairs. It needs not be the same lab partner for Lab 0 as for the "real" lab series (as in the webreg registration).

  • BEFORE the lab session (i.e., before wednesday in the second week), work through this introductory slide set. It focuses on those C constructs that are often perceived as difficult for programmers trained in Python or Java, such as pointers, type casts, storage classes, and memory management.
    Lab 0 also gives an introduction to multithreaded programming with Pthreads.

  • Lab 0 instructions (PDF). (No code skeleton)
    [Helper function for computing time spans]

  • After the lab session: Continue on your own, focusing on Tasks 1 and 2.
NB no supervision of Lab 0 is given after the scheduled Lab 0 session.

Page responsible: Webmaster
Last updated: 2026-03-27