1. Introduction
  2. 1. Part 1 — From Logic Gates to Processors
    1. 1.1. TD — Combinatorial Logic
      1. 1.1.1. Solutions
    2. 1.2. Homework — Arithmetic Logic Unit
    3. 1.3. TD — Sequential Logic
      1. 1.3.1. Solutions
    4. 1.4. TP — RISC-V Processor
      1. 1.4.1. Solutions
    5. 1.5. Homework — Assembler
  3. 2. Part 2 — From Processors to Software programming
    1. 2.1. Getting Started with C
      1. 2.1.1. Primes
      2. 2.1.2. Sorting Floats
      3. 2.1.3. Manipulating Integers
      4. 2.1.4. Solutions
    2. 2.2. Derived Types and Pointers
      1. 2.2.1. Strings and Pointers
      2. 2.2.2. Star Struct
      3. 2.2.3. Reading the Database
      4. 2.2.4. Stars on the Heap
      5. 2.2.5. Solutions
  4. 3. Part 3 — From Programs to Operating Systems
    1. 3.1. TP — Multiprocessing & multithreading
    2. 3.2. Homework — Signals
    3. 3.3. TD — Synchronization
    4. 3.4. Homework — Semaphores
    5. 3.5. TP — File system
    6. 3.6. TP — Pipes & FIFOs

INF107 Exercises

Solution - Derived Types and Pointers

Strings and Pointers

Solution

Star Struct

Solution

Reading the Database

Solution

Stars on the Heap

Solution