\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[francais]{babel}
\usepackage[babel=true,kerning=true]{microtype}
\usepackage[francais,bloc,ensemble,automarks,chiffres,outsidebox]{automultiplechoice}
\usepackage{csvsimple}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\sujet}{
\onecopy{1}{

%%%%%%%%%%%%%%%%%%%%%% debut de l'en-tête des énoncées%%%%%%%%%%%%%%%%%%%%%%

\begin{center}
\noindent{}\fbox{\vspace*{3mm}
         \Large\bf\nom{}~\prenom{}\normalsize{} \hfill\null
          \vspace*{3mm}
      }
\end{center}
 %\medskip

%%%%%%%%%%%%%%%%%%%%%% Fin de l'en-tête des énoncées%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DEVOIR%%%%%%%%%%%%%%%%%%%%%%%%
% 																			
%  Inscrire la commande \melangegroupe{general} et \restituegroupe{general}        %
%  Mettre les textes ici puis les questions qui ne font pas partie d'un groupe     %
%
%

\begin{question}{A}
Quelle est la première  lettre ?
\begin{reponseshoriz}[o]
\bonne{A}\mauvaise{B}\mauvaise{C}\mauvaise{D}
\end{reponseshoriz}
\end{question}
 
\begin{question}{1}
Quelle est le chiffre un ?
\begin{reponseshoriz}[o]
\bonne{1}\mauvaise{2}\mauvaise{3}\mauvaise{4}
\end{reponseshoriz}
\end{question}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%% fin du devoirs%%%%%%%%%%%%%%%%%%%%%%%%%%

\clearpage
%%%%%%%%%%%%%%%%%si sujet nb pages impaires%%%%%%%%%%%%%
\AMCdebutFormulaire

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%En tête de la copie%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%Consigne de réponse et points retirer en absence de respect%%%%%%%%%

\begin{center}{\Large \uppercase{feuille de r\'eponses \`a compl\'eter}}\end{center} 

\begin{center}
\noindent{}\champnom{\fbox{    
         \Large\bf\nom{}~\prenom{}\normalsize{} \hfill\null
          \vspace*{1mm}
      }}
\end{center}
%%%%%%%%%%%%%%%%%%%%Fin de l'entête de la copie%%%%%%%%%%%%%%%%%%%%
\AMCassociation{\identifiant}
\formulaire
%\clearpage
}
}

\begin{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Préparation des groupes%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%% fin des groupes%%%%%%%%%%%%%%%%%%%%%%%%%

\csvreader[head to column names,separator=semicolon]{listetestBis.csv}{}{\sujet}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%fermeture exemplaire%%%%%%%%%%%%
\end{document}