题目详情
阅读以下说明,回答问题1至问题2,将解答填入答题纸对应的解答栏内。 【说明】 某学校新生入学后进行信息登记,其登记页面和登记后信息显示页面分别如图4-1和4-2所示。 【问题1】(9分) 以下是图4-1所示的index.asp页面的部分代码,请仔细阅读该段代码,将(1)~(9)的 的空缺代码补齐。 <title>学生档案</title> <body> <div aljgn="(1)”> <$amp;>amp;$lt;strong>学生档案</strong$amp;>amp;$lt;> </div> <form id="form1" name="form1” method=”(2)”action=show.asp”> <table width="485" border="1" align="center"> <tr> <td>姓名</td > <td$amp;>amp;$lt;label for="name"$amp;>amp;$lt;/label> <input type="(3)”name=”name” id=”name”/$amp;>amp;$lt;/td> </tr> <tr> <td>性别</td> <td$amp;>amp;$lt;input type=”(4)" name="sex" id="radio" value="男 " /> <label for="sex”>男 <input type="radio" name="sex" id="radio2" value=”女" /> 女</label$amp;>amp;$lt;/td> </tr> <tr> <td>城市</td> <td$amp;>amp;$lt;label for="city"$amp;>amp;$lt;/label> <(5) name="city" id="city"> <option value="北京" selected="(6)”>北京</option> <option value=”上海”>上海</option> <option value="广州">广州</option> </select$amp;>amp;$lt;/td> </tr> <tl> <td>班级</td> <td$amp;>amp;$lt;label for"class"$amp;>amp;$lt;/label> <input type="text" name="class" id="class"/$amp;>amp;$lt;/td> </tr> <tr> <td>爱好</td> <td$amp;>amp;$lt;label for="favorite"$amp;>amp;$lt;/label> < (7)name="favorite" id="favorite" cols="45" rows= "5”$amp;>amp;$lt;/textarea$amp;>amp;$lt;/td> </tr> <tr> <td$amp;>amp;$amp;nbsp;</td> <td$amp;>amp;$lt;input type=”(8)” name="button" id="button" value="提交" /> <input type=”(9)" name="button2" id="button2" value=”重新填写”/$amp;>amp;$lt;/td> </tr> </table> </form> </body> </html> (1)~(9)备选答案: A.submit B.selected C.post D.reset E.radio F.text G.center H.textarea I.select 【问题2】(6分) 学生输入信息并提交后,系统将回显学生信息,并显示登记位次。下面是显示学生登记位次的部分代码,请根据图4-2将下面代码补充完整。 <% Whichfile=server. mappath ("register.txt") set fs=server.(10)("Scripting.FileSystemObject") set thisfile=fs. opentexfile (whichfile) visitors= (11) .readline thisfile.close response.Write("<center$amp;>amp;$lt;font size=5>你是第”&(12)&位登记者</font$amp;>amp;$lt;/center$amp;>amp;$rdquo;)%> …… //省略页面显示部分代码 <% visitors=visitors+1 set out=fs.(13)(whichfile) (14).writeLine (visitors) out.close set fs=(15) %> (10)~(15)备选答案: A.thisfile B.visitors C.nothing D.CreateObject E.out F.createtextfile 请帮忙给出正确答案和分析,谢谢!
题目答案
题目解析⬇️小程序搜题更方便
推荐题目
7057在Windows的命令行窗口中键入命令 C:\> nslookup set type= MX >202.30861
904眼眶骨折分为________、________和________,其中爆裂骨折常见于________。3356
5821阅读以下说明,回答问题1至问题3,将解答填入答题纸对应的解答栏内。 【说明】 某单位有两间办公室,1973
2734在HTML中,用于输出“$amp;>amp;$rdquo;符号应使用()。A.gtB.\gtC.&gtD.%gt5503
5950试题四(共15分) 阅读下列说明,回答问题1和问题2,将解答填入答题纸的对应栏内。 【说明】 1848
9005两名以上的申请人分别就同样的软件发明创造申请专利,()可取得专利权。 A.最先发明的人B.最先申7913
9692家庭网络中,下面IP地址()能被DHCP服务器分配给终端设备。A.169.254.30.21B.172.15.2.1C.192.168.5905
6485恶性肿瘤()A.高密度肿块,边界清楚B.中鼻道软组织肿块C.鼻窦半圆形或球形软组织影D.向周围侵7205
4244编写程序时通常为了提高可读性而加入注释,注释并不参与程序的运行过程。通常,编译程序在()阶段就6706
1579请叙述喉癌CT、MRI表现及鉴别诊断。5442
4550试题三(共20分) 阅读以下说明,回答问题1至问题4,将解答填入答题纸对应的解答栏内。 【说6835
390颞骨由哪几部分组成()A.鳞部B.鼓部C.乳突部D.岩部E.茎突6245
9134在Windows操作系统中,ipconfig /all命令的作用是()。A.配置本地主机网络配置信息B.查看本地主机4797
1760The use of network(),systems that effectively isolate an organization&39;s internal netwo9246
3222目前在小型和微型计算机系统中普遍采用的字母与字符编码是()。 A.BCD码B.海明码C.ASCII码D.补码478