묻고답하기
4지선답형을 5지선답형으로 수정해주세요.
2010.03.17 07:36
아래의 소스를 보시고 4지선답형을 5지선답형으로 수정해주세요.
<html>
<head>
<title>TOEFL Vocabulary Test</title>
<meta http-equiv=Content-Type content=text/html; charset=iso-8859-1>
<meta name="keywords" content="TOEFL Vocabulary Test, TOEFL Vocabulary">
<meta name="description" content="TOEFL Vocabulary Test">
</head>
<body bgcolor=#FFFFFF text=#000000>
<script language=JavaScript type=text/javascript>
<!-- Hide
function finish()
{
var nTotal = 10;
var nCorrect = 0;
for(var i=0; i<4; i++)
{
var newCode = "<span id=answer0-"+i+"></span>";
if(form1.t0[i].checked && i==0)
nCorrect++;
else if(form1.t0[i].checked && i!=0)
newCode = "<span id=answer0-"+i+"><font color=#FF0000F> - Wrong</font></span>";
else if((!form1.t0[i].checked)&&(i==0))
newCode = "<span id=answer0-"+i+"><font color=#0000FF> - Correct answer</font></span>";
document.getElementById('answer0-'+i).innerHTML = newCode;
}
for(var i=0; i<4; i++)
{
var newCode = "<span id=answer1-"+i+"></span>";
if(form1.t1[i].checked && i==3)
nCorrect++;
else if(form1.t1[i].checked && i!=3)
newCode = "<span id=answer1-"+i+"><font color=#FF0000F> - Wrong</font></span>";
else if((!form1.t1[i].checked)&&(i==3))
newCode = "<span id=answer1-"+i+"><font color=#0000FF> - Correct answer</font></span>";
document.getElementById('answer1-'+i).innerHTML = newCode;
}
for(var i=0; i<4; i++)
{
var newCode = "<span id=answer2-"+i+"></span>";
if(form1.t2[i].checked && i==0)
nCorrect++;
else if(form1.t2[i].checked && i!=0)
newCode = "<span id=answer2-"+i+"><font color=#FF0000F> - Wrong</font></span>";
else if((!form1.t2[i].checked)&&(i==0))
newCode = "<span id=answer2-"+i+"><font color=#0000FF> - Correct answer</font></span>";
document.getElementById('answer2-'+i).innerHTML = newCode;
}
for(var i=0; i<4; i++)
{
var newCode = "<span id=answer3-"+i+"></span>";
if(form1.t3[i].checked && i==0)
nCorrect++;
else if(form1.t3[i].checked && i!=0)
newCode = "<span id=answer3-"+i+"><font color=#FF0000F> - Wrong</font></span>";
else if((!form1.t3[i].checked)&&(i==0))
newCode = "<span id=answer3-"+i+"><font color=#0000FF> - Correct answer</font></span>";
document.getElementById('answer3-'+i).innerHTML = newCode;
}
for(var i=0; i<4; i++)
{
var newCode = "<span id=answer4-"+i+"></span>";
if(form1.t4[i].checked && i==0)
nCorrect++;
else if(form1.t4[i].checked && i!=0)
newCode = "<span id=answer4-"+i+"><font color=#FF0000F> - Wrong</font></span>";
else if((!form1.t4[i].checked)&&(i==0))
newCode = "<span id=answer4-"+i+"><font color=#0000FF> - Correct answer</font></span>";
document.getElementById('answer4-'+i).innerHTML = newCode;
}
for(var i=0; i<4; i++)
{
var newCode = "<span id=answer5-"+i+"></span>";
if(form1.t5[i].checked && i==3)
nCorrect++;
else if(form1.t5[i].checked && i!=3)
newCode = "<span id=answer5-"+i+"><font color=#FF0000F> - Wrong</font></span>";
else if((!form1.t5[i].checked)&&(i==3))
newCode = "<span id=answer5-"+i+"><font color=#0000FF> - Correct answer</font></span>";
document.getElementById('answer5-'+i).innerHTML = newCode;
}
for(var i=0; i<4; i++)
{
var newCode = "<span id=answer6-"+i+"></span>";
if(form1.t6[i].checked && i==2)
nCorrect++;
else if(form1.t6[i].checked && i!=2)
newCode = "<span id=answer6-"+i+"><font color=#FF0000F> - Wrong</font></span>";
else if((!form1.t6[i].checked)&&(i==2))
newCode = "<span id=answer6-"+i+"><font color=#0000FF> - Correct answer</font></span>";
document.getElementById('answer6-'+i).innerHTML = newCode;
}
for(var i=0; i<4; i++)
{
var newCode = "<span id=answer7-"+i+"></span>";
if(form1.t7[i].checked && i==3)
nCorrect++;
else if(form1.t7[i].checked && i!=3)
newCode = "<span id=answer7-"+i+"><font color=#FF0000F> - Wrong</font></span>";
else if((!form1.t7[i].checked)&&(i==3))
newCode = "<span id=answer7-"+i+"><font color=#0000FF> - Correct answer</font></span>";
document.getElementById('answer7-'+i).innerHTML = newCode;
}
for(var i=0; i<4; i++)
{
var newCode = "<span id=answer8-"+i+"></span>";
if(form1.t8[i].checked && i==0)
nCorrect++;
else if(form1.t8[i].checked && i!=0)
newCode = "<span id=answer8-"+i+"><font color=#FF0000F> - Wrong</font></span>";
else if((!form1.t8[i].checked)&&(i==0))
newCode = "<span id=answer8-"+i+"><font color=#0000FF> - Correct answer</font></span>";
document.getElementById('answer8-'+i).innerHTML = newCode;
}
for(var i=0; i<4; i++)
{
var newCode = "<span id=answer9-"+i+"></span>";
if(form1.t9[i].checked && i==1)
nCorrect++;
else if(form1.t9[i].checked && i!=1)
newCode = "<span id=answer9-"+i+"><font color=#FF0000F> - Wrong</font></span>";
else if((!form1.t9[i].checked)&&(i==1))
newCode = "<span id=answer9-"+i+"><font color=#0000FF> - Correct answer</font></span>";
document.getElementById('answer9-'+i).innerHTML = newCode;
}
var nScore = Math.round(nCorrect/nTotal*100);
form1.score.value = "Your score : " + nScore + " out of 100";
}
// -->
</script>
<div align=center>
<h3><b>TOEFL Vocabulary Test (10 Questions)</b></h3>
<form name=form1 action=>
<table width=85% border=0>
<tr bgcolor=#FFFFFF>
<td colspan="3">
<div align="center">Return to <a href="/vocabulary-test/">Vocabulary
Test</a></div>
</td>
</tr>
<tr bgcolor=#FFFFFF>
<td colspan="3"> </td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right><b>1.</b></div>
</td>
<td width=2%><b></b></td>
<td width=90%><b>deity</b></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t0 value=0>
</div>
</td>
<td width=2%> </td>
<td width=90%>n. a god<font color=#0000FF><span id=answer0-0></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t0 value=1>
</div>
</td>
<td width=2%> </td>
<td width=90%>n. a ludicrous and complete failure<font color=#0000FF><span id=answer0-1></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t0 value=2>
</div>
</td>
<td width=2%> </td>
<td width=90%>adj. extravagantly romantic or idealistic; highly impractical<font color=#0000FF><span id=answer0-2></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t0 value=3>
</div>
</td>
<td width=2%> </td>
<td width=90%>n. evenness of temper or mind<font color=#0000FF><span id=answer0-3></span></font></td>
</tr>
<tr>
<td colspan=3>
<div align=right> </div>
</td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right><b>2.</b></div>
</td>
<td width=2%><b></b></td>
<td width=90%><b>protuberant</b></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t1 value=0>
</div>
</td>
<td width=2%> </td>
<td width=90%>n. a superficial appearance or show designed to impress
one with superiority<font color=#0000FF><span id=answer1-0></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t1 value=1>
</div>
</td>
<td width=2%> </td>
<td width=90%>n. one who advocates extreme basic changes<font color=#0000FF><span id=answer1-1></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t1 value=2>
</div>
</td>
<td width=2%> </td>
<td width=90%>adj. profuse or generous; given to extravagance<font color=#0000FF><span id=answer1-2></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t1 value=3>
</div>
</td>
<td width=2%> </td>
<td width=90%>adj. bulging or swelling out<font color=#0000FF><span id=answer1-3></span></font></td>
</tr>
<tr>
<td colspan=3>
<div align=right> </div>
</td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right><b>3.</b></div>
</td>
<td width=2%><b></b></td>
<td width=90%><b>retrieve</b></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t2 value=0>
</div>
</td>
<td width=2%> </td>
<td width=90%>v. to make good; to recover<font color=#0000FF><span id=answer2-0></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t2 value=1>
</div>
</td>
<td width=2%> </td>
<td width=90%>adj. sentimental to the point of tears<font color=#0000FF><span id=answer2-1></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t2 value=2>
</div>
</td>
<td width=2%> </td>
<td width=90%>adj. entertaining<font color=#0000FF><span id=answer2-2></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t2 value=3>
</div>
</td>
<td width=2%> </td>
<td width=90%>adj. inclined, through some whim or fancy change the mind,
purpose, or actions suddenly<font color=#0000FF><span id=answer2-3></span></font></td>
</tr>
<tr>
<td colspan=3>
<div align=right> </div>
</td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right><b>4.</b></div>
</td>
<td width=2%><b></b></td>
<td width=90%><b>dearth</b></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t3 value=0>
</div>
</td>
<td width=2%> </td>
<td width=90%>n. scarcity<font color=#0000FF><span id=answer3-0></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t3 value=1>
</div>
</td>
<td width=2%> </td>
<td width=90%>v. to punish or criticize severely<font color=#0000FF><span id=answer3-1></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t3 value=2>
</div>
</td>
<td width=2%> </td>
<td width=90%>v. to cause, produce, or stir up<font color=#0000FF><span id=answer3-2></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t3 value=3>
</div>
</td>
<td width=2%> </td>
<td width=90%>adj. habitually fond of associating in a company or herd<font color=#0000FF><span id=answer3-3></span></font></td>
</tr>
<tr>
<td colspan=3>
<div align=right> </div>
</td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right><b>5.</b></div>
</td>
<td width=2%><b></b></td>
<td width=90%><b>integrity</b></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t4 value=0>
</div>
</td>
<td width=2%> </td>
<td width=90%>n. honesty, moral soundness<font color=#0000FF><span id=answer4-0></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t4 value=1>
</div>
</td>
<td width=2%> </td>
<td width=90%>adj. liable to make mistakes or be deceived<font color=#0000FF><span id=answer4-1></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t4 value=2>
</div>
</td>
<td width=2%> </td>
<td width=90%>adj. possessing similar interests and tastes; able to get
on well with others<font color=#0000FF><span id=answer4-2></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t4 value=3>
</div>
</td>
<td width=2%> </td>
<td width=90%>adj. very heavy; clumsy<font color=#0000FF><span id=answer4-3></span></font></td>
</tr>
<tr>
<td colspan=3>
<div align=right> </div>
</td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right><b>6.</b></div>
</td>
<td width=2%><b></b></td>
<td width=90%><b>delete</b></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t5 value=0>
</div>
</td>
<td width=2%> </td>
<td width=90%>n. an increase<font color=#0000FF><span id=answer5-0></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t5 value=1>
</div>
</td>
<td width=2%> </td>
<td width=90%>n. an original pattern<font color=#0000FF><span id=answer5-1></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t5 value=2>
</div>
</td>
<td width=2%> </td>
<td width=90%>n. working together secretly for an evil purpose<font color=#0000FF><span id=answer5-2></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t5 value=3>
</div>
</td>
<td width=2%> </td>
<td width=90%>v. to erase or cancel, take out or remove<font color=#0000FF><span id=answer5-3></span></font></td>
</tr>
<tr>
<td colspan=3>
<div align=right> </div>
</td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right><b>7.</b></div>
</td>
<td width=2%><b></b></td>
<td width=90%><b>demagogue</b></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t6 value=0>
</div>
</td>
<td width=2%> </td>
<td width=90%>n. departure, emigration<font color=#0000FF><span id=answer6-0></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t6 value=1>
</div>
</td>
<td width=2%> </td>
<td width=90%>adj. worldly, as opposed to spiritual; existing for a time
only<font color=#0000FF><span id=answer6-1></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t6 value=2>
</div>
</td>
<td width=2%> </td>
<td width=90%>n. a leader who tries to stir the passions of people for
his own purposes<font color=#0000FF><span id=answer6-2></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t6 value=3>
</div>
</td>
<td width=2%> </td>
<td width=90%>n. prolonged duration of life<font color=#0000FF><span id=answer6-3></span></font></td>
</tr>
<tr>
<td colspan=3>
<div align=right> </div>
</td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right><b>8.</b></div>
</td>
<td width=2%><b></b></td>
<td width=90%><b>mettle</b></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t7 value=0>
</div>
</td>
<td width=2%> </td>
<td width=90%>adj. sentimental to the point of tears<font color=#0000FF><span id=answer7-0></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t7 value=1>
</div>
</td>
<td width=2%> </td>
<td width=90%>n. a persistent feeling, idea, activity, etc., which dominates
a person; the state of being exclusively preoccupied by a fixed idea<font color=#0000FF><span id=answer7-1></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t7 value=2>
</div>
</td>
<td width=2%> </td>
<td width=90%>v. to be sorry for<font color=#0000FF><span id=answer7-2></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t7 value=3>
</div>
</td>
<td width=2%> </td>
<td width=90%>n. disposition; spirit<font color=#0000FF><span id=answer7-3></span></font></td>
</tr>
<tr>
<td colspan=3>
<div align=right> </div>
</td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right><b>9.</b></div>
</td>
<td width=2%><b></b></td>
<td width=90%><b>predatory</b></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t8 value=0>
</div>
</td>
<td width=2%> </td>
<td width=90%>adj. inclined to plunder or rob; preying on, others<font color=#0000FF><span id=answer8-0></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t8 value=1>
</div>
</td>
<td width=2%> </td>
<td width=90%>n. an assumption made for the sake of argument<font color=#0000FF><span id=answer8-1></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t8 value=2>
</div>
</td>
<td width=2%> </td>
<td width=90%>n. confused, unintelligible, meaningless talk; special vocabulary
used only by members of a group or trade<font color=#0000FF><span id=answer8-2></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t8 value=3>
</div>
</td>
<td width=2%> </td>
<td width=90%>adj. outstandingly bad<font color=#0000FF><span id=answer8-3></span></font></td>
</tr>
<tr>
<td colspan=3>
<div align=right> </div>
</td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right><b>10.</b></div>
</td>
<td width=2%><b></b></td>
<td width=90%><b>dissent</b></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t9 value=0>
</div>
</td>
<td width=2%> </td>
<td width=90%>n. partiality or preference for; a favorable opinion arrived
at beforehand<font color=#0000FF><span id=answer9-0></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t9 value=1>
</div>
</td>
<td width=2%> </td>
<td width=90%>v. to disagree; to differ in opinion<font color=#0000FF><span id=answer9-1></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t9 value=2>
</div>
</td>
<td width=2%> </td>
<td width=90%>v. to banish or exile; to withdraw from one's country<font color=#0000FF><span id=answer9-2></span></font></td>
</tr>
<tr bgcolor=#E7EFFF>
<td width=8%>
<div align=right>
<input type=radio name=t9 value=3>
</div>
</td>
<td width=2%> </td>
<td width=90%>n. a relation between two things shown in the resemblance
not of the things themselves but of their characteristics<font color=#0000FF><span id=answer9-3></span></font></td>
</tr>
<tr>
<td colspan=3>
<div align=right> </div>
</td>
</tr>
<tr>
<td colspan=3>
<div align=center>
<input type=button name=submit value=Finished onClick="finish(); return true;">
<input type=text name=score size=30>
</div>
</td>
</tr>
<tr>
<td colspan=3> </td>
</tr>
<tr bgcolor=#FFFFFF>
<td colspan="3">
<div align="center">Return to <a href="/vocabulary-test/">Vocabulary
Test</a></div>
</td>
</tr>
<tr>
<td colspan=3>
<div align=center>
<p><font size="-1">Generated by <a href="http://www.vocaboly.com>Vocaboly</a>
</font></p>
</div>
</td>
</tr></table>
</form>
<p> </p>
</div>
</body>
</html>