Information, calcul, communication
Weekly outline
-
Ce cours s’adresse aux étudiant.e.s en génie civil et science et génie des matériaux de première année à l’EPFL. Le premier cours aura lieu le vendredi 12 septembre 2025 à 9h15, en salle CE 1 2Enseignant·e·s: Mirjana Stojilović (partie programmation) et Olivier Lévêque (partie théorique)
Assistant·e·s:- Partie programmation:
Emilien Silly (Assistant principal), Ayman Bakiri, Malak Boulahfa, Elie Bruno, Adam Chahed Ouazzani, Manon Cesbron Darnaud, Iskandar Ghobril, Victor Monfredo, Cleopatra Moroianu, Lina Sagdal - Partie théorique:
AAC 1 32: Adrien Lièvre, Chaimâa Ouchicha, Victor Monfredo
CO 015: Floriane Baron, Elie Bruno, Thomas Fassnacht (gymnase de Renens)
CO 016: Cleopatra Moroianu, Manon Cesbron Darnaud, Thomas Christiansson
CO 017: Martina Gatti, Justin Labaeye
- Partie programmation:
- cours les vendredis de 9h15 à 10h00:
en salle CE 1 2. Enregistrements (année 2024-25): Mediaspace
- Partie théorique:
Ressources pour le cours (partie théorique):
- MOOC sur courseware.epfl.ch
- Livre «Découvrir le numérique», EPFL Press, 2016
(voir aussi les solutions des exercices du livre)
Calcul de votre note finale:- midterm du 7 novembre: 40% (info détaillées: voir plus bas en semaine 8)
- projet de programmation: 15%
- examen final du 19 décembre: 40% (info détaillées: voir plus bas en semaine 14)
- quiz sur la sécurité informatique (à faire sur Moodle d'ici le 31 octobre 2025): 5%
-
You will find two files here:
-
PDF file with examples of Python coding questions relevant to the midterm exam.
-
Python script with the corresponding code.
To run the script and display the expected answer for a specific question, use the following command in your terminal:
python <script_name> <year> <question>For example:
python ICC-P-Practice-Midterm-Solutions.py 2023 5This command will show the expected answer for Question 5 (Year 2023). Make sure your terminal’s current directory matches the location of your script.
You may notice that questions from 2024 are missing; we will share them in the week leading up to the midterm exam (after the break). -
- Partie programmation:
-
-
This lecture provides information about the organization of the course throughout the semester.
-
Let us warm up by interacting with Python interpreter.
Online reading: Link -
Connectez-vous sur l’infrastructure des postes de travail virtuels. Choisissez une des machines virtuelles IC-CO-IN-SC-MA-2025-Fall ou IC-CO-IN-SC-INJ-2025-Fall (et pas une autre).
-
The UbuntuIntro exercise contains several practical concepts regarding using a terminal in an operating system such as Ubuntu. We recommend that you do it to see that one does not need a visual editor to interact with the operating system.
Note: The topic is not directly related to Python programming and will not be an exam topic. Despite that, you should not ignore it, as it presents the basics necessary for anyone using a Linux operating system.
-
-
-
Try solving the exercises in the Python interpreter without using if-elif-else constructs (for those who know how to use them in Python). You can also write all commands in one .py file (a Python script) and run it if that suits you better. We will share the solution in one file so you can easily change and rerun it.
To run, press the "play" button on the top right corner of your Visual Studio Code editor. Do not forget to activate the environment that you installed last week! :-)
Next week, we will study if-elif-else constructs, the preferred way to solve some of the problems in this exercise set. -
-
-
-
-
-
ICC-T Solutions 6 File
-
-
-
Given the limited time during the exercise session, try solving the first two exercises only. The last one can be left as homework.
-
-
ICC-P-Solution-NestedLoops Folder
-
Given the limited time during the exercise session, try solving the first five exercises only. The last one can be left as homework.
-
-
ICC-P-Solution-NestedLists Fileapplication/x-python-code
-
Midterm le vendredi 7 novembre de 9h15 à 12h15, en salles CM 1 2 et CO 3.(les étudiants avec un aménagement viennent à 8h15 en salle CM 1 2 pour commencer avant)Formulaire autorisé: une page A4 recto-verso manuscrite, préparée avec ipad + stylet ou même dactylographiée(un seul conseil à ce sujet: préparez le formulaire vous-même: vous réviserez ainsi le cours et les exercices!)Aucun appareil électronique n'est autorisé pour cet examenrien d'électronique, sauf une calculatrice simple (du type TI-30 eco RS, ou même plus simple: il n'y a bien sûr pas besoin que ce soit précisément ce modèle!); vous êtes également bienvenu·e·s d'amener vos feuilles de brouillon.Cet examen compte pour 40% de la note, avec 25 points pour la théorie et 15 points pour la programmation.Le cours et les exercices de théorie ont lieu comme d'habitude le vendredi après-midi.
-
ICC-T Solutions 8 File