Feat(NSI): initie l'intro des dictionnaires
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
dcfd635c62
commit
dba324015f
14
1NSI/10_Dictionnaire/1B.tex
Normal file
14
1NSI/10_Dictionnaire/1B.tex
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
\documentclass[a4paper,10pt]{article}
|
||||||
|
\usepackage{myXsim}
|
||||||
|
|
||||||
|
\author{Benjamin Bertrand}
|
||||||
|
\title{Dictionnaire - Cours}
|
||||||
|
\date{mars 2023}
|
||||||
|
|
||||||
|
\pagestyle{empty}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\maketitle
|
||||||
|
|
||||||
|
\end{document}
|
7
1NSI/10_Dictionnaire/exercises.tex
Normal file
7
1NSI/10_Dictionnaire/exercises.tex
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
\begin{exercise}[subtitle={<++>}, step={1}, origin={<++>}, topics={ Dictionnaire }, tags={ Python }]
|
||||||
|
<++>
|
||||||
|
\end{exercise}
|
||||||
|
|
||||||
|
\begin{solution}
|
||||||
|
<++>
|
||||||
|
\end{solution}
|
32
1NSI/10_Dictionnaire/index.rst
Normal file
32
1NSI/10_Dictionnaire/index.rst
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
Dictionnaire
|
||||||
|
############
|
||||||
|
|
||||||
|
:date: 2023-03-17
|
||||||
|
:modified: 2023-03-17
|
||||||
|
:authors: Benjamin Bertrand
|
||||||
|
:tags: Python
|
||||||
|
:category: 1NSI
|
||||||
|
:summary: Découverte des dictionnaires
|
||||||
|
|
||||||
|
|
||||||
|
Éléments du programme
|
||||||
|
=====================
|
||||||
|
|
||||||
|
.. list-table:: Interaction Homme machine sur le web
|
||||||
|
:header-rows: 1
|
||||||
|
|
||||||
|
* - Contenus
|
||||||
|
- Capacités attendues
|
||||||
|
- Commentaires
|
||||||
|
|
||||||
|
* - Dictionnaires par clés et valeurs
|
||||||
|
- Construire une entrée de dictionnaire.
|
||||||
|
Itérer sur les éléments d’un dictionnaire.
|
||||||
|
- Il est possible de présenter les données EXIF d’une image sous la forme d’un enregistrement. En Python, les p-uplets nommés sont implémentés par des dictionnaires. Utiliser les méthodes keys(), values () et items ().
|
||||||
|
|
||||||
|
Progression
|
||||||
|
===========
|
||||||
|
|
||||||
|
- Construction d'un mémo sur les dictionnaires.
|
||||||
|
- Exercices de construction de fonctions de manipulation de dictionnaires
|
||||||
|
- Manipulation des données Exif
|
44
1NSI/10_Dictionnaire/plan_de_travail.tex
Normal file
44
1NSI/10_Dictionnaire/plan_de_travail.tex
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
\documentclass[a4paper,12pt]{article}
|
||||||
|
\usepackage{myXsim}
|
||||||
|
|
||||||
|
\author{Benjamin Bertrand}
|
||||||
|
\title{Dictionnaire - Plan de travail}
|
||||||
|
\tribe{1NSI}
|
||||||
|
\date{mars 2023}
|
||||||
|
|
||||||
|
\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/10_Dictionnaire/solutions.tex
Normal file
28
1NSI/10_Dictionnaire/solutions.tex
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
\documentclass[a4paper,10pt]{article}
|
||||||
|
\usepackage{myXsim}
|
||||||
|
|
||||||
|
\usetikzlibrary{shapes.geometric}
|
||||||
|
|
||||||
|
\author{Benjamin Bertrand}
|
||||||
|
\title{Dictionnaire - Solutions}
|
||||||
|
\tribe{1NSI}
|
||||||
|
\date{mars 2023}
|
||||||
|
|
||||||
|
\DeclareExerciseCollection{banque}
|
||||||
|
\xsimsetup{
|
||||||
|
exercise/print=false,
|
||||||
|
solution/print=true,
|
||||||
|
}
|
||||||
|
|
||||||
|
\pagestyle{empty}
|
||||||
|
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\maketitle
|
||||||
|
|
||||||
|
\input{exercises.tex}
|
||||||
|
%\printcollection{banque}
|
||||||
|
%\printsolutions{exercises}
|
||||||
|
|
||||||
|
\end{document}
|
Loading…
Reference in New Issue
Block a user