	function QRQ1() {
		
		var correct ="Command line, environment variables, standard input, and standard output";
		
		if ((document.QRQ1form.check1[0].checked==true) &&
	(document.QRQ1form.check1[1].checked==false) &&
	(document.QRQ1form.check1[2].checked==true) &&
	(document.QRQ1form.check1[3].checked==false) &&
	(document.QRQ1form.check1[4].checked==false) &&
	(document.QRQ1form.check1[5].checked==true) &&
	(document.QRQ1form.check1[6].checked==true) &&
	(document.QRQ1form.check1[7].checked==false)) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=425,height=175');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> are the correct answers. <br>"  + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=425,height=175');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answers are: <i>" + correct + "</i>. <br>" + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}
	
	function QRQ2a() {
		var guess = prompt("Please enter your answer");
		var correct ="content-type";
		
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=450,height=100');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer. " + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=450,height=100');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: <i>" + correct + "</i>." + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}
	
	function QRQ2b() {
		var guess = prompt("Please enter your answer");
		var correct =":";
		
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=450,height=100');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct!  " + correct + "   is the correct answer. " + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=450,height=100');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is:   " + correct + "   ." + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

	function QRQ2c() {
		var guess = prompt("Please enter your answer");
		var correct ="text/plain";
		
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=450,height=100');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer. " + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=450,height=100');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: <i>" + correct + "</i>." + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

	function QRQ2d() {
		var guess = prompt("Please enter your answer");
		var correct ="text/html";
		
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=450,height=100');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer. " + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=450,height=100');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: <i>" + correct + "</i>." + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}
	
	function QRQ2e() {
		var guess = prompt("Please enter your answer");
		var correct = "one";
		
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=450,height=100');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer. " + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=450,height=100');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: <i>" + correct + "</i>." + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ2f() {
		
		var correct ="endl and \\n";
		
		if ((document.QRQ2fform.check1[0].checked==false) &&
	(document.QRQ2fform.check1[1].checked==true) &&
	(document.QRQ2fform.check1[2].checked==true) &&
	(document.QRQ2fform.check1[3].checked==false)) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=425,height=120');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> are the correct answers. <br>"  + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=425,height=120');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answers are: <i>" + correct + "</i>. <br>" + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ2g() {
		
		var correct = "< " + "br" + " >" + " and " + "< " + "p" + " >";
		
		if ((document.QRQ2gform.check1[0].checked==true) &&
	(document.QRQ2gform.check1[1].checked==false) &&
	(document.QRQ2gform.check1[2].checked==false) &&
	(document.QRQ2gform.check1[3].checked==true)) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=425,height=120');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> are the correct answers. <br>"  + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=425,height=120');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answers are: <i>" + correct + "</i>. <br>" + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}
	
function QRQ3a() {
		var correct ="4";
		
		if (document.QRQ3form.r1[2].checked==true) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=450,height=100');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer. " + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=450,height=100');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: <i>" + correct + "</i>." + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ3b() {
		var guess = prompt("Please enter your answer");
		var correct ="8";
		
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=450,height=100');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer. " + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=450,height=100');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: <i>" + correct + "</i>." + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ3c() {
		var guess = prompt("Please enter your answer");
		var correct ="val=%23+5";
		
		if (guess == correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=450,height=100');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer. " + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=450,height=100');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: <i>" + correct + "</i>." + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}
	
function QRQ4a() {
		var correct ="value.find(\'+\')";
		
		if (document.QRQ4form.qrq4a.value==correct) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=450,height=100');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer. " + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=450,height=100');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: <i>" + correct + "</i>." + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ4b() {
		var correct ="temp.length()";
		
		if (document.QRQ4form.qrq4b.value=="temp.length()") {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=450,height=100');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correct + " </i> is the correct answer. " + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=450,height=100');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answer is: <i>" + correct + "</i>." + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}

function QRQ4c() {
		var correctA ="0";
		var correctB ="7";
		
		if ((document.QRQ4form.qrq4c1.value=="0") && (document.QRQ4form.qrq4c2.value=="7")) {
			RightWindow = window.open('','RightWindow','toolbar=no,location=no,width=450,height=100');
			var congrats = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are correct! <i> " + correctA + "</i> and <i>" + correctB + " </i> are the correct answers. " + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			RightWindow.document.write(congrats);	
		} else {
			WrongWindow = window.open('','WrongWindow','toolbar=no,location=no,width=450,height=100');
			var sorry = "<html><head><title>Quick Review Question Answer</title></head><body bgcolor=\"#E1E5BE\"><font size=4>You are incorrect - The correct answers are: <i>" + correctA + "</i> and <i>"+correctB+"</i>." + " </font>\n<br><br>\n<form name=\"form\"><input type=\"button\" name=\"button\" value=\"Close this window\" onClick=\"window.close();\"></form><script language=\"JavaScript\">document.form.button.focus();document.form.button.select();</script></body></html>";
			WrongWindow.document.write(sorry);				
		}
	}
