Architecture and Systems

Systems and Architecture, L3, ENS-Paris-Saclay (2021-2022)

Exercise sessions

Architecture

I. TP1 This TP covers some topics on bit manipulation and logic gates.

C programs accompanying questions -> bits.cdebruijn.c

Solutions for TP 1

II. TP2

III. TP3

Solutions to the Base, ALU, Memory components to the exercises can be found here

IV. TP4

C programs accompanying questions -> float_equality.ctest.cfloat_skel.c Solution for float addition -> float_solution_full.c

V. TP5

VI. TP6

Operating Systems

VII. TP7 C programs accompanying questions simple.c calc zip

VIII. TP8 Files accompanying the questions exec.cclosed_pipe.cweird file

Solutions: exec-solclosed-pipe

IX. TP9 Programs accompanying questions procon.c mutexvsem.c login.c

Solutions: mailbox.c oddeven.c

Syntax for Mac users to create semaphores can be found in this program

X. TP10 Bootstrap file here:

Completed file for the pipe case -> ring-pipe.c (in french here)

XI. TP11 Bootstrap file here:

Completed file for the pipe case here smash.c input.c henon.c
Buffer overflow file File to run strange code

INFORMATION REGARDING PROJECT here