EXERCICES ET PROBLÈMES D’ALGORITHMIQUE XRappels de cours XExercices et problème
EXERCICES ET PROBLÈMES D’ALGORITHMIQUE XRappels de cours XExercices et problèmes avec corrigés détaillés XSolutions en pseudo code et en langage C Nicolas Flasque Enseignant mathématiques et informatique, EFREI Helen Kassel Enseignant mathématiques et informatique, EFREI Franck Lepoivre Enseignant-chercheur Boris Velikson Enseignant mathématiques et informatique, EFREI © Dunod, Paris, 2010 Illustration de couverture : digitalvision® ISBN 978-2-10-055072-2 TABLE DES MATIÈRES AVANT-PROPOS.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IX INTRODUCTION. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 CHAPITRE 1 • LES BASES DE LA PROGRAMMATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.1 Les types de données . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.2 Les variables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.3 Quelques éléments de syntaxe pour le langage algorithmique . . . . . . . . . . . . . . . . . 6 1.4 Opérations et opérateurs de base . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.4.1 Affectation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.4.2 Constantes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.4.3 Opérateurs arithmétiques et expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.4.4 Opérateurs d’entrée/sortie. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.5 Structure de contrôle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.5.1 Conditions et tests. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.5.2 Exécution conditionnelle d’instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.5.3 Itérations et boucles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.6 Tableaux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 1.6.1 Définition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 1.6.2 Représentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 1.6.3 Relation entre tableaux et boucles. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 1.6.4 Les tableaux à plusieurs dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.7 Pointeurs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 1.7.1 Notion d’adresse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 1.7.2 Définition et contenu. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 1.7.3 Initialisation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 1.8 Les sous-programmes ou fonctions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . uploads/Ingenierie_Lourd/ exercices-et-problemes-d-algorithmique-pdf.pdf
Documents similaires
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/DsfD6KVutljn12iLMgRD5nHkY7TcqePYsk4YCGjSYvvd3zj7yODoL63FlijqUjAkwRoeasATMF4a9ItAkoLDkRda.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/Am9izvG5l9BkSA4ikNdPosqEVFpCehHyb7qQVMnsD9SX9109Y7YOyuMyYGZERmsxpqxdCMamLI3CJ7gkl33FIIFq.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/XHKEar1IJPdfp3gZIygzdXU32TD5ONLkcBxH6jkCHjqJUVTJLR425dBYBmWZiaeFPyJiDqXzZQyD0z9dRpybZgD6.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/YHTPDjuFfKAjlnKyk2HD8e2cud2Mh3cPjadR2ezKC1PSdd7OR9ybcR7n6AXaXmTdn7b72kK3HZvIlJVsu3vjSEYp.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/Ujth4Bgpr1RQoG0IY5kkjDslD2dAUoxSTrpDLbAZ1yHJnIZx4W5xqzlwnFKHwLoMB7jGqfqOxT3vCKZCDnCzBfLZ.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/BsIQa2zC8PV2lZBvDp2IGbpBj5U9gZ9nriatbKfSIUcG0W4PQPVBE9QuaTL4Ul2aut38tf2hFLyYWrkCeW9YboQr.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/DuU9TzwqrsIhRYwOWDB7DoqfKxiCdnb5uEJuHtczMcDfBgdW1jlUmnV228zgQiKLMqbC3zgDfm23Hfc1Vz5IrnBD.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/l1lvRSZKoSFdhbCTKYwEek5H6NMOctDx50iJCpCuE6KQncGrgC5duSSMXobeCNwlI1SaoJDRy5sfeJGtdi24Ox0i.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/iXm0dNF91MECaeQYMQMYMUZGyrBiLplphFc3EqXjE2fYqr5KfEX0DPblNgHc4QTYspvwbSw5lY0wJw7MDsIRNinK.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/k7SuAxFRW3NBb1xd2fTFUgj5ZjZpD0BTISzkDsY816eK27qgnZlBc6N6QVAMGfyCZMSbURe3Yg1kJEc8MJTpuVUg.png)
-
73
-
0
-
0
Licence et utilisation
Gratuit pour un usage personnel Attribution requise- Détails
- Publié le Dec 03, 2022
- Catégorie Heavy Engineering/...
- Langue French
- Taille du fichier 2.4611MB