/**		thinkTank.js  - Cybercrime : Piercing the darkness           */

var questions = new Array(29);
var ans1 = new Array(30);
var ans2 = new Array(30);
var ans3 = new Array(30);
var ans4 = new Array(30);
var correct = new Array(30);

questions[0] = "What is social engineering?";
ans1[0] = "A way to chat up a few girls.";
ans2[0] = "A way to socialize.";
ans3[0] = "A technique that involves manipulating insiders to allow the hacker access into the network.";
ans4[0] = "A way to make sure your friends do not have other friends and totally devote their time only to you.";
correct[0] = 3;

questions[1] = "What is the difference between war-dialling and war-driving?";
ans1[1] = "One is for attacking telephone lines while the other, for wireless access points.";
ans2[1] = "One is much much faster than the other.";
ans3[1] = "One is repetitious while the other is very forceful.";
ans4[1] = "One rarely works while the other has a very high success rate, especially on corporate servers.";
correct[1] = 1;

questions[2] = "Who are Old Guard Hackers?";
ans1[2] = "Hackers with no criminal intent.";
ans2[2] = "Employees dissatisfied with their pay.";
ans3[2] = "Antisocial teenagers who are out to make a name for themselves.";
ans4[2] = "Hackers who use traditional forms of hacking.";
correct[2] = 1;

questions[3] = "What is ethical hacking?";
ans1[3] = "It is a 'weak' form of hacking.";
ans2[3] = "It is the use of hacking techniques for constructive purposes.";
ans3[3] = "It is basically hacking for fun and is a form of hobby.";
ans4[3] = "It is the easiest form of hacking and is also the most primitive.";
correct[3] = 2;

questions[4] = "Which type of ethical hacking should trustworthiness be most emphasized in?";
ans1[4] = "IP Hack";
ans2[4] = "Application Hack";
ans3[4] = "Physical Infrastructure Hack";
ans4[4] = "Wireless Hack";
correct[4] = 2;

questions[5] = "What is the difference between a virus and a worm?";
ans1[5] = "One spreads while the other does not.";
ans2[5] = "One can be cured while the other cannot.";
ans3[5] = "One is more dangerous than the other.";
ans4[5] = "One needs to travel in a host program while the other can be standalone.";
correct[5] = 4;

questions[6] = "What is the name of the city where the real Trojan Horse was unleashed?";
ans1[6] = "Troy";
ans2[6] = "Olympia";
ans3[6] = "Mykenae";
ans4[6] = "Thebes";
correct[6] = 1;

questions[7] = "What is meant by warez?";
ans1[7] = "Hardware to assist in hacking in order to speed the process up.";
ans2[7] = "Free software but whose source codes are not available.";
ans3[7] = "Free software covered under the GNU public license, or in other words, open source software.";
ans4[7] = "Illegal software similar to the ones found on pirated discs.";
correct[7] = 4;

questions[8] = "Why are phishing sites so alluring?";
ans1[8] = "It is because people are plain stupid.";
ans2[8] = "It is because they do offer real services.";
ans3[8] = "It is because they make their sites as authentic as possible.";
ans4[8] = "It is because these sites have a hypnotic trance.";
correct[8] = 3;

questions[9] = "Which of these is a medium for the transmission of electronic spam?";
ans1[9] = "Snail mail";
ans2[9] = "Internet Relay Chat";
ans3[9] = "Telephone lines";
ans4[9] = "Interpersonal interaction";
correct[9] = 2;

questions[10] = "Which one of these methods is most effective to prevent getting infected by viruses?";
ans1[10] = "Do not use computers at all.";
ans2[10] = "Constantly reformat your hard drives.";
ans3[10] = "Get security patches for your operating system.";
ans4[10] = "Do not allow files of type .exe to run at all.";
correct[10] = 3;

questions[11] = "Why shouldn't one freely download any piece of software on the Internet?";
ans1[11] = "It is because they may contain spyware and adware.";
ans2[11] = "It just isn't good practice.";
ans3[11] = "It is not good to use too much free software.";
ans4[11] = "It is because they do not work.";
correct[11] = 1;

questions[12] = "What does the protocol https:// indicate?";
ans1[12] = "It indicates that files can be sent over this connection.";
ans2[12] = "It indicates that the connection is being spied on.";
ans3[12] = "It indicates a more secure form of the web protocol, http.";
ans4[12] = "It indicates that a piece of information is being sent over http.";
correct[12] = 3;

questions[13] = "What is a security certificate for?";
ans1[13] = "It indicates that the site that is being visited is secure.";
ans2[13] = "It indicates that your computer is secure.";
ans3[13] = "It indicates that the network you're on is secure.";
ans4[13] = "It verifies the identity of the site that is being visited.";
correct[13] = 4;

questions[14] = "What should one not do to avoid being stalked?";
ans1[14] = "Avoid chatting with strangers on the Internet.";
ans2[14] = "Avoid using Internet Relay Chat.";
ans3[14] = "Meet up with strangers in real life.";
ans4[14] = "Post one's personal particulars freely on the Internet.";
correct[14] = 4;

questions[15] = "Why is a very long password a good password?";
ans1[15] = "It is a chore to type so it will discourage hackers";
ans2[15] = "It takes hundreds of years for the most powerful computers to crack.";
ans3[15] = "The long password looks scary to hackers and they won't dare to use it.";
ans4[15] = "Long passwords are automatically put with extra protection on Internet servers.";
correct[15] = 2;

