Cours d'informatique tronc commun en MPSI
-
Programme d'Informatique Tronc Commun en MPSI: lien.
-
Au lycée, on utilisera l'IDE Spyder pour programmer en Python. Sur vos ordinateurs personnels, vous pouvez utiliser l'IDE de votre choix (Spyder, VS code, IDLE, Pyzo ...).
-
Pour installer Spyder sur votre ordinateur, téléchargez au choix:
WinPython (pour Windows) ou Anaconda (pour Windows, Mac, ...).
Après avoir téléchargé et installé le fichier, vous pourrez lancer Spyder. -
TP 1 - Introduction à Python - 12/09/2023
Fichier annexe: TP01-annexe.py
Correction: TP01-correction1.py
Correction rendu 1: TP01-correction2.py
Correction rendu 2: TP01-correction3.py -
TP 2 - Listes - 26/09/2023
Correction: TP02-correction1.py
Correction rendu 1: TP02-correction2.py
Correction rendu 2: TP02-correction3.py -
TP 3 - Modules en Python - 10/10/2023
Correction: TP03-correction1.py
Correction rendu: TP03-correction2.py -
DS 1 de l'année 2022/2023 - Élection présidentielle
Correction: DS01-2022-correction.pdf --- DS01-2022-correction.py -
DS 1 - Autour des nombres premiers - 16/10/2023
Correction: DS01-correction.pdf --- DS01-correction.py -
TP 4 - Boucles while - 07/11/2023
Correction: TP04-correction1.py
Correction rendu: TP04-correction2.py -
Cours sur la manipulation de fichiers: cours02-lorem_ipsum.txt
Correction rendu: cours02-correction.py -
TP 5 - Manipulation de fichiers en Python - 21/11/2023
Fichier annexe: 20190828-nancy-215403957.csv
Fichier annexe: population.csv
Correction: TP05-correction1.py
Correction rendu: TP05-correction2.py -
TP 6 - Complexité et dictionnaires - 28/11/2023
Fichier annexe: dico.txt - Lien d'origine
Correction: TP06-correction1.py
Correction rendu 1: TP06-correction2.py -
TP 7 - Algorithmes dichotomiques - 05/12/2023
Correction: TP07-correction.pdf --- TP07-correction.py -
DS 2 de l'année 2022/2023 - Évaluation d'expressions arithmétiques
Correction: DS02-2022-correction.pdf --- DS02-2022-correction.py