'; OutString += '
'; OutString += NavBar; if (Feedback.length>0){ OutString += '' } OutString += '
'; OutString += ''; OutString += Feedback; OutString += '
Hosted by www.Geocities.ws

'; //Write it to the frame TopFrame.document.clear(); TopFrame.document.open(); TopFrame.document.write(OutString); TopFrame.document.close(); } function StartUp(){ //Reduce array if required if (QsToShow < I.length){ ReduceItems(); } //Shuffle stuff if required if (ShuffleQs == true){ I = Shuffle(I); } if (ShuffleAs == true){ for (var i=0; ia master'; I[0][1][0][2] = 1; I[0][1][1] = new Array(); I[0][1][1][0]='non-count noun'; I[0][1][1][1]='We can count masters:
many masters'; I[0][1][1][2] = 0; I[0][2] = 0; I[1] = new Array(); I[1][0]='A great master was meditating one day about snow falling on a branch.
In this sentence, day is a ...'; I[1][1] = new Array(); I[1][1][0] = new Array(); I[1][1][0][0]='count noun'; I[1][1][0][1]='That\'s right, a count noun:
one day'; I[1][1][0][2] = 1; I[1][1][1] = new Array(); I[1][1][1][0]='non-count noun'; I[1][1][1][1]='We can count days:
two days'; I[1][1][1][2] = 0; I[1][2] = 0; I[2] = new Array(); I[2][0]='A great master was meditating one day about snow falling on a branch.
In this sentence, snow is a ...'; I[2][1] = new Array(); I[2][1][0] = new Array(); I[2][1][0][0]='count noun'; I[2][1][0][1]='Snow is a collective noun.
There is a lot of snow.
or
There is little snow.'; I[2][1][0][2] = 0; I[2][1][1] = new Array(); I[2][1][1][0]='non-count noun'; I[2][1][1][1]='That\'s right, snow is a collective noun.
There is a lot of snow.
or
There is little snow.'; I[2][1][1][2] = 1; I[2][2] = 0; I[3] = new Array(); I[3][0]='A great master was meditating one day about snow falling on a branch.
In this sentence, branch is a ...'; I[3][1] = new Array(); I[3][1][0] = new Array(); I[3][1][0][0]='count noun'; I[3][1][0][1]='That\'s right. Branch is a count noun:
one branch'; I[3][1][0][2] = 1; I[3][1][1] = new Array(); I[3][1][1][0]='non-count noun'; I[3][1][1][1]='We can count branches:
two branches'; I[3][1][1][2] = 0; I[3][2] = 0; I[4] = new Array(); I[4][0]='Instead of letting the accumulating snow\'s weight get so big that it would break it, the branch yielded and let the snow fall to the ground.
In this sentence, weight is a ...'; I[4][1] = new Array(); I[4][1][0] = new Array(); I[4][1][0][0]='count noun'; I[4][1][0][1]='In this case, weight, the measure of how heavy something is, is collective and non-count. When speaking of weight as a heavy object, it may be a count noun.
'; I[4][1][0][2] = 0; I[4][1][1] = new Array(); I[4][1][1][0]='non-count noun'; I[4][1][1][1]='That\'s right. In this case, weight, the measure of how heavy something is, is collective and non-count. When speaking of weight as a heavy object, it may be a count noun.
'; I[4][1][1][2] = 1; I[4][2] = 0; I[5] = new Array(); I[5][0]='Instead of letting the accumulating snow\'s weight get so big that it would break it, the branch yielded and let the snow fall to the ground.
In this sentence, branch is a ...'; I[5][1] = new Array(); I[5][1][0] = new Array(); I[5][1][0][0]='count noun'; I[5][1][0][1]='That\'s right. Branch is a count noun:
one branch'; I[5][1][0][2] = 1; I[5][1][1] = new Array(); I[5][1][1][0]='non-count noun'; I[5][1][1][1]='We can count branches:
two branches'; I[5][1][1][2] = 0; I[5][2] = 0; I[6] = new Array(); I[6][0]='Instead of letting the accumulating snow\'s weight get so big that it would break it, the branch yielded and let the snow fall to the ground.
In this sentence, snow is a ...'; I[6][1] = new Array(); I[6][1][0] = new Array(); I[6][1][0][0]='count noun'; I[6][1][0][1]='That\'s right, snow is a collective noun.
There is a lot of snow.
or
There is little snow.'; I[6][1][0][2] = 0; I[6][1][1] = new Array(); I[6][1][1][0]='non-count noun'; I[6][1][1][1]='That\'s right, snow is a collective noun.
There is a lot of snow.
or
There is little snow.'; I[6][1][1][2] = 1; I[6][2] = 0; I[7] = new Array(); I[7][0]='Instead of letting the accumulating snow\'s weight get so big that it would break it, the branch yielded and let the snow fall to the ground.
In this sentence, ground is a ...'; I[7][1] = new Array(); I[7][1][0] = new Array(); I[7][1][0][0]='count noun'; I[7][1][0][1]='Ground is generally not counted, but is used collectively:
some ground; a lot of ground.'; I[7][1][0][2] = 0; I[7][1][1] = new Array(); I[7][1][1][0]='non-count noun'; I[7][1][1][1]='That\'s right. Ground is a collective noun:
some ground; a lot of ground.'; I[7][1][1][2] = 1; I[7][2] = 0; I[8] = new Array(); I[8][0]='The branch uses the snow\'s own strength against itself.
In this sentence, branch is a ...'; I[8][1] = new Array(); I[8][1][0] = new Array(); I[8][1][0][0]='count noun'; I[8][1][0][1]='That\'s right. Branch is a count noun:
one branch'; I[8][1][0][2] = 1; I[8][1][1] = new Array(); I[8][1][1][0]='non-count noun'; I[8][1][1][1]='We can count branches:
two branches'; I[8][1][1][2] = 0; I[8][2] = 0; I[9] = new Array(); I[9][0]='The branch uses the snow\'s own strength against itself.
In this sentence, strength is a ...'; I[9][1] = new Array(); I[9][1][0] = new Array(); I[9][1][0][0]='count noun'; I[9][1][0][1]='In this case, strength is used collectively as a measure. At other times we may speak of specific strengths in contrast with each other:
e.g. the strengths of an argument'; I[9][1][0][2] = 0; I[9][1][1] = new Array(); I[9][1][1][0]='non-count noun'; I[9][1][1][1]='That\'s right. In this case, strength is collective and non-count:
great strenght; little strength.'; I[9][1][1][2] = 1; I[9][2] = 0; Status = new Array(); function CreateStatusArrays(){ for (var x=0; x-1){ FirstBit = InString.substring(0, i); LastBit = InString.substring(i + Token.length, InString.length); InString = FirstBit + Replacement + LastBit; i = InString.indexOf(Token); } return InString; } function ChangeQ(ChangeBy){ var NewNum = CurrQNum + ChangeBy; if ((NewNum >= 0)&&(NewNum '; OutString += '
'; OutString += TitleCode; OutString += ''; OutString += NavBar; OutString += '
'; OutString += ''; OutString += StuffToDisplay; OutString += '
Hosted by www.Geocities.ws

