Consignes pour l'année
- Consignes diverses et variées pour l'informatique
Colles
Devoirs surveillés
Devoirs maison
- Les DM numériques ou TP notés sont à envoyer en version numérique à mp2i.limoges _arobase_ gmail.com
- Le nom du fichier ne doit pas contenir d'espace ou caractère accentué
- Votre nom doit apparaître sur la première ligne de chaque fichier envoyé (en commentaire)
- Votre code sera peut-être imprimé, donc : pas plus de 80 caractères par ligne, pas de saut de ligne superflu
- Votre code doit être commenté à bon escient. Il correspond à la trace écrite finale de votre travail
- Pour le Vendredi 06 Juin, 10h00 - DM06 papier - commentaires DM6
- Pour le Lundi 05 Mai, 08h00 - DM05 papier - commentaires DM5
- Pour le Lundi 24 Mars, 08h00 - DM04 papier - DM04.pdf - commentaires DM4
- DM3 - 05 Jan - commentaires DM3
- Pour le Lundi 04 Nov, 08h00 - Finir le parcours PIX : PIX.pdf
- Pour le Lundi 04 Nov, 08h00 - DM02 numérique : mastermind en C - ./mp2i/DM02/mastermind.py - Fichier à compléter : ./mp2i/DM02/dm2_mastermind.c
- Pour le Dimanche 08 Sept, 20h00 - DM01 numérique
Supports des Séances
Travaux Pratiques
- TP35 - Programmation dynamique : ./mp2i/TP35/tp35.ml - mots.txt - ./mp2i/TP35/tp35_corr.ml
- TP34 - Tables de hachage : ./mp2i/TP34/tp34_ex1.ml - ./mp2i/TP34/tp34_ex2.ml - ./mp2i/TP34/tp34_ex3.ml - mobydick.txt - Corrigés : ./mp2i/TP34/tp34_ex1_corr.ml - ./mp2i/TP34/tp34_ex2_corr.ml - ./mp2i/TP34/tp34_ex3_corr.ml - ./mp2i/TP34/tp34_ex4_corr.ml
- TP33 - Diviser pour régner : ./mp2i/TP33/tp33.ml - data3.txt - data4.txt - data5.txt - ./mp2i/TP33/tp33_corr.ml
- TP32 - Algorithme de Dijkstra en OCaml : ./mp2i/TP32/TP32_dijkstra.ml - ./mp2i/TP32/TP32_dijkstra_corr.ml - villes.txt - liaisons.txt - villes2.txt - liaisons2.txt
- TP30 - Voyageur de commerce en C : ./mp2i/TP30/TP30_voy.c - version expert : ./mp2i/TP30/TP30_voy_e.c - ./mp2i/TP30/TP30_voy_corr.c
- TP29 - Parcours de Graphes en OCaml : ./mp2i/TP29/TP29_parcours.ml - ./mp2i/TP29/TP29_laby.ml - ./mp2i/TP29/TP29_parcours_corr.ml - ./mp2i/TP29/TP29_laby_corr.ml
- TP28 - Graphes en C (coloriage) : ./mp2i/TP28/TP28_coloriage.c - ./mp2i/TP28/TP28_coloriage_corr.c
- TP27 - Logique en OCaml - ./mp2i/TP27/tp27.ml - ./mp2i/TP27/tp27_corr.ml
- TP26 - corrigé partiel : ./mp2i/TP26/TP26_aide.c - corrigé final : ./mp2i/TP26/TP26_corr.c - compilation séparée : final.zip - finalE.zip (expert)
- TP26 - les images à décoder : paysage_steg.pgm - paysage_steg_E.pgm
- TP26 - les images du TP : mp2i.pgm - hippo.png - vangogh.png - Pour la question bonus : mpi_couleur.ppm - ./mp2i/TP26/convertColor.py
- TP26 - ./mp2i/TP26/TP26_N.c - ./mp2i/TP26/TP26_AE.c - ./mp2i/TP26/convertNG.py
- TP25 - Compléments techniques en C - ./mp2i/TP25/ex1_testarg.c - ./mp2i/TP25/ex2_somme.c - dico_7_100.txt - country.txt - ./mp2i/TP25/ex3_lecture0.c - ./mp2i/TP25/ex4_lecture1.c - ./mp2i/TP25/ex5_lecture2.c - ./mp2i/TP25/ex6_ecriture.c - ./mp2i/TP25/wordcount.c - ./mp2i/TP25/bataille.c - Corrigés : - ./mp2i/TP25/ex1_testarg_corr.c - ./mp2i/TP25/ex2_somme_corr.c - ./mp2i/TP25/ex3_lecture0_corr.c - ./mp2i/TP25/ex4_lecture1_corr.c - ./mp2i/TP25/ex5_lecture2_corr.c - ./mp2i/TP25/ex6_ecriture_corr.c - ./mp2i/TP25/wordcount_corr.c
- TP24 - Tas en C - ./mp2i/TP24/tp24.c - ./mp2i/TP24/tp24_tri.c - ./mp2i/TP24/tp24_corr.c - ./mp2i/TP24/tp24_tri_corr.c
- TP23 - ABR en OCaml - ./mp2i/TP23/tp23.ml - ./mp2i/TP23/tp23_corr.ml
- TP - Défi : Lacs en Finlande en OCaml - Commentaires - ./mp2i/TP22_Lacs/lacs_corr_v1.ml - ./mp2i/TP22_Lacs/lacs_corr_v2.ml - ./mp2i/TP22_Lacs/lacs_corr_v2_opt.ml
- TP22 - Arbres en OCaml - ./mp2i/TP22/arbre_calcul.ml - ./mp2i/TP22/arbre_decision.ml - ./mp2i/TP22/tp22.ml - ./mp2i/TP22/arbre_calcul_corr.ml - ./mp2i/TP22/arbre_decision_corr.ml - ./mp2i/TP22/tp22_corr.ml
- TP21 - Arbres en C - ./mp2i/TP21/tp21.c - ./mp2i/TP21/tp21_corr.c
- TP20 - Anagrammeur en C - big_dico7.h - pour les avancés : ./mp2i/TP20/tp20_a.c - pour les novices : ./mp2i/TP20/tp20_n.c - Corrigé : ./mp2i/TP20/tp20_corr.c
- TP18 - Piles et Files en C - ./mp2i/TP18/pile.c - ./mp2i/TP18/melangefiles.c - ./mp2i/TP18/pile_corr.c - ./mp2i/TP18/melangefiles_corr.c
- TP17 - Structures de données en C - ./mp2i/TP17/tab2D.c - ./mp2i/TP17/pylist.c - ./mp2i/TP17/tab2D_corr.c - ./mp2i/TP17/pylist_corr.c - ./mp2i/TP17/erreurs.c
- TP16 - Listes OCaml - ./mp2i/TP16/tp16_corr.ml
- TP15 - Découverte Linux - access.zip
- TP14 - Découverte OCaml 2 - ./mp2i/TP14/cxe.ml - ./mp2i/TP14/nbre.ml - ./mp2i/TP14/nbre_etendu.ml - ./mp2i/TP14/myref.ml
- TP13 - Découverte OCaml - ./mp2i/TP13/TP13_corr.ml
- TP12 - malloc / free en C - ./mp2i/TP12/bugs.c - ./mp2i/TP12/nobug.c - ./mp2i/TP12/eratosthene2.c - ./mp2i/TP12/grid.c - ./mp2i/TP12/particules.c (./mp2i/TP12/nobug_corr.c - ./mp2i/TP12/eratosthene2_corr.c - ./mp2i/TP12/grid_corr.c - ./mp2i/TP12/particules_corr.c)
- TP11 - Pointeurs en C - ./mp2i/TP11/hello.c - ./mp2i/TP11/manips1.c - ./mp2i/TP11/manips2.c - ./mp2i/TP11/manips3.c - ./mp2i/TP11/manips4.c - ./mp2i/TP11/doublescanf.c - ./mp2i/TP11/devine.c
- TP09 - Recherche par dichotomie en C - ./mp2i/TP09/rechdicho.c - ./mp2i/TP09/rechdicho_corr.c
- TP08 - Sudoku en C - ./mp2i/TP08/sudoku.c - ./mp2i/TP08/sudoku_corr.c
- TP07 - Tris en C - ./mp2i/TP07/tris.c - Corrigé partiel : ./mp2i/TP07/tris_corr0.c
- TP06 - C - tableaux, struct - ./mp2i/TP06/affichage.c - ./mp2i/TP06/triplets.c - ./mp2i/TP06/random.c - ./mp2i/TP06/tableaux.c - ./mp2i/TP06/point2d.c - ./mp2i/TP06/pascal.c - ./mp2i/TP06/pascal2.c - ./mp2i/TP06/eratosthene.c
- TP05 - C - Les bases - ./mp2i/TP05/hello.c - ./mp2i/TP05/factit.c - ./mp2i/TP05/factrec.c - ./mp2i/TP05/puissance.c - ./mp2i/TP05/power.c - ./mp2i/TP05/premiers.c - ./mp2i/TP05/hanoi.c - ./mp2i/TP05/premiersOpt.c
- TP04 - Récursivité - ./mp2i/TP04/TP04_ex1.py - ./mp2i/TP04/TP04_ex2.py - ./mp2i/TP04/TP04_dessin.py - ./mp2i/TP04/TP04_ex1_corr.py - ./mp2i/TP04/TP04_ex2_corr.py
- TP03 - Complexité temporelle - ./mp2i/TP03/TP03_ex.py - ./mp2i/TP03/TP03_ex_corr.py
- TP02 - Algorithmique - ./mp2i/TP02/TP02_ex.py - Corrigé partiel : ./mp2i/TP02/TP02_ex_corr0.py - Corrigé : ./mp2i/TP02/TP02_ex_corr.py
- TP01 - suite - Miniprojet Mastermind - Quelques tests : tests.txt - Corrigé partiel : ./mp2i/TP01/mastermind_0.py - Corrigé : ./mp2i/TP01/mastermind_corr.py
- TP01 - Miniprojet Mastermind - Fichier de démarrage : ./mp2i/TP01/mastermind.py
Pour bien préparer la rentrée en MP2I :
Matériel informatique :
- Une clé USB pour enregistrer vos travaux pendant les séances pratiques
- Une adresse mail pour m'envoyer les travaux de TP, certains devoirs à rendre
- Disposer d'un ordinateur et d'un accès internet est vivement conseillé
- Inutile de faire de grosses dépenses : si vous disposez déjà d'un ordinateur, il devrait convenir. Un ordinateur sous Linux est l'idéal, mais vous pourrez aussi travailler sous Windows ou MacOS.
- Nous travaillerons avec les langages Python / C / OCaml / SQL, et débuterons l'année avec des révisions Python. Si Python n'est pas déjà installé sur votre ordinateur, vous pouvez l'installer à partir du site officiel : https://www.python.org/downloads/
- NB : toute installation / désinstallation de logiciel présente un risque faible, mais non négligeable de perturber le fonctionnement de votre machine. Pensez à sauvegarder tous vos documents importants.
Révisions Langage Python : Pour celles et ceux qui n'ont pas suivi la spécialité NSI en Terminale
- Vous devez être familiarisés avec les notions de : variable, affectation, type (entier, flottant, booléen, chaîne de caractères, listes), fonction, boucles for/while, tests if, import
- Vous pouvez vous entraîner en ligne sur le site France IOI http://www.france-ioi.org/algo/chapters.php qui propose des exercices d'algorithmique progressifs (inscription requise). Vous pouvez faire les problèmes du "Parcours général" en Python, niveau 1 et 2 (sauf la partie "Programmer sur son ordinateur"). Celles et ceux qui ont suivi la spécialité NSI en Première devraient trouver cela facile.
Apprenez à taper au clavier avec vos 10 doigts :
- Cela vous permettra d'être beaucoup plus efficace pendant les séances pratiques. Prévoyez-vous des séances de 15 minutes, plusieurs fois par semaine.
- Par exemple Klavaro https://klavaro.sourceforge.io/fr/index.html(logiciel libre) à installer sur votre ordinateur, ou encore il existe de nombreux sites en ligne comme https://www.typingclub.com/
Et bien sûr :
- Bonnes vacances : reposez-vous, aérez-vous, faites du sport ... et soyez en forme pour la rentrée !