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

\usetheme{Warsaw}
\usefonttheme{serif}

  \usepackage{calc}
  \usepackage{ifthen}


\usepackage{fontspec}
\usepackage{unicode-math}
\usepackage{lualatex-math}
\setmainfont{STIX Two Text}
\setmathfont{STIX Two Math}


  \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}
 \institute{L.F.B.}

\hypersetup{pdfpagemode=FullScreen}
\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%
      {$8\times 7=$}%
      {$6\times 9=$}
 \end{quizzframe}


\begin{quizzframe}
  \quest%
      {$23\times 11=$}%
      {$34\times 11=$}
 \end{quizzframe}


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


\begin{quizzframe}
  \quest%
      {$25\times16=$}%
      {$25\times12=$}
 \end{quizzframe}


\begin{quizzframe}
  \quest%
      {$612\times 4=$}%
      {$721\times 4=$}
 \end{quizzframe}


\begin{quizzframe}
  \quest%
      {$56+27=$}%
      {$45+38=$}
 \end{quizzframe}


\begin{quizzframe}
  \quest%
      {$134+382=$}%
      {$265+283=$}
 \end{quizzframe}


\begin{quizzframe}
  \quest%
      {Donner la décomposition en facteurs premiers de $36$}%
      {Donner la décomposition en facteurs premiers de $42$}
 \end{quizzframe}


\begin{quizzframe}
  \quest%
      {Donner la décomposition en facteurs premiers de $140$}%
      {Donner la décomposition en facteurs premiers de $150$}
 \end{quizzframe}


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




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

\end{document}

