29.10.2014 Views

Présentation UML - Université Nice Sophia Antipolis

Présentation UML - Université Nice Sophia Antipolis

Présentation UML - Université Nice Sophia Antipolis

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Problématique du génie logiciel<br />

Programming-in-the-Small<br />

Problème de la validité du logiciel<br />

Acquérir une valeur positive n<br />

Tant que n > 1 faire<br />

si n est pair<br />

alors n := n / 2<br />

sinon n := 3n+1<br />

Sonner alarme;<br />

Prouver que le prog. termine pour tout n?<br />

-> Indécidabilité de certaines propriétés<br />

Recours au test<br />

– ici, si machine 32 bits, 2^31 = 10^10 cas de tests<br />

– 5 lignes de code => 10 milliards de tests !<br />

3/10/2009<br />

Mireille Pr. Jean-Marc Blay-Fornarino, Jézéquel<br />

blay@polytech.unice.fr 8

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!