\documentclass[a4paper,UKenglish]{article}
\usepackage[shufflerandom,xyz,pointsonright,autopstoff,twocolumns,nosolutions]{esami}%%%%% TEMA
\usepackage{lmodern,textcomp}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
% +=============================+
% |         DEFINITIONS         |
% +=============================+

\def\examname{The name of the exam}
\def\numcompiti{4}%%% The number of the versions
\date{2014/1/3}%%% THE DATE IN THE FORMAT AAAA/M/D
\def\Data{\longdate}%%% or \shortdate: the date in the heading
%\def\cartella{d:/folder}%%% The folder where are the exercises: by default the current folder%

\begin{document}
\testversioni
\pagestyle{esame}
\whiledo{\thevers<\numcompiti}{\stepvers
% +=============================+
% |       THE SEED              |
% +=============================+

\FPeval\seme{round((\thenomefile+(3*\thevers)):0)}
%%% OR SOME OTHER LIKE
%\FPeval\seme{round(\thenomefile*(\thevers)+1-trunc(\thenomefile*(\thevers)/(2^31-1):0)*(2^31-1):0)}
%\FPeval\seme{round(1+abs(\thenomefile/(\thevers)+sin(\thevers)*(\thevers)^(2)):0)}

\randomi=\seme

\permuta
% +=============================+
% |  STUFF DEFINED IN CFG FILE  |
% +=============================+

\testa%%% the heading
\istruzionii%%%  some instructions

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\section*{Part One}



\begin{test}[8]
\begin{questions}
\proofingsymbol{$\blacktriangleright$}%%% or something else
\esercizi{
test1,
test2,
test3,
test4}
%test5-fillin}
\end{questions}
\begin{questions}
\esercizi{test11,
test12,
test13,
test14,
}
\end{questions}
\end{test}
\newpage


\section*{Part two}
\istruzioniii%%% Some other instructons

\esercizi{problem1,problem2-tabella,problem3-matching,problem4-fillin}
\newpage
%\esercizi{problem3-matching,problem4-fillin}
\closevers
\newpage                                                                            %
                                                                %
\setcounter{page}{1} %%% dvi
}
\end{document}
