2018-2019/PreStSauveur/2nd/Algo/Tri/consignes.tex

52 lines
1.4 KiB
TeX
Executable File

\documentclass[a4paper,12pt]{classPres}
\usepackage{tcolorbox}
\newtcbox{\obox}{nobeforeafter,colframe=mycolor,colback=white,boxrule=0.5pt,arc=4pt,
boxsep=0pt,left=6pt,right=6pt,top=6pt,bottom=6pt,tcbox raise base}
\newtcbox{\returnbox}{nobeforeafter,colframe=mycolor,colback=mycolor!20!white,boxrule=0.5pt,arc=4pt,
boxsep=0pt,left=6pt,right=6pt,top=6pt,bottom=6pt,tcbox raise base}
\author{}
\title{}
\date{}
\begin{document}
\begin{frame}{Tri de cartes}
\vfill
\textbf{Objectif: } Trouver une méthode pour trier les cartes en ordre croissant.
\begin{center}
\obox{???} <
\obox{???} <
\obox{???} <
\obox{???} <
\obox{???} <
\obox{???}
\end{center}
\textbf{Restrictions:}
\begin{itemize}
\item Retourner 2 cartes à la fois pour comparer
\begin{center}
\obox{???}
\returnbox{111}
\obox{???}
\obox{???}
\returnbox{100}
\obox{???}
\end{center}
\item Oublier les cartes face cachée
\end{itemize}
\textbf{Production: } Écrire sur papier la méthode trouvée en utilisant les mots:
\begin{center}
\ovalbox{D'abord} \hspace{0.5cm} \ovalbox{puis} \hspace{0.5cm} \ovalbox{ensuite} \hspace{0.5cm} \ovalbox{enfin} \hspace{0.5cm} \ovalbox{jusqu'à ce que} \hspace{0.5cm} \ovalbox{tant que}\hspace{0.5cm} \ovalbox{alors}
\end{center}
\vfill
\end{frame}
\end{document}