/* 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] = "Question 1: Internet Browsers are used...";
choices[0] = new Array();
choices[0][0] = "to create web page graphics";
choices[0][1] = "to file and sort web pages";
choices[0][2] = "to view web pages";
choices[0][3] = "for all of the above";
choices[0][4] = "do none of the above";
answers[0] = choices[0][2];

questions[1] = "Question 2: A ZIP program is used to...";
choices[1] = new Array();
choices[1][0] = "speed up the computers memory";
choices[1][1] = "speed up disk access ";
choices[1][2] = "archive and compress files ";
choices[1][3] = "for all of the above";
choices[1][4] = "do none of the above";
answers[1] = choices[1][2];

questions[2] = "Question 3: A device that Modulates and Demodulates computer information (MODEM) is used to... ";
choices[2] = new Array();
choices[2][0] = "change computer information to send it through a telephone line";
choices[2][1] = "convert computer data to an analog signal and back to a digital signal";
choices[2][2] = "connect two computers together through telephone lines";
choices[2][3] = "do all of the above";
choices[2][4] = "do none of the above ";
answers[2] = choices[2][3];

questions[3] = "Question 4: Uniform Resource Locator (URL) are...";
choices[3] = new Array();
choices[3][0] = "the same as Search Engines";
choices[3][1] = "the addresses of specific documents and resources on the WWW";
choices[3][2] = "never more than 11 characters long";
choices[3][3] = "all of the above";
choices[3][4] = "none of the above";
answers[3] = choices[3][1];

questions[4] = "Question 5: To download is to..";
choices[4] = new Array();
choices[4][0] = "bring information from the Internet to your computer";
choices[4][1] = "send a file to another computer on the Internet";
choices[4][2] = "both send and receiving files on the Internet";
choices[4][3] = "do all of the above";
choices[4][4] = "do none of the above";
answers[4] = choices[4][0];

questions[5] = "Question 6: Firefox and Internet Explorer are...";
choices[5] = new Array();
choices[5][0] = "two styles of fonts commonly used on the Internet";
choices[5][1] = "types of browsers used on the Internet ";
choices[5][2] = "types of word processors used on the Internet";
choices[5][3] = "all of the above";
choices[5][4] = "none of the above ";
answers[5] = choices[5][1];

questions[6] = "Question 7: Search Engines are used to...";
choices[6] = new Array();
choices[6][0] = "search and index web documents";
choices[6][1] = "find web pages for Internet users";
choices[6][2] = "display links to web pages that match your search";
choices[6][3] = "do are all of the above";
choices[6][4] = "do none of the above";
answers[6] = choices[6][3];

questions[7] = "Question 8: E-mail is..";
choices[7] = new Array();
choices[7][0] = "electronic mail";
choices[7][1] = "the print out from a fax machine";
choices[7][2] = "a letter printed from a computer ";
choices[7][3] = "all of the above";
choices[7][4] = "none of the above";
answers[7] = choices[7][0];

questions[8] = "Question 9: News Groups are...";
choices[8] = new Array();
choices[8][0] = "provided only by large international news services";
choices[8][1] = "are online discussions about various topics";
choices[8][2] = "are only available from 9am to 5pm EST ";
choices[8][3] = "for all of the above";
choices[8][4] = "for none of the above";
answers[8] = choices[8][1];

questions[9] = "Question 10: The World Wide Web (WWW) is...";
choices[9] = new Array();
choices[9][0] = "a part of the Internet";
choices[9][1] = "the Internet";
choices[9][2] = "not a part of the Internet";
choices[9][3] = "all of the above";
choices[9][4] = "none of the above";
answers[9] = choices[9][0];

// 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!  Go back and read though the Intro.";
// response for getting 9% or less
response[7] = "You need to read through the Introduction to Computers!";