'; if (is.CRAPBrowser){OutString=ResolveAllURLs(OutString);} //Write it to the frame BottomFrame.document.clear(); BottomFrame.document.open(); BottomFrame.document.write(OutString); BottomFrame.document.close(); } function ShowAllQs(){ var Output = ''; for (var i=0; i
'; } Output = Output + BuildQuestion(I.length-1); Output = TableOpener + Output + TableCloser; DisplayExercise(Output); } function ShowQuestion(QNum){ //First, create the Q number readout at the top var Readout = (QNum+1) + '/' + I.length; while (Readout.length < 7){ Readout = ' ' + Readout + ' '; } Readout = QButtonsOpener + Readout + QButtonsCloser; var Output = BuildQuestion(QNum); Output = TableOpener + Output + TableCloser; DisplayExercise(Readout + Output); //Mark the answers already done for (i=0; i=0; i--){ //Find any incorrect choices var b = eval('BottomFrame.document.QForm.A_' + QNum + '_' + i); if (b != null){ //if it's wrong, count it if (b.checked == true){ Status[QNum][1][i] = 'C'; } else{ Status[QNum][1][i] = 'U'; } if (((b.checked == true) && (b.value == "0"))||((b.checked == false)&&(b.value == "1"))){ TotWrong++; } } } if (TotWrong == 0){ Output = DefaultRight; } else{ Output = DefaultWrong + '
' + (TotAns-TotWrong) + '/' + TotAns; } //If you haven't tried the question before if (Status[QNum][0] == 0){ if (TotWrong > 0){ Status[QNum][2]++; } if (TotWrong == 0){ Status[QNum][0] = 1; //Calculate the score for this question as a floating-point fraction of 1 Status[QNum][3] = ((Status[QNum][1].length - Status[QNum][2]) - 1) / (Status[QNum][1].length - 1); //If less than zero, set to zero if (Status[QNum][3] < 0){Status[QNum][3] = 0;} } } //Check whether the quiz is finished var Finished = true; for (var i=0; i' + YourScoreIs + ' ' + Score + '%.'; } if (Finished == true){ EraseFeedback = false; var CFT = 0; for (i=0; i 0){ WriteFeedback(Output); } } function CheckAnswer(QNum, ANum){ var Output = I[QNum][1][ANum][1]; if (Output==''){ if (I[QNum][1][ANum][2] == 1){ Output = DefaultRight; } else{ Output = DefaultWrong; } } //If it's not been previously answered correctly if (Status[QNum][0] == 0){ //If it's a correct answer if (I[QNum][1][ANum][2] == 1){ Status[QNum][0] = 1;//Mark the Q as done Status[QNum][1][ANum] = 'R'; MarkAnswer(QNum, ANum, true); //Calculate the score for this question as a floating-point fraction of 1 var PossibleWrongs = 0; for (var i=0; i' + YourScoreIs + ' ' + Score + '%.'; } if (Finished == true){ EraseFeedback = false; var CFT = 0; for (i=0; i 0){ WriteFeedback(Output); } } function MarkAnswer(QNum, ANum, Right){ var Mark = CorrectIndicator; if (Right == false){Mark = IncorrectIndicator;} if (eval('BottomFrame.document.QForm.FB_' + QNum + '_' + ANum) != null){ eval('BottomFrame.document.QForm.FB_' + QNum + '_' + ANum).value = Mark; } } function CheckCheckbox(QNum, ANum){ if (eval('BottomFrame.document.QForm.A_' + QNum + '_' + ANum) != null){ eval('BottomFrame.document.QForm.A_' + QNum + '_' + ANum).checked = true; } } function Blank(){ return '
�Half-Baked Software. Loading...
Hosted by www.Geocities.ws

'; } //--> //]]>
Hosted by www.Geocities.ws

1