Compare commits
4 Commits
598e909f32
...
de5a03ddab
Author | SHA1 | Date | |
---|---|---|---|
de5a03ddab | |||
7059a0e6dd | |||
ee3d8f493c | |||
876f9e7246 |
@ -14,6 +14,6 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: rstcheck
|
- id: rstcheck
|
||||||
- repo: https://git.opytex.org/lafrite/clean-rst
|
- repo: https://git.opytex.org/lafrite/clean-rst
|
||||||
rev: v0.1.2
|
rev: v0.1.4
|
||||||
hooks:
|
hooks:
|
||||||
- id: clean-rst
|
- id: clean-rst
|
||||||
|
@ -2,7 +2,7 @@ Web HTML CSS
|
|||||||
############
|
############
|
||||||
|
|
||||||
:date: 2022-08-21
|
:date: 2022-08-21
|
||||||
:modified: 2022-09-01
|
:modified: 2022-09-04
|
||||||
:authors: Benjamin Bertrand
|
:authors: Benjamin Bertrand
|
||||||
:tags: Web
|
:tags: Web
|
||||||
:category: 1NSI
|
:category: 1NSI
|
||||||
@ -76,7 +76,7 @@ Bilan:
|
|||||||
|
|
||||||
.. image:: ./3B_http.pdf
|
.. image:: ./3B_http.pdf
|
||||||
:height: 200px
|
:height: 200px
|
||||||
:alt:
|
:alt: Bilan sur l'hébergement
|
||||||
|
|
||||||
|
|
||||||
Pense bête
|
Pense bête
|
||||||
|
7
1NSI/02_Programmation_Python_et_microbit/exercises.tex
Normal file
7
1NSI/02_Programmation_Python_et_microbit/exercises.tex
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
\begin{exercise}[subtitle={<++>}, step={1}, origin={<++>}, topics={ Programmation Python et microbit }, tags={ Python, Programmation, Architecture }]
|
||||||
|
<++>
|
||||||
|
\end{exercise}
|
||||||
|
|
||||||
|
\begin{solution}
|
||||||
|
<++>
|
||||||
|
\end{solution}
|
68
1NSI/02_Programmation_Python_et_microbit/index.rst
Normal file
68
1NSI/02_Programmation_Python_et_microbit/index.rst
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
Programmation Python et microbit
|
||||||
|
################################
|
||||||
|
|
||||||
|
:date: 2022-09-04
|
||||||
|
:modified: 2022-09-04
|
||||||
|
:authors: Benjamin Bertrand
|
||||||
|
:tags: Python, Programmation, Architecture
|
||||||
|
:category: 1NSI
|
||||||
|
:summary: Retour sur les bases du python avec microbit
|
||||||
|
|
||||||
|
Élements du programme
|
||||||
|
=====================
|
||||||
|
|
||||||
|
.. list-table:: Architectures matérielles et systèmes d’exploitation
|
||||||
|
:header-rows: 1
|
||||||
|
|
||||||
|
* - Contenus
|
||||||
|
- Capacités attendues
|
||||||
|
- Commentaires
|
||||||
|
* - Périphériques d’entrée et de sortie Interface Homme-Machine (IHM). Identifier le rôle des capteurs et actionneurs.
|
||||||
|
- Réaliser par programmation une IHM répondant à un cahier des charges donné.
|
||||||
|
- Les activités peuvent être développées sur des objets connectés, des systèmes
|
||||||
|
|
||||||
|
.. list-table:: Langages et programmation
|
||||||
|
:header-rows: 1
|
||||||
|
|
||||||
|
* - Contenus
|
||||||
|
- Capacités attendues
|
||||||
|
- Commentaires
|
||||||
|
* - Constructions élémentaires
|
||||||
|
- Mettre en évidence un corpus de constructions élémentaires.
|
||||||
|
- Séquences, affectation, conditionnelles, boucles bornées, boucles non bornées
|
||||||
|
|
||||||
|
Progression
|
||||||
|
===========
|
||||||
|
|
||||||
|
|
||||||
|
Étape 1: Identification des capacités de la carte microbit
|
||||||
|
----------------------------------------------------------
|
||||||
|
|
||||||
|
Étape 2: Succession d'instruction et prise en main
|
||||||
|
--------------------------------------------------
|
||||||
|
|
||||||
|
Dans cette étape, les élèves apprennent à manipuler les images sur la matrice de led et à utiliser quelques capteurs.
|
||||||
|
|
||||||
|
Avant de laisser les élèves se lancer dans la suite des exercices, on fait une présentation du "workflow" pour programmer, compiler puis flasher un programme sur micorbit.
|
||||||
|
|
||||||
|
Étape 3: Boucle while
|
||||||
|
---------------------
|
||||||
|
|
||||||
|
|
||||||
|
Étape 4: Boucle for
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
Étape 5: Conditions et évènements
|
||||||
|
---------------------------------
|
||||||
|
|
||||||
|
Étape 6: Un peu tout mélangé
|
||||||
|
----------------------------
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Ressources
|
||||||
|
==========
|
||||||
|
|
||||||
|
- `lecluseo <https://lecluseo.scenari-community.org/CircuitPython/co/module_Micropython_3.html>`_
|
||||||
|
- `glassus <https://glassus.github.io/snt/Theme4_Objets_Connectes/cours/#0-presentation-de-la-carte-bbc-microbit>`_
|
44
1NSI/02_Programmation_Python_et_microbit/plan_de_travail.tex
Normal file
44
1NSI/02_Programmation_Python_et_microbit/plan_de_travail.tex
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
\documentclass[a4paper,12pt]{article}
|
||||||
|
\usepackage{myXsim}
|
||||||
|
|
||||||
|
\author{Benjamin Bertrand}
|
||||||
|
\title{Programmation Python et microbit - Plan de travail}
|
||||||
|
\tribe{1NSI}
|
||||||
|
\date{septembre 2022}
|
||||||
|
|
||||||
|
\pagestyle{empty}
|
||||||
|
|
||||||
|
\DeclareExerciseCollection{banque}
|
||||||
|
\xsimsetup{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
\maketitle
|
||||||
|
|
||||||
|
% Résumé
|
||||||
|
|
||||||
|
\bigskip
|
||||||
|
|
||||||
|
Savoir-faire de la séquence
|
||||||
|
\begin{itemize}
|
||||||
|
\item
|
||||||
|
\end{itemize}
|
||||||
|
|
||||||
|
\bigskip
|
||||||
|
|
||||||
|
Ordre des étapes à respecter
|
||||||
|
|
||||||
|
|
||||||
|
\section{}
|
||||||
|
|
||||||
|
\listsectionexercises
|
||||||
|
|
||||||
|
|
||||||
|
\pagebreak
|
||||||
|
|
||||||
|
\input{exercises.tex}
|
||||||
|
\printcollection{banque}
|
||||||
|
|
||||||
|
|
||||||
|
\end{document}
|
28
1NSI/02_Programmation_Python_et_microbit/solutions.tex
Normal file
28
1NSI/02_Programmation_Python_et_microbit/solutions.tex
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
\documentclass[a4paper,10pt]{article}
|
||||||
|
\usepackage{myXsim}
|
||||||
|
|
||||||
|
\usetikzlibrary{shapes.geometric}
|
||||||
|
|
||||||
|
\author{Benjamin Bertrand}
|
||||||
|
\title{Programmation Python et microbit - Solutions}
|
||||||
|
\tribe{1NSI}
|
||||||
|
\date{septembre 2022}
|
||||||
|
|
||||||
|
\DeclareExerciseCollection{banque}
|
||||||
|
\xsimsetup{
|
||||||
|
exercise/print=false,
|
||||||
|
solution/print=true,
|
||||||
|
}
|
||||||
|
|
||||||
|
\pagestyle{empty}
|
||||||
|
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\maketitle
|
||||||
|
|
||||||
|
\input{exercises.tex}
|
||||||
|
%\printcollection{banque}
|
||||||
|
%\printsolutions{exercises}
|
||||||
|
|
||||||
|
\end{document}
|
@ -2,7 +2,7 @@ Spécialité première NSI
|
|||||||
#######################
|
#######################
|
||||||
|
|
||||||
:date: 2022-07-25
|
:date: 2022-07-25
|
||||||
:modified: 2022-08-29
|
:modified: 2022-09-04
|
||||||
:authors: Bertrand Benjamin
|
:authors: Bertrand Benjamin
|
||||||
:category: 1NSI
|
:category: 1NSI
|
||||||
:tags: Progression
|
:tags: Progression
|
||||||
@ -23,61 +23,63 @@ Période 1
|
|||||||
:link: ./01_Web_HTML_CSS/
|
:link: ./01_Web_HTML_CSS/
|
||||||
|
|
||||||
.. big_button::
|
.. big_button::
|
||||||
:title: Bases de la programmation en python
|
:title: Bases de la programmation en python avec microbit
|
||||||
|
:link: ./02_Programmation_Python_et_microbit/
|
||||||
|
|
||||||
|
|
||||||
.. big_button::
|
.. big_button::
|
||||||
:title: Système d'exploitation
|
:title: Système d'exploitation
|
||||||
|
|
||||||
.. big_button::
|
.. big_button::
|
||||||
:title: Représentation d'entiers en binaire
|
:title: Représentation d'entiers en binaire
|
||||||
|
|
||||||
Période 2
|
Période 2
|
||||||
---------
|
---------
|
||||||
|
|
||||||
.. big_button::
|
.. big_button::
|
||||||
:title: Architecture réseau
|
:title: Architecture réseau
|
||||||
|
|
||||||
.. big_button::
|
.. big_button::
|
||||||
:title: Fonction et spécification
|
:title: Fonction et spécification
|
||||||
|
|
||||||
.. big_button::
|
.. big_button::
|
||||||
:title: Représentation d'un texte
|
:title: Représentation d'un texte
|
||||||
|
|
||||||
.. big_button::
|
.. big_button::
|
||||||
:title: Tuple et array
|
:title: Tuple et array
|
||||||
|
|
||||||
.. big_button::
|
.. big_button::
|
||||||
:title: Recherche dans une liste
|
:title: Recherche dans une liste
|
||||||
|
|
||||||
Période 3
|
Période 3
|
||||||
---------
|
---------
|
||||||
|
|
||||||
.. big_button::
|
.. big_button::
|
||||||
:title: Interaction client/serveur
|
:title: Interaction client/serveur
|
||||||
|
|
||||||
.. big_button::
|
.. big_button::
|
||||||
:title: Représentation des flottants
|
:title: Représentation des flottants
|
||||||
|
|
||||||
.. big_button::
|
.. big_button::
|
||||||
:title: Tris
|
:title: Tris
|
||||||
|
|
||||||
.. big_button::
|
.. big_button::
|
||||||
:title: Recherche pas dichotomie
|
:title: Recherche pas dichotomie
|
||||||
|
|
||||||
.. big_button::
|
.. big_button::
|
||||||
:title: Dictionnaires
|
:title: Dictionnaires
|
||||||
|
|
||||||
Période 4
|
Période 4
|
||||||
---------
|
---------
|
||||||
|
|
||||||
.. big_button::
|
.. big_button::
|
||||||
:title: Booléen et table de vérité
|
:title: Booléen et table de vérité
|
||||||
|
|
||||||
.. big_button::
|
.. big_button::
|
||||||
:title: Interaction home machine (javascript)
|
:title: Interaction home machine (javascript)
|
||||||
|
|
||||||
.. big_button::
|
.. big_button::
|
||||||
:title: I/O informatique embarquée
|
:title: I/O informatique embarquée
|
||||||
|
|
||||||
Période 5
|
Période 5
|
||||||
---------
|
---------
|
||||||
|
Loading…
Reference in New Issue
Block a user