Source: https://www.kiteb.net/education/informatique/bac/bacinfo2015/bac-pratique-21052015-sc-corrige1.pdf