<script language="vb" runat="server">
sub leijiean1(sender as object,e as eventargs)
yin.visible="true"
yin1.visible="false"
end sub
sub leijiean2(sender as object,e as eventargs)
yin.visible="false"
yin1.visible="true"
end sub
sub leijiean(sender as object, e as eventargs)
yin.visible="false"
yin1.visible="false"
dim a as integer
a=0
if dan1.selecteditem.value="b" then
a=a+5
end if
if dan2.selecteditem.value="a" then
a=a+5
end if
if dan3.selecteditem.value="c" then
a=a+5
end if
if dan4.selecteditem.value="a" then
a=a+5
end if
if dan5.selecteditem.value="c" then
a=a+5
end if
if dan6.selecteditem.value="b" then
a=a+5
end if
if dan7.selecteditem.value="d" then
a=a+5
end if
if dan8.selecteditem.value="c" then
a=a+5
end if
if dan9.selecteditem.value="d" then
a=a+5
end if
if dan10.selecteditem.value="a" then
a=a+5
end if
if duo.items(0).selected=true or duo.items(3).selected=true then
a=a
else if duo.items(1).selected=true and duo.items(2).selected=true then
a=5
else if duo.items(1).selected=true or duo.items(2).selected=true then
a=a+1.5
end if
if duo2.items(1).selected=true then
a=a
else if duo2.items(0).selected=true and duo2.items(2).selected=true and duo2.items(3).selected=true then
a=5
else if duo2.items(0).selected=true or duo2.items(2).selected=true or duo2.items(3).selected=true then
a=a+1.5
end if
if duo3.items(0).selected=true or duo3.items(2).selected=true then
a=a
else if duo3.items(1).selected=true and duo3.items(3).selected=true then
a=5
else if duo3.items(1).selected=true or duo3.items(3).selected=true then
a=a+1.5
end if
if duo4.items(1).selected=true then
a=a
else if duo4.items(0).selected=true and duo4.items(2).selected=true and duo4.items(3).selected=true then
a=5
else if duo4.items(0).selected=true or duo4.items(2).selected=true or duo4.items(3).selected=true then
a=a+1.5
end if
if duo5.items(1).selected=true or duo5.items(2).selected=true then
a=a
else if duo.items(0).selected=true and duo5.items(3).selected=true then
a=5
else if duo.items(0).selected=true or duo5.items(3).selected=true then
a=a+1.5
end if
if duo6.items(1).selected=true then
a=a
else if duo6.items(0).selected=true and duo6.items(2).selected=true and duo6.items(3).selected=true then
a=5
else if duo6.items(0).selected=true or duo6.items(3).selected=true or duo6.items(2).selected=true then
a=a+1.5
end if
if duo7.items(0).selected=true then
a=a
else if duo7.items(1).selected=true and duo7.items(2).selected=true and duo7.items(3).selected=true then
a=5
else if duo7.items(1).selected=true or duo7.items(2).selected=true or duo7.items(3).selected=true then
a=a+1.5
end if
if duo8.items(2).selected=true or duo8.items(3).selected=true then
a=a
else if duo8.items(1).selected=true and duo8.items(0).selected=true then
a=5
else if duo8.items(1).selected=true or duo8.items(0).selected=true then
a=a+1.5
end if
if duo9.items(2).selected=true then
a=a
else if duo9.items(0).selected=true and duo9.items(1).selected=true and duo9.items(3).selected=true then
a=5
else if duo9.items(0).selected=true or duo9.items(1).selected=true or duo9.items(3).selected=true then
a=a+1.5
end if
if duo10.items(1).selected=true then
a=a
else if duo10.items(0).selected=true and duo10.items(2).selected=true and duo10.items(3).selected=true then
a=5
else if duo.items(1).selected=true or duo.items(2).selected=true or duo.items(3).selected=true then
a=a+1.5
end if
shuchu.text="你的成绩是:"+a
end sub
</script>
<html>
<body><div align="center"><font size="12"><div align="center">计算机考试系统</div></font>
<form runat="server">
<asp:panel id="yin" runat="server" visible="false">
<div align="center">
<table width="778" border="0" cellspacing="0" cellpadding="0">
<tr><td><font size="5"><br>一、单选题</font></td></tr>
<tr><td><br>1.计算机病毒是:</td><tr><td>
<asp:radiobuttonlist id="dan1" repeatdirection="horizontal" runat="server">
<asp:listitem value="A">A.一种硬件设备  </ASP:LISTITEM>
<asp:listitem value="B">B.人为编制的程序  </ASP:LISTITEM>
<asp:listitem value="c">C.自然产生的生物体  </ASP:LISTITEM>
<asp:listitem value="d">D.环境干扰产生的电磁波</ASP:LISTITEM>
</asp:radiobuttonlist><hR></td></tr>
<TR><TD>2.以下属于输入设备的是:</TR></TD><TR><TD>
<asp:radiobuttonlist id="dan2" repeatdirection="horizontal" runat="server">
<asp:listitem value="A">A.鼠标器  </ASP:LISTITEM>
<asp:listitem value="B">B.打印机  </ASP:LISTITEM>
<asp:listitem value="c">C.显示器  </ASP:LISTITEM>
<asp:listitem value="d">D.绘图仪  </ASP:LISTITEM>
</asp:radiobuttonlist><hr>
</TD></TR>
<TR><TD>3.下列有关信息的描述正确的是:</TR></TD><TR><TD>
<asp:radiobuttonlist id="dan3" repeatdirection="vertical" runat="server">
<asp:listitem value="A">A.计算机是一种信息处理机  </ASP:LISTITEM>
<asp:listitem value="B">B.信息处理过程只包括加工和输出两个环节</ASP:LISTITEM>
<asp:listitem value="c">C.数字化信息需要转化为模拟信息才能被计算机处理</ASP:LISTITEM>
<asp:listitem value="d">D.所有的声音、图形、文字是数字化信息,都能被计算机直接处理
</ASP:LISTITEM>
</asp:radiobuttonlist><hr>
</TD></TR><tr><td>
4.中央处理器的英文简称是:</td></tr>
<tr><td><asp:radiobuttonlist id="dan4" repeatdirection="horizontal" runat="server">
<asp:listitem value="A">A. CPU  </ASP:LISTITEM>
<asp:listitem value="B">B. WPS  </ASP:LISTITEM>
<asp:listitem value="c">C. ASP  </ASP:LISTITEM>
<asp:listitem value="d">D. CAD  </ASP:LISTITEM>
</asp:radiobuttonlist><hr></td></tr>
<tr><td>
5.完整的计算机系统的组成是:</td></tr>
<tr><td><asp:radiobuttonlist id="dan5" repeatdirection="horizontal" runat="server">
<asp:listitem value="A">A.键盘和显示器  </ASP:LISTITEM>
<asp:listitem value="B">B.CPU和外部设备  </ASP:LISTITEM>
<asp:listitem value="c">C.硬件系统和软件系统  </ASP:LISTITEM>
<asp:listitem value="d">D.系统软件和应用软件  </ASP:LISTITEM>
</asp:radiobuttonlist><hr></td></tr>
<tr><td>
6.计算机软件系统可分为:</td></tr>
<tr><td><asp:radiobuttonlist id="dan6" repeatdirection="horizontal" runat="server">
<asp:listitem value="A">A.教学软件和系统软件  </ASP:LISTITEM>
<asp:listitem value="B">B.应用软件和工具软件  </ASP:LISTITEM>
<asp:listitem value="c">C.应用软件和系统软件  </ASP:LISTITEM>
<asp:listitem value="d">D.工具软件和教学软件  </ASP:LISTITEM>
</asp:radiobuttonlist><hr></td></tr>
<tr><td>
7.下列关于“回收站”的叙述正确的是:</td></tr>
<tr><td><asp:radiobuttonlist id="dan7" repeatdirection="VERTICAL" runat="server">
<asp:listitem value="A">A.“回收站”中的文件不能恢复  </ASP:LISTITEM>
<asp:listitem value="B">B.“回收站”中的文件可以被打开  </ASP:LISTITEM>
<asp:listitem value="c">C.“回收站”中的文件不占有硬盘空间  </ASP:LISTITEM>
<asp:listitem value="d">D.“回收站”用来存放被删除的文件或文件夹  </ASP:LISTITEM>
</asp:radiobuttonlist><hr></td></tr>
<tr><td>
8.HTML语言是一种:</td></tr>
<tr><td><asp:radiobuttonlist id="dan8" repeatdirection="HORIZONTAL" runat="server">
<asp:listitem value="A">A.大型数据库  </ASP:LISTITEM>
<asp:listitem value="B">B.通用编程语言  </ASP:LISTITEM>
<asp:listitem value="c">C.超文本标识语言  </ASP:LISTITEM>
<asp:listitem value="d">D.网页编辑器  </ASP:LISTITEM>
</asp:radiobuttonlist><hr></td></tr>
<TR><TD>9.下列有关信息的描述正确的是:</td></tr>
<tr><td><asp:radiobuttonlist id="dan9" repeatdirection="VERTICAL" runat="server">
<asp:listitem value="A">A.计算机是一种信息处理机  </ASP:LISTITEM>
<asp:listitem value="B">B.信息处理过程只包括加工和输出两个环节  </ASP:LISTITEM>
<asp:listitem value="c">C.数字化信息需要转化为模拟信息才能被计算机处理言  </ASP:LISTITEM>
<asp:listitem value="d">D.所有的声音、图形、文字是数字化信息,都能被计算机直接处理  </ASP:LISTITEM>
</asp:radiobuttonlist><hr></td></tr>
<TR><TD>10.以下可用媒体播放机播放的文件是:</td></tr>
<tr><td><asp:radiobuttonlist id="dan10" repeatdirection="horizontal" runat="server">
<asp:listitem value="A">A.music.bmp(图象)  </ASP:LISTITEM>
<asp:listitem value="B">B.music.doc(word)  </ASP:LISTITEM>
<asp:listitem value="c">C.music.avi  </ASP:LISTITEM>
<asp:listitem value="d">D.music.com(执行)  </ASP:LISTITEM>
</asp:radiobuttonlist><hr></td></tr>
<TR><TD></DIV> </TD></TR>
</table></asp:panel>
<asp:panel id="yin1" runat="server" visible="false">
<table width="778" border="0" cellspacing="0" cellpadding="0">
<tr><td><font size="5"><br>一、多先题</font><br></td></tr><tr><td> </td></tr>
<tr><td>1.以下可用媒体播放机播放的文件是:
</td></tr>
<tr><td><asp:checkboxlist ID="duo" RepeatDirection="Horizontal" runat="server">
<asp:listitem Value="A">A.停止运行  </asp:listitem>
<asp:listitem Value="d">B.同时保留在内存和外存中  </asp:listitem>
<asp:listitem Value="c">C.继续运行  </asp:listitem>
<asp:listitem Value="d">D.仅保留在外存中   </asp:listitem>
</asp:checkboxlist></asp:listitem><hr></td></tr>
<tr><td>2.计算机网络通信可以使用的传播介质包括
</td></tr>
<tr><td><asp:checkboxlist ID="duo2" RepeatDirection="Horizontal" runat="server">
<asp:listitem Value="A">A.电缆和双绞线  </asp:listitem>
<asp:listitem Value="d">B.飞机和高速列车  </asp:listitem>
<asp:listitem Value="c">C.光纤和微波  </asp:listitem>
<asp:listitem Value="d">D.微波和电缆   </asp:listitem>
</asp:checkboxlist><hr></td></tr>
<tr><td>3.数字政府是
</td></tr>
<tr><td><asp:checkboxlist ID="duo3" RepeatDirection="vertical" runat="server">
<asp:listitem Value="A">A.政府的统计机关  </asp:listitem>
<asp:listitem Value="b">B.政府机构电脑化,网络化和信息化  </asp:listitem>
<asp:listitem Value="c">C.政府的财会部门  </asp:listitem>
<asp:listitem Value="d">D.利用信息技术为公众提供多元化服务   </asp:listitem>
</asp:checkboxlist><hr></td></tr>
<tr><td>4. 下列是当前因特网中广泛应用的领域之一
</td></tr>
<tr><td><asp:checkboxlist ID="duo4" RepeatDirection="horizontal" runat="server">
<asp:listitem Value="A">A. ICQ  </asp:listitem>
<asp:listitem Value="b">B. Word  </asp:listitem>
<asp:listitem Value="c">C. Web  </asp:listitem>
<asp:listitem Value="d">D.  E-Mail  </asp:listitem>
</asp:checkboxlist><hr></td></tr>
<tr><td>5.以下关于因特网IP地址说法中,正确的有
</td></tr>
<tr><td><asp:checkboxlist ID="duo5" RepeatDirection="vertical" runat="server">
<asp:listitem Value="A">A.可以写成4段中间用圆点隔开的十进制数字  </asp:listitem>
<asp:listitem Value="b">B.可以是一串用圆点隔开的英文字母串  </asp:listitem>
<asp:listitem Value="c">C.可以是不多余255个字节的字符串  </asp:listitem>
<asp:listitem Value="d">D.是用来标识某一台主机的标识符  </asp:listitem>
</asp:checkboxlist><hr></td></tr>
<tr><td>6.下面叙述中,正确的是
</td></tr>
<tr><td><asp:checkboxlist ID="duo6" RepeatDirection="vertical" runat="server">
<asp:listitem Value="A">A.计算机高级语言是与计算机型号无关的算法语言   </asp:listitem>
<asp:listitem Value="b">B.汇编语言程序在计算机中不需要编译,能被直接执行  </asp:listitem>
<asp:listitem Value="c">C.机器语言程序是计算机能直接执行的程序  </asp:listitem>
<asp:listitem Value="d">D.汇编语言是最早的高级语言  </asp:listitem>
</asp:checkboxlist><hr></td></tr>
<tr><td>7.下面叙述中,正确的是
</td></tr>
<tr><td><asp:checkboxlist ID="duo7" RepeatDirection="vertical" runat="server">
<asp:listitem Value="A">A.键盘上键的功能可以由程序设计者来改变。   </asp:listitem>
<asp:listitem Value="b">B.系统软件又称为系统程序。  </asp:listitem>
<asp:listitem Value="c">C.操作系统是软件和硬件的接口。  </asp:listitem>
<asp:listitem Value="d">D.一般硬盘不应擅自打开。  </asp:listitem>
</asp:checkboxlist><hr></td></tr>
<tr><td>8.下面叙述中,正确的是
</td></tr>
<tr><td><asp:checkboxlist ID="duo8" RepeatDirection="vertical" runat="server">
<asp:listitem Value="A">A.计算机系统的资源是数据   </asp:listitem>
<asp:listitem Value="b">B.计算机系统是由CPU、存储器和输入输出设备所组成  </asp:listitem>
<asp:listitem Value="c">C.十六位字长的计算机是指能计算最大为16位十进制数的计算机  </asp:listitem>
<asp:listitem Value="d">D.计算机区别于其他计算工具的本质特点是能存储数据和程序  </asp:listitem>
</asp:checkboxlist><hr></td></tr>
<tr><td>9.指出下列关于计算机病毒的正确论述
</td></tr>
<tr><td><asp:checkboxlist ID="duo9" RepeatDirection="vertical" runat="server">
<asp:listitem Value="A">A.计算机病毒是人为地编制出来、可在计算机上运行的程序   </asp:listitem>
<asp:listitem Value="b">B.计算机病毒具有寄生于其他程序或文档的特点
  </asp:listitem>
