- 1
-
试题五(共15分)
阅读下列说明,根据网页显示的效果图,回答问题1至问题2。
【说明 】
某电子商务网站如图5-1所示。
【index.html 文档的内容 文档的内容 文档的内容 文档的内容】
网上商城 【frame_left.html 文档的内容】
省略部分代码……
省略部分代码……省略部分代码……
【count.asp 文档的内容 文档的内容 文档的内容 文档的内容】
计数器 <%
Set conn=Server.CreateObject("ADODB.Connection")
Set rs=Server.CreateObject("ADODB.(4)")
conn.ConnectionString="(5)={Microsoft Access Driver (*.mdb)};Uid=;Pwd=;DBQ=
"&Server. (6) ("database/count.mdb")
conn.open()
(7) sql
sql="(8) count set hit=hit+1"
conn.(9)(sql)%>
sql = "select * from count"
set rs=conn.execute(sql)
%>
<%
lasthit=rs.fields("lasthit")
tdate=year(Now()) & "-" & month(Now()) & "-" & day(Now())
sql="update count set lasthit='" &tdate&"' where>
conn.execute(sql)
%>
<%
sql = "select * from count"
set rs=conn.execute(sql)
%>
总访问<%=rs("hit")%>次,最后访问 日期<%=rs("lasthit")%>
<%
rs.close()
%>
【问题1】(6 分)
为程序中(1)~(3)处空缺选择正确答案,并填入答题纸对应的解答栏内。
(1)~(3)备选答案:
- A. src
- B. cols
- C. rows
- D. target
- E. link
- A. 192.168.1.1
- B. 10.1.1.1
- C. 210.156.169.1
- D. 211.156.168.8
- E. 255.255.255.0
- F. 255.255.255.248
- A. 端口故障
- B. 传输介质故障
- C. 网关设置错误
- D. 没有访问WEB 服务器的权限
- Autoconfiguration Enabled . . . . : Yes
- Autoconfiguration IP Address . . . : 169.254.89.209 Subnet Mask . . . . . . . . . . . : 255.255.0.0
- Default Gateway . . . . . . . . . :
- DNS Servers . . . . . . . . . . . : 61.222.253.12 图3-3 (12)备选答案:
- A. 该机与DHCP 服务器连通出现故障
- B. DHCP 服务器故障
- C. Switch4交换机故障
- D. 该机IP 地址配置故障
- A. ping 66.21.234.95
- B. ping 192.168.1.254
- C. ping 66.21.234.98
- D. ping 192.168.1.3
- E. ping 192.168.4.1
- F. ping 127.0.0.1