"); document.write("

Answers...

"); var currentScore=0; for (var y=0; y<36;y++) { tempAns= new String; tempCorrect= new String; tempAns= Answers[y]; tempCorrect= CorrectAns[y]; if (tempAns.toLowerCase()==tempCorrect.toLowerCase()) { currentScore=currentScore+1; } } document.write("

You Scored "+currentScore.toString()+" out of 36."); var currentGrade=new String var currentComment=new String currentGrade="" currentComment="" if (currentScore>=0) { currentGrade="Amatør"; currentComment="Datafaget passer ikke for deg"; } if (currentScore>=7) { currentGrade="Nybegynner"; currentComment="Du har litt greie på data"; } if (currentScore>=14) { currentGrade="Avansert nybegynner"; currentComment="Du er ein typisk kontor-rotte"; } if (currentScore>=18) { currentGrade="Data-Expert"; currentComment="Du kan mye om data"; } if (currentScore>=23) { currentGrade="IT-Konsulent"; currentComment="Du kan gi folk råd om data"; } if (currentScore>=28) { currentGrade="Nerd"; currentComment="Du er en typisk nerd"; } if (currentScore>=30) { currentGrade="Sjef Nerd"; currentComment="Du kan absolutt alt som kan vites om data, i alle nesten"; } if (currentScore>=36) { currentGrade="Data-konge"; currentComment="Du er konge når det gjelder data"; } document.write("

This gives you a grade of "+currentGrade+". "+currentComment+"

"); for (var y=0; y<36;y++) { var realy=y+1; tempAns= new String; tempCorrect= new String; tempAns= Answers[y]; tempCorrect= CorrectAns[y]; if (tempAns.toLowerCase()==tempCorrect.toLowerCase()) { document.write("

Question "+realy.toString()+" - Correct.

"); } else { document.write("

Question "+realy.toString()+" - Incorrect. Actual Answer was: "+Explanation[y]+"

"); } } document.write('
'); document.write('

Powered by WebQuestions 2

'); document.write(" "); document.write("