\documentclass[norsk,a4paper]{article}

\usepackage[utf8x]{inputenc}    
%\usepackage[latin1]{inputenc}    
\usepackage[T1]{fontenc}
\usepackage{multicol}
\usepackage{pgffor}
%\usepackage{babel}

%%%% Norwegian ligature definition %%%%
%\catcode`æ=\active\catcode`ø=\active\catcode`å=\active
%\catcode`Æ=\active\catcode`Ø=\active\catcode`Å=\active
%\defæ{\ae}\defø{\o}\defå{\aa}
%\defÆ{\AE}\defØ{\O}\defÅ{\AA}

\usepackage[lang=NO,insidebox,noshuffle,postcorrect]{automultiplechoice}    

\def\NoOfQuestions{40}
\def\StudentNoDigits{4}

\AMCtext{draft}{U T K A S T}
\AMCtext{qf}{Oppgave }
\AMCtext{q}{Oppgave }
\AMCboxDimensions{size=3.0ex,down=.7ex}
\def\AMCchoiceLabel#1{\alph{#1}} 
\AMCformBegin

\begin{document}

	\begin{minipage}{1\linewidth} 	%%% test sheet header

		\begin{center}\large\bf
			Svarark til eksamen i \\ 
			ING100/ING110/ING120/ING130/ING140/BID260 \\  {\em \LARGE
			Ingeni{\o}rfaglig innf{\o}ringsemne \\ } 
		\end{center} 
		\end{minipage}
		\vspace{6mm}
		\begin{flushleft}\em
			Sett et tydelig kryss i rutene med sort eller bl{\aa} kulepenn. Skriver du feil m{\aa} du fylle ut et nytt svarark. 
		\end{flushleft}

		{\setlength{\parindent}{0pt}\hspace*{\fill}\AMCcode{etu}{\StudentNoDigits}\hspace*{\fill}
		\begin{minipage}[b]{55mm}
			$\longleftarrow{}$\hspace{0pt plus .2mm}\em Kode ditt kandidatnummer til 
			venstre og skriv ogs{\aa} nummeret med \StudentNoDigits \ siffer i boksen under. \em
			\vspace{3ex}
			\hfill\namefield{\fbox{
			\begin{minipage}{.9\linewidth}
				Kandidatnummer
				\vspace*{14mm} %box heigth
			\end{minipage}

			}}\hfill\vspace{12ex}
		\end{minipage}\hspace*{\fill}
	}	%%% end of test sheet header

	\vspace{6mm}

	\begin{multicols}{3}\columnseprule=.4pt

		\foreach \n in {1,...,\NoOfQuestions}{
			\begin{question}{\n}
				\begin{choicescustom}
					\wrongchoice{}
					\wrongchoice{}
					\wrongchoice{}
					\wrongchoice{}
				\end{choicescustom}
			\end{question}
			\vspace{3.4mm}
		}
	\end{multicols}

\AMCformS
\end{document}