<asp:listitem Value="c">C.计算机病毒只要人们不去执行它,就无法发挥其破坏作用   </asp:listitem>
<asp:listitem Value="d">D.计算机病毒在执行过程中,可自我复制或制造自身的变种  </asp:listitem>
</asp:checkboxlist><hr></td></tr>
<tr><td>10.格式化磁盘的作用是
</td></tr>
<tr><td><asp:checkboxlist ID="duo10" RepeatDirection="vertical" runat="server">
<asp:listitem Value="A">A.给磁盘划分磁道和扇区   </asp:listitem>
<asp:listitem Value="b">B.为用户保存文件到被格式化的磁盘中  </asp:listitem>
<asp:listitem Value="c">C.在磁盘上建立文件系统  </asp:listitem>
<asp:listitem Value="d">D.将磁盘中原有的所有数据删除
  </asp:listitem>
</asp:checkboxlist><hr></td></tr>
</table>
</asp:panel>
<div align="center"><asp:Label ID="shuchu" runat="server"/>
<ASP:button id="dan11" text="单选题" onclick="leijiean1" runat="server"/>
<ASP:button id="dou11" text="多选题" onclick="leijiean2" runat="server"/>
  <asp:button id="juan" text=" 交卷 " onclick="leijiean" runat="server"/>
</div>
</form></body></html>