Make your own free website on Tripod.com
"); parent.frames[0].document.writeln ("
"); parent.frames[0].document.writeln (Feedback); parent.frames[0].document.writeln ("
"); parent.frames[0].document.close(); } function Cheat(){ CurrentAnswers = new Array(4); CorrectBits = new Array(4); var CurrentAnswer = FindCurrent(); if (CurrentAnswer == -1) { return; } CurrentAnswers[1] = AnswerList[(CurrentAnswer * 4) + 1]; CurrentAnswers[2] = AnswerList[(CurrentAnswer * 4) + 2]; CurrentAnswers[3] = AnswerList[(CurrentAnswer * 4) + 3]; CurrentAnswers[4] = AnswerList[(CurrentAnswer * 4) + 4]; CorrectBits[1] = CheckBeginning(document.cloze.elements[CurrentAnswer].value, CurrentAnswers[1]); CorrectBits[2] = CheckBeginning(document.cloze.elements[CurrentAnswer].value, CurrentAnswers[2]); CorrectBits[3] = CheckBeginning(document.cloze.elements[CurrentAnswer].value, CurrentAnswers[3]); CorrectBits[4] = CheckBeginning(document.cloze.elements[CurrentAnswer].value, CurrentAnswers[4]); Longest = FindLongest(CorrectBits[1], CorrectBits[2], CorrectBits[3], CorrectBits[4]); document.cloze.elements[CurrentAnswer].value = CorrectBits[Longest]; WriteFeedback(GiveHint); } function TrackFocus(BoxNumber){ CurrentWord = BoxNumber; } function CheckBeginning(Guess, Answer){ var OutString = ''; var i = 0; var UpperGuess = ''; var UpperAnswer = ''; if (CaseSensitive == 'False') { UpperGuess = ConvertCase(Guess, 1); UpperAnswer = ConvertCase(Answer, 1); } else { UpperGuess = Guess; UpperAnswer = Answer; } while (UpperGuess.charAt(i) == UpperAnswer.charAt(i)) { OutString += Guess.charAt(i); i++; } OutString += Answer.charAt(i); return OutString; } function CheckAnswer(Guess, AnsNum){ if (CaseSensitive == 'True'){ if ((Guess == AnswerList[(AnsNum * 4) + 1]) || (Guess == AnswerList[(AnsNum * 4) + 2]) || (Guess == AnswerList[(AnsNum * 4) + 3]) || (Guess == AnswerList[(AnsNum * 4) + 4])) { return true; } else { return false; } } else{ Guess = ConvertCase(Guess, 1); if ((Guess == ConvertCase(AnswerList[(AnsNum * 4) + 1], 1)) || (Guess == ConvertCase(AnswerList[(AnsNum * 4) + 2], 1)) || (Guess == ConvertCase(AnswerList[(AnsNum * 4) + 3], 1)) || (Guess == ConvertCase(AnswerList[(AnsNum * 4) + 4], 1))) { return true; } else { return false; } } } function FindCurrent() { var FoundCurrent = -1; var x = 0; if (CheckAnswer(document.cloze.elements[CurrentWord].value, CurrentWord) == false) { FoundCurrent = CurrentWord; } else { x=CurrentWord + 1; while ((FoundCurrent == -1) && (x= LongString.length){ Longest = 3; LongString = Third; } if (Second.length >= LongString.length){ Longest = 2; LongString = Second; } if (First.length >= LongString.length){ Longest = 1; LongString = First; } return Longest; }

Zygl

Gap-Fill Exercise




Space.jpgThis is the planet Vangol. It is two hundred million miles away from the Earth. It's a yellow planet. It has multi-coloured which go all the way round it, and it has three . On my planet is no air and there is no water, but there is lots of gold. Vangol people eat gold. We it for breakfast, and dinner. Also on Vangol there is lot of oil. Vangol people drink this oil. On Vangol there are many mountains and many volcanoes. There are seas or plants.



Zygl.jpgHello! My name is Zygl. I am the planet Vangol. I have a head and I have special zoom eyes. I can see a very way. On my head there are two antennae. I hear very well. I have four arms and four hands, but I have only leg. In the of my stomach there is a gun. I can fight very well. My neck is extremely long. I can my head round and round!