N5 Biol. Unit 1 Cell Structure & Function (2)
<!–
var numQues = 10;
var numChoi = 4;
var answers = new Array(10);
answers[0] = "a jelly-like material in which biochemical reactions occur in all living cells ";
answers[1] = "is made of cellulose ";
answers[2] = "control the cell ";
answers[3] = "produce food ";
answers[4] = "iodine solution";
answers[5] = "many cells ";
answers[6] = "a power plant ";
answers[7] = "cells";
answers[8] = "Release energy from food in all cells ";
answers[9] = "a jelly-like material in which biochemical reactions occur in all living cells ";
function getScore(form) {
var score = 0;
var currElt;
var currSelection;
for (i=0; i<numQues; i++) {
currElt = i*numChoi;
for (j=0; j<numChoi; j++) {
currSelection = form.elements[currElt + j];
if (currSelection.checked) {
if (currSelection.value == answers[i]) {
score++;
break;
}
}
}
}
score = Math.round(score/numQues*100);
form.percentage.value = score + "%";
var correctAnswers = "";
for (i=1; i
var _gaq = _gaq || [];
_gaq.push([‘_setAccount’, ‘UA-41579742-1’]);
_gaq.push([‘_trackPageview’]);
(function() {
var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true;
ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘.google-analytics.com/ga.js’;
var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s);
})();
