<%--
Created by IntelliJ IDEA.
User: 吧
Date: 2020/9/18
Time: 8:05
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>题目</title>
</head>
<body>
<%
%>
<form action="1.jsp" method="get">
<h2>一、判断</h2><br>
<table>
<tr>
<td></td><td>正确</td><td>错误</td>
</tr>
<tr>
<td>1.中国近代社会的主要矛盾是帝国主义和中华民族的矛盾,无产阶级和资产阶级的矛盾</td><td> <input type="radio" name="A1" value="1"></td><td><input type="radio" name="A1" id="pd2"value="2"></td>
</tr>
<tr>
<td>2.鸦片战争是中国近代史的起点。</td><td> <input type="radio" name="A2"value="1"></td><td><input type="radio" name="A2"value="2"></td>
</tr>
<tr>
<td>3.鸦片战争后,中国新兴的民族资本主义经济已经产生,所以也可以称中国社会是半殖民地半资本主义社会。</td><td> <input type="radio" name="A3"value="1"></td><td><input type="radio" name="A3"value="2"></td>
</tr>
<tr>
<td>4.鸦片战争是中国近代史的起点。 </td><td> <input type="radio" name="A4"value="1"></td><td><input type="radio" name="A4"value="2"></td>
</tr>
<tr>
<td>5.反帝反封建是中国资产阶级民主革命的两大基本任务</td><td> <input type="radio" name="A5"value="1"></td><td><input type="radio" name="A5"value="2"></td>
</tr>
</table>
<h2>二、选择</h2><br>
<table>
<tr><td> 1.19 世纪初,向中国大肆走私鸦片的主要国家是</td></tr>
<tr><td><input type="radio" name="B1"value="1">A、美国</td><td><input type="radio" name="B1"value="2">B、英国</td>
<td><input type="radio" name="B1"value="3">C、日本</td><td><input type="radio" name="B1"value="4">D、俄国</td></tr>
<tr><td colspan="4"> 2.将中国领土台湾割让给日本的不平等条约是</td></tr>
<tr><td><input type="radio" name="B2"value="1">A、《南京条约》</td><td><input type="radio" name="B2"value="2">B、《北京条约》</td>
<td><input type="radio" name="B2"value="3"> C、《马关条约》</td><td><input type="radio" name="B2"value="4">D、《瑷珲条约》</td></tr>
<tr><td colspan="4"> 3.基督教在中国设立的最大出版机构广学会发行的报刊是</td></tr>
<tr><td> <input type="radio" name="B3"value="1">A、《中国丛报》</td><td><input type="radio" name="B3"value="2">B、《北华捷报》</td>
<td><input type="radio" name="B3"value="3"> C、《字林西报》</td><td><input type="radio" name="B3"value="4">D、《万国公报》</td></tr>
<tr><td colspan="4"> 4.中国近代史上人民群众第一次大规模的反侵略武装斗争是</td></tr>
<tr><td> <input type="radio" name="B4"value="1">A、三元里人民的抗英斗争</td><td><input type="radio" name="B4"value="2">B、太平天国抗击洋枪队的斗争</td>
<td><input type="radio" name="B4"value="3"> C、台湾人民的抗日斗争</td><td><input type="radio" name="B4"value="4">D、义和团抗击八国联军的斗争</td></tr>
<tr><td colspan="4"> 5.鸦片战争后,提出“师夷长技以制夷”思想的是</td></tr>
<tr><td> <input type="radio" name="B5"value="1">A、林则徐</td><td><input type="radio" name="B5"value="2">B、王韬</td>
<td><input type="radio" name="B5"value="3"> C、龚自珍</td><td><input type="radio" name="B5"value="4">D、魏源</td></tr>
</table>
<h2>三、多选</h2><br>
1.在鸦片战争前已经确立了资本主义制度的国家有( ) <br>
<input type="checkbox" name="D1" value="1">A、英国<br>
<input type="checkbox" name="D1"value="2">B、法国<br>
<input type="checkbox" name="D1"value="3">C、美国<br>
<input type="checkbox" name="D1"value="4">D、日本<br><br>
2.资本-帝国主义列强通过军事侵略和不平等条约对中国进行政治控制的主要手段有( )<br>
<input type="checkbox" name="D2"value="1">A、操纵中国的内政和外交<br>
<input type="checkbox" name="D2"value="2">B、把持中国的海关<br>
<input type="checkbox" name="D2"value="3">C、镇压中国人民的反抗<br>
<input type="checkbox" name="D2"value="4">D、扶植、收买代理人 <br><br>
3.资本-帝国主义列强对近代中国进行经济掠夺的主要手段有( ) <br>
<input type="checkbox" name="D3"value="1">A、控制中国通商口岸<br>
<input type="checkbox" name="D3"value="2">B、剥夺中国关税自主权<br>
<input type="checkbox" name="D3"value="3">C、对华倾销商品和资本输出<br>
<input type="checkbox" name="D3"value="4">D、操纵中国经济命脉<br><br>
4.1842年,英国通过《南京条约》迫使中国开放的通商口岸除广州外还包括( )<br>
<input type="checkbox" name="D4"value="1">A、厦门<br>
<input type="checkbox" name="D4"value="2">B、福州<br>
<input type="checkbox" name="D4"value="3">C、宁波<br>
<input type="checkbox" name="D4"value="4">D、上海<br><br>
5.第二次鸦片战争的发起国是。( )<br>
<input type="checkbox" name="D5"value="1">A、英国<br>
<input type="checkbox" name="D5"value="2">B、德国<br>
<input type="checkbox" name="D5"value="3">C、日本<br>
<input type="checkbox" name="D5"value="4">D、法国<br><br>
<input type="submit" value="提交">
</form>
</body>
</html>
<%--
Created by IntelliJ IDEA.
User: 吧
Date: 2020/9/18
Time: 8:57
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>得分</title>
</head>
<body>
<% int sum=0;
String t1=request.getParameter("A1");
String t2=request.getParameter("A2");
String t3=request.getParameter("A3");
String t4=request.getParameter("A4");
String t5=request.getParameter("A5");
String t6=request.getParameter("B1");
String t7=request.getParameter("B2");
String t8=request.getParameter("B3");
String t9=request.getParameter("B4");
String t10=request.getParameter("B5");
String t11[]=request.getParameterValues("D1");
String t12[]=request.getParameterValues("D2");
String t13[]=request.getParameterValues("D3");
String t14[]=request.getParameterValues("D4");
String t15[]=request.getParameterValues("D5");
if (t1==null)
{
out.print("<p style='color:blue'>1.应选错误</p>");
}
else if(t1.equals("1"))
{
out.print("<p style='color:green'>1.正确</p>");
sum+=5;
}
else
out.print("<p style='color:red'>1.错误,应选错误</p>");
if (t2==null)
{
out.print("<p style='color:blue'>2.应选正确</p>");
}
else if(t2.equals("1"))
{
out.print("<p style='color:green'>2.正确</p>");
sum+=5;
}
else
out.print("<p style='color:red'>2.错误,应选正确</p>");
if (t3==null)
{
out.print("<p style='color:blue'>3.应选错误</p>");
}
else if(t3.equals("1"))
{
out.print("<p style='color:green'>3.正确</p>");
sum+=5;
}
else
out.print("<p style='color:red'>3.错误,应选错误</p>");
if (t4==null)
{
out.print("<p style='color:blue'>4.应选错误</p>");
}
else if(t4.equals("1"))
{
out.print("<p style='color:green'>4.正确</p>");
sum+=5;
}
else
out.print("<p style='color:red'>4.错误,应选错误</p>");
if (t5==null)
{
out.print("<p style='color:blue'>5.应选正确</p>");
}
else if(t5.equals("2"))
{
out.print("<p style='color:green'>5.正确</p>");
sum+=5;
}
else
out.print("<p style='color:red'>5.错误,应选正确</p>");
if (t6==null)
{
out.print("<p style='color:blue'>6.应选B</p>");
}
else if(t6.equals("4"))
{
out.print("<p style='color:green'>6.正确</p>");
sum+=5;
}
else
out.print("<p style='color:red'>6.错误,应选B</p>");
if (t7==null)
{
out.print("<p style='color:blue'>7.应选C</p>");
}
else
if(t7.equals("3"))
{
out.print("<p style='color:green'>7.正确</p>");
sum+=5;
}
else
out.print("<p style='color:red'>7.错误,应选C</p>");
if (t8==null)
{
out.print("<p style='color:blue'>8.应选D</p>");
}
else
if(t8.equals("2"))
{
out.print("<p style='color:green'>8.正确</p>");
sum+=5;
}
else
out.print("<p style='color:red'>8.错误,应选D</p>");
if (t9==null)
{
out.print("<p style='color:blue'>9.应选A</p>");
}
else
if(t9.equals("4"))
{
out.print("<p style='color:green'>9.正确</p>");
sum+=5;
}
else
out.print("<p style='color:red'>9.错误,应选A</p>");
if (t10==null)
{
out.print("<p style='color:blue'>10.应选D</p>");
}
else
if(t10.equals("2"))
{
out.print("<p style='color:green'>10.正确</p>");
sum+=5;
}
else
out.print("<p style='color:red'>3.错误,应选D</p>");
if (t11==null||t11.length<2)
{
out.print("<p style='color:blue'>11.应选ABC</p>");
}
else
if(t11[0].equals("1")&t11[1].equals("4"))
{
out.print("<p style='color:green'>11.正确</p>");
sum+=10;
}
else
out.print("<p style='color:red'>11.错误,应选ABC</p>");
if (t12==null||t12.length<3)
{
out.print("<p style='color:blue'>12.应选ABCD</p>");
}
else
if(t12[0].equals("2")&t12[1].equals("3")&t12[2].equals("5"))
{
out.print("<p style='color:green'>12.正确</p>");
sum+=10;
}
else
out.print("<p style='color:red'>12.错误,应选ABCD</p>");
if (t13==null||t13.length<4)
{
out.print("<p style='color:blue'>13.应选A、B、C、D</p>");
}
else
if(t13[0].equals("1")&t13[1].equals("2")&t13[2].equals("3")&t13[3].equals("4"))
{
out.print("<p style='color:green'>13.正确</p>");
sum+=10;
}
else
out.print("<p style='color:red'>13.错误,应选A、B、C、D</p>");
if (t14==null||t14.length<3)
{
out.print("<p style='color:blue'>14.应选ABCD</p>");
}
else
if(t14[0].equals("1")&t14[1].equals("2")&t14[2].equals("4"))
{
out.print("<p style='color:green'>14.正确</p>");
sum+=10;
}
else
out.print("<p style='color:red'>14.错误,应选ABCD</p>");
if (t15==null||t15.length<3)
{
out.print("<p style='color:blue'>15.应选A、D</p>");
}
else
if(t15[0].equals("1")&t15[1].equals("2")&t15[2].equals("4"))
{
out.print("<p style='color:green'>15.正确</p>");
sum+=10;
}
else
out.print("<p style='color:red'>15.错误,应选A、D</p>");
%>
out.print("<p style='color:red;'><font size='100px;'>最后得分"+sum+"</font><p>");
</body>
</html>