计算机网络管.理员问答集考试卷模拟考试题_2_第1页
计算机网络管.理员问答集考试卷模拟考试题_2_第2页
计算机网络管.理员问答集考试卷模拟考试题_2_第3页
计算机网络管.理员问答集考试卷模拟考试题_2_第4页
已阅读5页,还剩7页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、姓名:_ 班级:_ 学号:_-密-封 -线- 计算机网络管.理员问答集考试卷模拟考试题考试时间:120分钟 考试总分:100分题号一二三四五总分分数遵守考场纪律,维护知识尊严,杜绝违纪行为,确保考试结果公正。1、阅读下列说明,根据网页显示的效果图,回答问题1至问题4,将解答填入对应的解答栏内。【说明】以下是用asp实现的一个在线留言系统。用ie打开网页文件indexhtml后的效果如图5-1所示。【indexhtml 文档的内容】htmlheadtitle在线留言系统/title/headbodyp align=“center”font color=“#006699”在线留言系统/font/p

2、form method=“post”action=“submitasp”table border=“0”cellspacing=“1”width=“89%”trtd姓名: /tdtd(2)name=“name” size=“30” class=“text” maxlength=“20”/td/trtrtd性别: /tdtd(3)name=“sex” size=“1”option selected请选择你的性别/optionoption value=“男”男/optionoption value=“女”女/option/select/td/trtrtdb简短留言: /font/b/tdtd(4)

3、name=-content” rows=“6” cols=“45” class=“text”/textarea/td/trtrtd(5)name=“submit class=“btn” value=“提交留言”/tdtd(6)name=“b1” value=“全部重填” class=!btn”/td/tr/table/form/body/html【submit.asp 文档的内容】%if request.form(“name”)=“ “ thenresponse.write”scriptalert(请填写留言人性名!); history.back( )/script”response.ende

4、nd ifif request.form(“sex”)=“ “ or request.form(“sex”)=“请选择你的性别” thenresponse.write”scriptalert 请选择留言人性别);history. back( )/script”response.endend ifif len(7)100 thenresponse.write”scriptalert(争议不能超过100字!); history. back( )/script”response.endend if%!-#include file=“conn.asp” -%dim rs,sqlset rs=serve

5、r.(8)sql=“select * from data where (id is null)”rs.open sql,conn, 1,3rs.(9)rs(“name”)(10)rs(“sex”)=requestform(“sex”)rs(“content”)=requestform(“content”)rs(“date”)=now( )rs(“ip”)=requestservervariables(“remote_addr”)rs.(11)rscloseconncloseresponseredirect”successasp”%将以上indexhtml更名为(1)后,将不能直接在ie中正常显

6、示该网页。 (1)备选答案: aindexhtm bindexphp cindexasp ( )2、阅读下列说明,根据网页显示的效果图,回答问题1至问题4,将解答填入对应的解答栏内。【说明】以下是用asp实现的一个在线留言系统。用ie打开网页文件indexhtml后的效果如图5-1所示。【indexhtml 文档的内容】htmlheadtitle在线留言系统/title/headbodyp align=“center”font color=“#006699”在线留言系统/font/pform method=“post”action=“submitasp”table border=“0”cell

7、spacing=“1”width=“89%”trtd姓名: /tdtd(2)name=“name” size=“30” class=“text” maxlength=“20”/td/trtrtd性别: /tdtd(3)name=“sex” size=“1”option selected请选择你的性别/optionoption value=“男”男/optionoption value=“女”女/option/select/td/trtrtdb简短留言: /font/b/tdtd(4)name=-content” rows=“6” cols=“45” class=“text”/textarea/

8、td/trtrtd(5)name=“submit class=“btn” value=“提交留言”/tdtd(6)name=“b1” value=“全部重填” class=!btn”/td/tr/table/form/body/html【submit.asp 文档的内容】%if request.form(“name”)=“ “ thenresponse.write”scriptalert(请填写留言人性名!); history.back( )/script”response.endend ifif request.form(“sex”)=“ “ or request.form(“sex”)=“

9、请选择你的性别” thenresponse.write”scriptalert 请选择留言人性别);history. back( )/script”response.endend ifif len(7)100 thenresponse.write”scriptalert(争议不能超过100字!); history. back( )/script”response.endend if%!-#include file=“conn.asp” -%dim rs,sqlset rs=server.(8)sql=“seleclconncloseresponseredirect”successasp”%为i

