\documentclass[a4paper]{article}

  \usepackage[utf8]{inputenc}    
  \usepackage[T1]{fontenc}
  \usepackage{multirow}
  \usepackage{lastpage}
  
  \usepackage{multicol}
  
  \usepackage[francais,bloc,separateanswersheet]{automultiplechoice}    
  
  \graphicspath{{./}{./figures/}}

   
  \begin{document}
  
\element{type1}{
	\begin{questionmult}{Q1}\bareme{p=0,b=0,m=0,d=(NBC+NMC==N || NBC+NMC==0 ? 0 : NBC/NB-NMC/NM)}
		{My question 1}
		\begin{reponses}
			\mauvaise{R1}
			\bonne{R2}
			\mauvaise{R3}
			\mauvaise{R4}
		\end{reponses}
	\end{questionmult}
}


\element{type1}{
	\begin{questionmult}{Q2}\bareme{p=0,b=0,m=0,d=(NBC+NMC==N || NBC+NMC==0 ? 0 : NBC/NB-NMC/NM)}
		{My question 2}
		\begin{multicols}{2}
			\begin{reponses}
				\mauvaise{R1}
				\bonne{R2}
				\mauvaise{R3}
				\mauvaise{R4}
			\end{reponses}
		\end{multicols}
	\end{questionmult}
}
  
  \exemplaire{1}{    
  
 
  
  \clearpage
  \restituegroupe{type1}

  \AMCcleardoublepage
  
%\AMCformBegin    
\AMCdebutFormulaire
{\large\bf Answer sheet:}
\hfill \namefield{\fbox{    
    \begin{minipage}{.5\linewidth}
      Id number:      
      \vspace*{.5cm}\dotfill
      \vspace*{1mm}
    \end{minipage}
  }}
\begin{center}
  \bf\em Answers must be given exclusively on this sheet: 
  answers given on the other sheets will be ignored.
\end{center}
\begin{multicols}{2}
%\AMCform  
 \vspace*{.5cm}
  
  \noindent\AMCcode{num.anon}{8}\hspace*{\fill}
  \begin{minipage}{.5\linewidth}
  $\longleftarrow{}$ Fill with your \textbf{id number}
  
  \end{minipage}
\formulaire
\end{multicols} 
\clearpage 
  
  } % fin exemplaires
  
  
  
  \end{document}
  