Source: http://rodolphe.ortalo.free.fr/examens/Exam 2008 SSI Partie 2 (corrige) r3.pdf