\documentclass[a4paper]{article}

\usepackage[utf8x]{inputenc}   
\usepackage{multicol}
\usepackage[T1]{fontenc}



\usepackage[completemulti,separateanswersheet]{automultiplechoice}  

\begin{document}

\AMCrandomseed{1237893}


%\AMCinterBquest=1.0ex
\AMCinterIquest=-6pt





\element{general}{
\begin{question}{Gha}\AMCBoxedAnswers   \vspace*{-0.4cm}
%\setlength{\columnseprule}{0.0pt}
    What is the capital of Ghana?
    \begin{multicols}{2}\AMCinterBrep=0.1em 
      \begin{choices}
        \correctchoice{Beijing}
        \wrongchoice{Nanjing}
        \wrongchoice{Shenghai}
        \wrongchoice{Accra}
      \end{choices}
    \end{multicols}
  \end{question}
}


\element{general}{

\begin{question}{id1}
\begin{choicescustom}[o]
        \wrongchoice[T]{}
        \correctchoice[F]{}
\end{choicescustom}
This is a True or False question.
\end{question}
}




\element{general}{
\begin{question}{Gha2}\AMCBoxedAnswers   \vspace*{-0.4cm}
%\setlength{\columnseprule}{0.0pt}
    What is the capital of Ghana?
    \begin{multicols}{2}\AMCinterBrep=0.1em 
      \begin{choices}
        \correctchoice{Beijing}
        \wrongchoice{Nanjing}
        \wrongchoice{Shenghai}
        \wrongchoice{Accra}
      \end{choices}
    \end{multicols}
  \end{question}
}


\element{general}{

\begin{question}{id2}
\begin{choicescustom}[o]
        \wrongchoice[T]{}
        \correctchoice[F]{}
\end{choicescustom}
This is a True or False question.
\end{question}
}

\element{general}{
  \begin{question}{Yaounde} 
  What is the capital city of Cameroon?
  \AMCOpen{lineup=true,hspace=0.1mm,boxmargin=0.1ex,Treserved=Cam}{\wrongchoice[>]{>}\scoring{1}\correctchoice[<]{<}\scoring{2}} 
\end{question}
}

\element{general}{

\begin{question}{id3}
\begin{choicescustom}[o]
        \wrongchoice[T]{}
        \correctchoice[F]{}
\end{choicescustom}
This is a True or False question.
\end{question}
}

\element{general}{
  \begin{question}{Accra}
  What is the capital city of Ghana?
  \AMCOpen{lineup=true,hspace=0.1mm,boxmargin=0.1ex,Treserved=Gha}{\wrongchoice[>]{>}\scoring{1}\correctchoice[<]{<}\scoring{2}}
\end{question}
}


\element{general}{
\begin{question}{Ghax}\AMCBoxedAnswers   \vspace*{-0.4cm}
%\setlength{\columnseprule}{0.0pt}
    What is the capital of Ghana?
    \begin{multicols}{2}\AMCinterBrep=0.1em 
      \begin{choices}
        \correctchoice{Beijing}
        \wrongchoice{Nanjing}
        \wrongchoice{Shenghai}
        \wrongchoice{Accra}
      \end{choices}
    \end{multicols}
  \end{question}
}

\element{general}{
\begin{question}{id4}
\begin{choicescustom}[o]
        \wrongchoice[T]{}
        \correctchoice[F]{}
\end{choicescustom}
This is a True or False question.
\end{question}
}


\element{general}{
  \begin{question}{Accra2}
  What is the capital city of Ghana?
  \AMCOpen{lineup=true,hspace=0.1mm,boxmargin=0.1ex,Treserved=Gha}{\wrongchoice[>]{>}\scoring{1}\correctchoice[<]{<}\scoring{2}}
\end{question}
}

\element{general}{
  \begin{question}{Accra3}
  What is the capital city of Ghana?
  \AMCOpen{lineup=true,hspace=0.1mm,boxmargin=0.1ex,Treserved=Gha}{\wrongchoice[>]{>}\scoring{1}\correctchoice[<]{<}\scoring{2}}
\end{question}
}


\element{general}{
  \begin{question}{Accra4}
  What is the capital city of Ghana?
  \AMCOpen{lineup=true,hspace=0.1mm,boxmargin=0.1ex,Treserved=Gha}{\wrongchoice[>]{>}\scoring{1}\correctchoice[<]{<}\scoring{2}}
\end{question}
}

\element{general}{
  \begin{question}{Accra5}
  What is the capital city of Ghana?
  \AMCOpen{lineup=true,hspace=0.1mm,boxmargin=0.1ex,Treserved=Gha}{\wrongchoice[>]{>}\scoring{1}\correctchoice[<]{<}\scoring{2}}
\end{question}
}



\element{general}{
  \begin{questionmult}{pref}  \AMCBoxedAnswers    
    Among the following cities, which ones are french prefectures?
    \begin{choices} \AMCinterBrep=0.1em 
      \correctchoice{Poitiers}
      \wrongchoice{Sainte-Menehould}
      \correctchoice{Avignon}
    \end{choices}
  \end{questionmult}
}

\element{general}{
\begin{question}{id5}
\begin{choicescustom}[o]
        \wrongchoice[T]{}
        \correctchoice[F]{}
\end{choicescustom}
This is a True or False question.
\end{question}
}

\element{general}{
  \begin{questionmult}{pref2}  \AMCBoxedAnswers    
    Among the following cities, which ones are french prefectures?
    \begin{choices} \AMCinterBrep=0.1em 
      \correctchoice{Poitiers}
      \wrongchoice{Sainte-Menehould}
      \correctchoice{Avignon}
    \end{choices}
  \end{questionmult}
}

\element{general}{
  \begin{question}{Yaounde2} 
  What is the capital city of Cameroon?
  \AMCOpen{lineup=true,hspace=0.1mm,boxmargin=0.1ex,Treserved=Cam}{\wrongchoice[>]{>}\scoring{1}\correctchoice[<]{<}\scoring{2}} 
\end{question}
}


\element{general}{
  \begin{questionmult}{pref3}  \AMCBoxedAnswers    
    Among the following cities, which ones are french prefectures?
    \begin{choices} \AMCinterBrep=0.1em 
      \correctchoice{Poitiers}
      \wrongchoice{Sainte-Menehould}
      \correctchoice{Avignon}
    \end{choices}
  \end{questionmult}
}

\onecopy{5}{    

%%% beginning of the test sheet header:    

\noindent{\bf QCM  \hfill TEST}

\vspace*{.5cm}
\begin{minipage}{.4\linewidth}
  \centering\large\bf Test\\ Examination on Jan. 1st, 2008
\end{minipage}

\begin{center}\em
Duration : 10 minutes.

  No documents allowed. The use of electronic calculators is forbidden.

  Questions using the sign \multiSymbole{} may have
  zero, one or several correct answers.  Other questions have a single correct answer.

  Negative points may be attributed to \emph{very
    bad} answers.

\end{center}
\vspace{1ex}

%%% end of the header

%\shufflegroup{general}
\insertgroup{general}

\AMCcleardoublepage    

\AMCformBegin    

%%% beginning of the answer sheet header

{\large\bf Answer sheet:}
\hfill \namefield{\fbox{    
    \begin{minipage}{.5\linewidth}
      Firstname and lastname:
      
      \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}

%%% end of the answer sheet header

\AMCform    

\clearpage    

}  

\end{document}