/* This script and many more are available free online at
The JavaScript Source :: http://javascript.internet.com
Created by: James Crooke :: http://www.cj-design.com */

var questions = new Array();
var choices = new Array();
var answers = new Array();
var response = new Array();

// To add more questions, just follow the format below.

questions[0] = "1) What is the article mainly about?";
choices[0] = new Array();
choices[0][0] = "a) The best way to learn English";
choices[0][1] = "b) Yao history of learning English";
choices[0][2] = "c) How to speak basketball English";
answers[0] = choices[0][1];

questions[1] = "2) Who influenced Yao to learn English?";
choices[1] = new Array();
choices[1][0] = "a) His coach";
choices[1][1] = "b) His teammates";
choices[1][2] = "c) His mother";
answers[1] = choices[1][2];

questions[2] = "3) What happened in 1998?";
choices[2] = new Array();
choices[2][0] = "a) Yao moved to America.";
choices[2][1] = "b) Yao joined the CBA.";
choices[2][2] = "c) Yao learned to speak basketball English.";
answers[2] = choices[2][2];

questions[3] = "4) In his early NBA career, Yao had difficulty ________ .";
choices[3] = new Array();
choices[3][0] = "a) understanding reporter's";
choices[3][1] = "b) speaking confidently";
choices[3][2] = "c) both of these";
answers[3] = choices[3][1];

questions[4] = "5) What does the article infer about English in China?";
choices[4] = new Array();
choices[4][0] = "a) It is mandatory for college students.";
choices[4][1] = "b) It is useful for student's careers.";
choices[4][2] = "c) English is hard for students to learn.";
answers[4] = choices[4][1];

questions[5] = "6) What does the last sentence suggest?";
choices[5] = new Array();
choices[5][0] = "a) Yao will open language schools.";
choices[5][1] = "b) Yao plans to write a book.";
choices[5][2] = "c) Yao will become completely bilingual.";
answers[5] = choices[5][2];

// response for getting 100%
response[0] = "Excellent, top marks!";
// response for getting 90% or more
response[1] = "Excellent, try again to get 100%!"
// response for getting 70% or more
response[2] = "Well done, that is a good score, can you do better?";
// response for getting over 50%
response[3] = "Nice one, you got more than half of the questions right, can you do better?";
// response for getting 40% or more
response[4] = "You got some questions right, you can do better!";
// response for getting 20% or more
response[5] = "You didn't do too well, why not try again!?";
// response for getting 10% or more
response[6] = "That was pretty poor!  Try again to improve!";
// response for getting 9% or less
response[7] = "Not so good! Maybe you should read the transcript.";