10、ndexhtml文件中的(2)(6)处空缺选择正确答案。(2)(6)备选答案:ainput type=“reset”binput type=“submit”cinput type”text”dtextareaeoptionfselectgradio( )3、阅读下列说明,根据网页显示的效果图,回答问题1至问题4,将解答填入对应的解答栏内。【说明】以下是用asp实现的一个在线留言系统。用ie打开网页文件indexhtml后的效果如图5-1所示。【indexhtml 文档的内容】htmlheadtitle在线留言系统/title/headbodyp align=“center”font color

11、=“#006699”在线留言系统/font/pform method=“post”action=“submitasp”table border=“0”cellspacing=“1”width=“89%”trtd姓名: /tdtd(2)name=“name” size=“30” class=“text” maxlength=“20”/td/trtrtd性别: /tdtd(3)name=“sex” size=“1”option selected请选择你的性别/optionoption value=“男”男/optionoption value=“女”女/option/select/td/trtrt

12、db简短留言: /font/b/tdtd(4)name=-content” rows=“6” cols=“45” class=“text”/textarea/td/trtrtd(5)name=“submit class=“btn” value=“提交留言”/tdtd(6)name=“b1” value=“全部重填” class=!btn”/td/tr/table/form/body/html【submit.asp 文档的内容】%if request.form(“name”)=“ “ thenresponse.write”scriptalert(请填写留言人性名!); history.back(

13、 )/script”response.endend ifif request.form(“sex”)=“ “ or request.form(“sex”)=“请选择你的性别” thenresponse.write”scriptalert 请选择留言人性别);history. back( )/script”response.endend ifif len(7)100 thenresponse.write”scriptalert(争议不能超过100字!); history. back( )/script”response.endend if%!-#include file=“conn.asp” -

14、%dim rs,sqlset rs=server.(8)sql=“select * from data where (id is null)”rs.open sql,conn, 1,3rs.(9)rs(“name”)(10)rs(“sex”)=requestform(“sex”)rs(“content”)=requestform(“content”)rs(“date”)=now( )rs(“ip”)=requestservervariables(“remote_addr”)rs.(11)rscloseconncloseresponseredirect”successasp”%从以下备选答案中为

15、submitasp程序中(7)(11)处空缺选择正确答案。(7)(11)备选答案: (7) arequestquerystring(“content”) brequestquerystring(“name”) crequestform(“content”) drequestform(“name”) (8) amappath(“adodbrecordset”) bcreateobject(“adodbrecordset”) cnew(“adodbrecordset”) dhtmlencode(“adodbrecordset”) (9)aaddnew badd ceof dinsert(10)ar

16、equestquelystring(“content”) brequestquexystring(“name”) crequestform(“content”) drequestform(“name”) (11) asubmit bupdate cappend drefresh ( )4、阅读下列说明,根据网页显示的效果图,回答问题1至问题4,将解答填入对应的解答栏内。【说明】以下是用asp实现的一个在线留言系统。用ie打开网页文件indexhtml后的效果如图5-1所示。【indexhtml 文档的内容】htmlheadtitle在线留言系统/title/headbodyp align=“c

17、enter”font color=“#006699”在线留言系统/font/pform method=“post”action=“submitasp”table bordloption value=“女”女/option/select/td/trtrtdb简短留言: /font/b/tdtd(4)name=-content” rows=“6” cols=“45” class=“text”/textarea/td/trtrtd(5)name=“submit class=“btn” value=“提交留言”/tdtd(6)name=“b1” value=“全部重填” class=!btn”/td/

18、tr/table/form/body/html【submit.asp 文档的内容】%if request.form(“name”)=“ “ thenresponse.write”scriptalert(请填写留言人性名!); history.back( )/script”response.endend ifif request.form(“sex”)=“ “ or request.form(“sex”)=“请选择你的性别” thenresponse.write”scriptalert 请选择留言人性别);history. back( )/script”response.endend ifif len(7)100 thenresponse.write”scriptalert(争议不能超过100字!); history. back( )/script”response.endend if%!-#include file=“conn.asp” -%dim rs,sqlset rs=server.(8)sql=“select * from data where (id is null)”rs.open sql,conn, 1,3rs.(9)rs(“name”)(10)rs(“sex”)=request

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论