Official syllabus:
It is the 2019 syllabus which is available at the following link.Use an online Python interpreter:
If you are working from home on a computer that does not allow the installation of any software, you can always program in Python thanks to an online interpreter: https://replit.com/languages/python3. In the case where you can install something, it is probably better to do so, cf. next paragraph.Download the Python Graphic User Interface (GUI):
The Python GUI that we use in class can be downloaded at https://sourceforge.net/projects/portable-python/. Sourceforge is a website that provides storage for open-source projects, this means, in particular, that this software is free to use. You can click on the green button "Download", and it will download it in a few seconds.However, it is better to use another installer for Python, as we will need to use more advanced features (for example pygame, a library which is not included in portable python). Please refer to the chapter Introduction of the book Invent Your Own Computer Games with Python (4th edition, 2017, written by Al Sweigart) to install Python3 + the pygame library.
Documents:
Some of the documents shared in this section have been reproduced thanks to documents shared by other colleagues. Let them be thanked for eternity (and beyond). It is not easy to always create works ex nihilo, and their help was more than valuable.08/09/2023:
* Presentation of the option.
* Work1 (paper): Automata.
15/09/2023:
* Work2 (computer): Reeborg's World.
22/09/2023:
* Work3 (paper): Assignments.
* Work4 (computer): Guess the number ; the associated file TP4_Guess_the_number.py (code from Al Sweigart).
29/09/2023:
* Work5: Loops.
06/10/2023:
* Class canceled: Orientation.
13/10/2023:
* Work6: Functions ; the associated file TP6_Linear_equation.py.
20/10/2023:
* Work7: Overview of what we have seen so far (graded group work) ; elements of correction.
For exercise 2.3 ``Give the change'', it is possible to write a greedy algorithm that starts at the biggest bill and ends at the smaller one; as a side note, try this algorithm if the set of bills we use is 1, 4 and 6€... it does not work!
27/10/2023:
* Work8: Arrays ; the associated file TP8_Arrays.py.
10/11/2023-12/01/2024:
* First semester project (total duration: 5 weeks): group work to build a simple game. Original idea: Emmanuel ALLAUD.
* Standard level project: connect four (cf. description);
* Slightly more difficult projects: battleship (cf. description), the game of life (cf. description), or minesweeper (cf. description);
* One-person project: hangman (cf. description).
* Friday, December the 22nd (last week before the holidays): you must hand out your code, so that I can have a look at it at home before your oral presentations. There will be a team grading on your code. You must explain your code with comments and with a text document (approx. 2 pages).
* January: oral presentation of your project with this oral presentation grading.
19/01/2024:
* B Test: maximum 20 minutes per group (minimum 5 minutes per student).
The grading grid, one per student (as opposed to the team grading for the code) is the following: oral presentation grading.
26/01/2024:
* End of presentations.
* Introduction of the 2nd semester subject: databases. The associated slideshow.
26/01/2024:
* Work9: Handling data (1/3) ; the associated Python code and dataset (the same dataset encoded as an utf-8 file if needed). Dataset from the book ``Informatique et sciences du numérique'', Gilles DOWEK (Chapter 11, ``Structurer l'information'').
Don't forget that, for the python code to work, you need to put both the code and the dataset in the same folder!
09/02/2024:
* Work9: Elements of correction.
* Work10: Handling data (2/3) ; the associated Python code and dataset. Dataset from the book ``Sciences numériques et technologie'', Sylvain ALBISSER and Sébastien BALNY (Chapter E, ``Les données structurées et leur traitement''). A similar dataset with more information can be found at https://www.data.gouv.fr/fr/datasets/communes-de-france-base-des-codes-postaux/.
Don't forget that, for the python code to work, you need to put both the code and the dataset in the same folder!
23/02/2024:
* Work11: Handling data (3/3) ; the associated Python code (correction from work 10) and dataset. Dataset source: https://www.data.gouv.fr/fr/datasets/departements-de-france/.
Don't forget that, for the python code to work, you need to put both the code and the dataset in the same folder!
01/03/2024:
* Work12: Databases (1/4) ; the associated slideshow (containing the information already in the subject). Original idea from the book ``Apprendre le développement WEB au lycée'', Cyprien ACCARD (Chapter J, ``Bases de données relationnelles'').
* Work13: Databases (2/4). This work can be done ``paper only'' (no computer needed), just to learn the SQL language, but you can start using the sqlite3 library thanks to the associated Python code. Original idea from the course ``Base de données'', Remi EYRAUD.
08/03/2024:
* End of Work13 ; elements of correction.
* Work14: Databases (3/4) ; the associated files: Python code, dataset (1/2) and dataset (2/2). Don't forget that, for the python code to work, you need to put both the code and the dataset in the same folder!
15/03/2024:
* Work14: elements of correction.
* Work15 (graded group work): Databases (4/4) ; the associated files: Python code, dataset (1/2) and dataset (2/2). Don't forget that, for the python code to work, you need to put both the code and the dataset in the same folder!
22/03/2024:
* Work15: elements of correction.
* Class canceled: S6 trip week.
12/04/2024 until the end of the year:
* Teacher absent. This is what I would have done with the students.
2 weeks:
* Rehearsal for the B Test.
* B Test from 2022: The subject ; associated files: Python code and dataset for section 2.
* B Test from 2021: The subject ; associated files: Python code and dataset for section 2.
* Elements of correction from 2022: Python code for section 2.
* Elements of correction from 2021: The document ; associated file: Python code for section 2.
1 week (+1 week for absent students):
* B Test: Databases.
2 weeks:
* Work16: Digital images (1/3) ; the associated Python code. The introduction is a translation of a document I created for a formation in 2014, see the original document. Original idea for the ``greyscale'' exercises : Evelyne LAURENT.
2 weeks:
* Work17: Digital images (2/3) ; the associated files: TP17_Image1.pgm. Original idea from the book ``Informatique et sciences du numérique'', Gilles DOWEK (Chapter 19, ``Dessiner'').
* First sub-work (school logo): TP17_Images_logo.py; TP17_Logo_EEB1.pgm;
* Second sub-work (houses): TP17_Images_merge.py; TP17_House.pgm; TP17_Skyscraper.pgm
* Third sub-work (Mona Lisa): TP17_Images_colors.py; TP17_Joconde_Original.ppm.
* Work18: Digital images (3/3) ; the associated files:
* First sub-work (Mona Lisa, from Work 17): TP17_Images_colors.py; TP17_Joconde_Original.ppm.
* Second sub-work (Amazon river): TP18_Amazon_Original.ppm.
* Teacher absent. This is what I would have done with the students.
2 weeks:
* Rehearsal for the B Test.
* B Test from 2022: The subject ; associated files: Python code and dataset for section 2.
* B Test from 2021: The subject ; associated files: Python code and dataset for section 2.
* Elements of correction from 2022: Python code for section 2.
* Elements of correction from 2021: The document ; associated file: Python code for section 2.
1 week (+1 week for absent students):
* B Test: Databases.
2 weeks:
* Work16: Digital images (1/3) ; the associated Python code. The introduction is a translation of a document I created for a formation in 2014, see the original document. Original idea for the ``greyscale'' exercises : Evelyne LAURENT.
2 weeks:
* Work17: Digital images (2/3) ; the associated files: TP17_Image1.pgm. Original idea from the book ``Informatique et sciences du numérique'', Gilles DOWEK (Chapter 19, ``Dessiner'').
* First sub-work (school logo): TP17_Images_logo.py; TP17_Logo_EEB1.pgm;
* Second sub-work (houses): TP17_Images_merge.py; TP17_House.pgm; TP17_Skyscraper.pgm
* Third sub-work (Mona Lisa): TP17_Images_colors.py; TP17_Joconde_Original.ppm.
* Work18: Digital images (3/3) ; the associated files:
* First sub-work (Mona Lisa, from Work 17): TP17_Images_colors.py; TP17_Joconde_Original.ppm.
* Second sub-work (Amazon river): TP18_Amazon_Original.ppm.