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.
* Presentation of the option.
* Work1 (paper): Automata.
* Discussion : memory representation ; images and inverse images ; proofs of a program.
* Work2 (computer): Reeborg's World.
* Work2 (computer): Reeborg's World (continued).
* Work3 (paper): Assignments.
* Work4 (computer): First steps in Python3. Original idea : Alain SATABIN.
* Work4 (computer): First steps in Python3 (continued).
* Work5: Loops.
* Work6: Functions.
* Work7: Overview of what we have seen so far (group work). 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!
* Work8: Arrays ; the associated file TP8_Arrays.py.
* First semester project (total duration: 3 weeks): group work to build a simple game. Original idea: Emmanuel ALLAUD.
* The choices are: battleship (cf. description), connect four (cf. description), the game of life (harder, cf. description), and minesweeper (cf. description).
* Monday, December the 19th (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/or with a text document (approx. 2-4 pages).
* January: oral presentation of your project with this oral presentation grading.