\documentclass[14pt]{classPres}
\usepackage{tkz-fct}
\usepackage{listings}

\author{}
\title{}
\date{}

\begin{document}
\begin{frame}{Questions flash}
    \begin{center}
        \vfill
        2nd
        \vfill
        30 secondes par calcul
        \vfill
        {\Large Calculatrice autorisée}
        \vfill
        \tiny \jobname
    \end{center}
\end{frame}

\begin{frame}[fragile]{Calcul 1}
    % Fractions
    Quel point a pour abscisse $\dfrac{5}{4}$?

    \vfill
    \begin{tikzpicture}[scale=0.7]
        % \draw[line width=2mm, color=red] (0, 0) -- (3, 0);
        % \draw[line width=2mm, color=red] (5, 0) -- (8, 0);
        \draw[thick, ->] (0,0) -- (16, 0);
        \foreach \x in {0, 1, ..., 15} \draw[] (\x, -0.1)  -- (\x, 0.1);
        \draw[very thick] (1, 0.2) -- (1, -0.2) node [below] {0};
        \draw[very thick] (9, 0.2) -- (9, -0.2) node [below] {1};
        %\draw[very thick] (17, 0.2) -- (17, -0.2);

        \draw (3, 0) node {$\bullet$} node [above] {$A$};
        \draw (4, 0) node {$\bullet$} node [below] {$B$};
        \draw (5, 0) node {$\bullet$} node [above] {$C$};
        \draw (7, 0) node {$\bullet$} node [above] {$D$};
        \draw (11, 0) node {$\bullet$} node [above] {$E$};
        \draw (13, 0) node {$\bullet$} node [above] {$F$};
        %\draw (12, 0) node [below] {2};
    \end{tikzpicture}
    \vfill
\end{frame}

\begin{frame}{Calcul 2}
    % Information chiffrée
    \vfill
    Quel taux d'évolution doit-on appliquer pour revenir à la valeur initial après une diminution de 50\%?
    \vfill
\end{frame}

\begin{frame}[fragile]{Calcul 3}
    % Programmation
    \begin{center}
        \begin{lstlisting}[language=Python, basicstyle=\small, frame=]
for i in range(4):
    print(i*3)
        \end{lstlisting}
    \end{center}
    \vfill
    Que va afficher le programme?
    \vfill
\end{frame}

\begin{frame}[fragile]{Calcul 4}
    % Tableaux signe et variations
    \vfill
    \begin{tikzpicture}
        \tkzTabInit[lgt=2,espcl=2]{$ x $/1,$ f(x) $/2}{-5, 3, 4, 5}
        \tkzTabLine{, -, z, +, z, -,  }
    \end{tikzpicture}

    \vfill
    Résoudre $f(x) \geq 0$.
    \vfill
\end{frame}

\begin{frame}{Fin}
    \begin{center}
        On retourne son papier.
    \end{center}
\end{frame}


\end{document}
