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; }

Captain King

Gap-Fill Exercise





This is a story about Captain King and his . They have been all over . One day they were out of food and landed on a new planet.

They saw a huge, white cliff. In the cliff there were four doors - two storeys high! Captain King and his men went one of the doors into a cave. The furniture inside was earth-type but very small. "I'm not ," Peters said. "This is not the home of a monster."

The ground began to shake. The door opened and some animals came . They looked like mice, giant mice! Following them was a very small man. He looked human but he had only one eye in the middle of his face. He had nose and no ears. He had long, brown hair. He turned to close the door and shouted, "Good night, friends." The friends outside shouted, "Good night, Nobody."

Captain King was very happy. He thought," This Nobody is so we can easily take food from him." Nobody round and saw them. He gave a roar. "Aliens in my cave! How did you get in here?" Captain King said quietly, "We come in peace. We want all your food. That's our custom."

Before he could move, Nobody pressed a on the wall behind him. The giant mice came in and ate all the crew. Captain King was the last to .