questions[16] = "When creating a password, why should you choose a line from a song or poem?";
ans1[16] = "It is nice to recite or sing out.";
ans2[16] = "You would have a fashionable password.";
ans3[16] = "It is not very common to use such passwords, thus making them secure.";
ans4[16] = "It would then be very easy to remember the password.";
correct[16] = 4;

questions[17] = "Why is it a good idea to move the computer to a \"public\" area of the house?";
ans1[17] = "It means you can show off your brand new computer to any visitors to your house.";
ans2[17] = "It is so that you don't have to buy a computer for each room in the house.";
ans3[17] = "It prevents your children from carrying out \"nefarious deeds\".";
ans4[17] = "It is to allow for easy access to the computer.";
correct[17] = 3;

questions[18] = "Why shouldn't you let your children use computers late into the night?";
ans1[18] = "Most cyber criminals meet online late at night.";
ans2[18] = "They'll get sleepy.";
ans3[18] = "It is bad for their eyes.";
ans4[18] = "Electricity will be wasted.";
correct[18] = 1;

questions[19] = "Why should children not send their photographs to strangers?";
ans1[19] = "It is to prevent them from being stalked or harassed.";
ans2[19] = "They should not show off their good looks to strangers.";
ans3[19] = "Their photographs should be something personal to them.";
ans4[19] = "It is illegal to transmit children's photographs over the Internet.";
correct[19] = 1;

questions[20] = "Which of these is an adware removal programs?";
ans1[20] = "AdSpy";
ans2[20] = "AdKill";
ans3[20] = "AdKnow";
ans4[20] = "AdAware";
correct[20] = 4;

questions[21] = "What is the maximum imprisonment for hacking for material gain?";
ans1[21] = "20 years.";
ans2[21] = "10 years.";
ans3[21] = "15 years.";
ans4[21] = "5 years.";
correct[21] = 4;

questions[22] = "Which of these constitues cyberstalking?";
ans1[22] = "Saying hi to a stranger on the Internet.";
ans2[22] = "Getting to know a teenage girl on the Internet.";
ans3[22] = "Repeatedly contacting a person in any way through the use of any technology.";
ans4[22] = "Talking to your friends on MSN messenger.";
correct[22] = 3;

questions[23] = "What is the maximum fine that is imposed if you try to remove the copyright on a copyrighted item?";
ans1[23] = "$2300";
ans2[23] = "$2400";
ans3[23] = "$2600";
ans4[23] = "$2500";
correct[23] = 4;

questions[24] = "What has the Cybercrime Treaty allowed for?";
ans1[24] = "It has allowed for the easy retrieval of evidence between countries.";
ans2[24] = "It has allowed for greater world peace.";
ans3[24] = "It has stopped cyber wars among hackers.";
ans4[24] = "It has made the greatest hackers in the world work together to destroy the Internet.";
correct[24] = 1;

questions[25] = "Which is the first corporation to hire out supercomputers to laboratories?";
ans1[25] = "International Business Machines (IBM).";
ans2[25] = "Digital Equipment Corporation (DEC).";
ans3[25] = "Microsoft Corp.";
ans4[25] = "Hewlett-Packard Development Company (HP)";
correct[25] = 2;

questions[26] = "What is the ARPAnet?";
ans1[26] = "A version of the Internet that is used only amongst corporations.";
ans2[26] = "A part of the Internet accessible only to the military.";
ans3[26] = "The predecessor to the Internet.";
ans4[26] = "The future of the Internet.";
correct[26] = 3;

questions[27] = "When was e-mail invented?";
ans1[27] = "1990s";
ans2[27] = "1960s";
ans3[27] = "1980s";
ans4[27] = "1970s";
correct[27] = 4;

questions[28] = "When were the first theories and codes for self-replicating programs developed?";
ans1[28] = "1950";
ans2[28] = "1949";
ans3[28] = "1951";
ans4[28] = "1948";
correct[28] = 2;

questions[29] = "What was the first system to be infected with a virus?";
ans1[29] = "Apple II";
ans2[29] = "Commodore";
ans3[29] = "CP/M";
ans4[29] = "Windows";
correct[29] = 1;

var tTkindex, val;

function testme()
{
	if (val == correct[tTkindex])
		alert("Congratulations! You answered the question correctly.");
	else
		alert("Sorry, the correct answer is: " + eval("ans" + correct[tTkindex] + "[" + tTkindex + "]"));
	window.location.reload()
}

function thinkTank()
{
	tTkindex = Math.floor(Math.random() * questions.length);
	document.write('<div class=\"thinkTank\"><strong>' + questions[tTkindex] + '</strong>');
	document.write('</div>');
	document.write('<p></p>');

	val = 1;  
	
	document.write('<div class=\"line\"></div><br />');
	document.write('<div class="thinkTank">');
	document.write('<input type="radio" name="tt" onclick="val = 1" checked="checked" />' + ans1[tTkindex] + '</input><br />');
	document.write('<input type="radio" name="tt" onclick="val = 2" />' + ans2[tTkindex] + '</input><br />');
	document.write('<input type="radio" name="tt" onclick="val = 3" />' + ans3[tTkindex] + '</input><br />');
	document.write('<input type="radio" name="tt" onclick="val = 4" />' + ans4[tTkindex] + '</input><br /><br />');
	document.write('<input type="button" onclick="testme()" value="Test me!" class="buttonLook"></input>');
	document.write('</div>');
	document.write('<br /><br /><br /><br />');
	 
}

