\documentclass[11pt,noamsthm,french]{beamer}

%\usetheme[secheader]{Boadilla}
\usetheme{Warsaw}
%\usetheme{Madrid}
\usefonttheme{serif}

  \usepackage{calc}
  \usepackage{ifthen}

  \usepackage[utf8]{inputenc}


  \usepackage{Commandes}
  \usepackage{fourier}
  \usepackage{xlop}
  
  \usepackage{babel}
  \DecimalMathComma
 
 \newcounter{question}
 \newenvironment{quizzframe}%
                {\refstepcounter{question}
                 \begin{frame}
                 \frametitle{Question \arabic{question}}
                 }%
                {%
                 \end{frame}%
                 }

\newenvironment{blockA}%
                {\setbeamercolor{block title}{fg=white,bg=red!75!black}
                 \setbeamercolor{block body}{bg=block title.bg!30!bg}
                 \begin{block}{Sujet A}
                 }%
                 {\end{block}}

\newenvironment{blockB}%
                {\setbeamercolor{block title}{fg=white,bg=green!75!black}
                 \setbeamercolor{block body}{bg=block title.bg!30!bg}
                 \begin{block}{Sujet B}
                 }%
                 {\end{block}}

\newcommand{\quest}[2]{%
                       \begin{blockA}
                        \vspace{0.5\baselineskip}
                        \LARGE\centering#1
                        \vspace{0.5\baselineskip}
                       \end{blockA}
                       \vfill 
                       \begin{blockB}
                        \vspace{0.5\baselineskip}
                        \LARGE\centering#2
                       \vspace{0.5\baselineskip}
                       \end{blockB}
                       }

\newcommand{\esp}{\hspace{0.5em}}
\newcommand\hole[1]{.}
\opset{hrulewidth=2pt,columnwidth=1.5em,lineheight=3em}

  \date{2017/2018}
 \title{Calcul mental}
 \author{Troisième 5}
 \institute{L.F.B.}

\begin{document}
\maketitle

\begin{frame}
   \frametitle{Exemple}
   \begin{blockA}
      \LARGE Question pour ceux qui ont le sujet A
   \end{blockA}

   \begin{blockB}
     \LARGE  Question pour ceux qui ont le sujet B
   \end{blockB}

\end{frame}



\begin{quizzframe}
  \quest%
      {$7\times 9=$}%
      {$6\times 7=$}
 \end{quizzframe}


\begin{quizzframe}
  \quest%
      {$6\times 8=$}%
      {$8\times 9=$}
 \end{quizzframe}


\begin{quizzframe}
  \quest%
      {$7\times 12=$}%
      {$36 \times 11=$}
 \end{quizzframe}


\begin{quizzframe}
  \quest%
      {$11\times45=$}%
      {$12 \times 6=$}
 \end{quizzframe}


\begin{quizzframe}
  \quest%
      {$347\times 2=$}%
      {$436\times 2=$}
 \end{quizzframe}


\begin{quizzframe}
  \quest%
      {$\opidiv[remainderstyle=\hole]{57}{6}$}%
      {$\opidiv[remainderstyle=\hole]{53}{7}$}
 \end{quizzframe}


\begin{quizzframe}
  \quest%
      {$\opidiv[operandstyle.1=\hole]{61}{7}$}%
      {$\opidiv[operandstyle.1=\hole]{71}{9}$}
 \end{quizzframe}


\begin{quizzframe}
  \quest%
      {$\opidiv[resultstyle=\hole]{42}{9}$}%
      {$\opidiv[resultstyle=\hole]{53}{8}$}
 \end{quizzframe}


\begin{quizzframe}
  \quest%
      {$\opidiv[operandstyle.2=\hole]{56}{9}$}%
      {$\opidiv[operandstyle.2=\hole]{67}{9}$}
 \end{quizzframe}


\begin{quizzframe}
  \quest%
      {Indiquer les diviseurs de $1170$ parmi :\par $2$, $3$, $4$, $5$, $9$}%
      {Indiquer les diviseurs de $1140$ parmi :\par $2$, $3$, $4$, $5$, $9$}
 \end{quizzframe}




\begin{frame}
\frametitle{\strut}
 \centering \LARGE FIN \par
\end{frame}

\end{document}

