阅读以下技术说明,结合网页显示的效果图,根据要求回答问题。 [说明]
某大学利用VOD视频服务系统提供教学课件在线点播服务。该视频服务系统用ASP语言编程实现,主页文件名为index.asp,部分网页运行的效果如下图所示。程序中使用的Access数据表结构分别如表1和表2所示。
[conn.asp文档的内容] <% dim db, conn,
connstr db="vod.mdb" set
Conn=server.CreateObject("ADODB.connection")
connstr="proyider=microsoft.jet.oledb.4.0;data
source="&server.MapPath("data/"&db&"") %>
[index.asp文档的内容]
<html> <head> <title>视频服务系统</title>
<style type="text/css"> <! td
{font-size:12px;line-height:17px} body
{font-size:12px;line-height:17px} P
{margin-top:1px;margin-bottom:1px} a:link
{text-decoration:none;color:black} a:visited
{text-decoration:none;color:black} -->
</style> </head> <body leftmargin="0"
topmargin="0"> <!-- # include file="head.asp" -->
<table> <td height="30" width="367">
<%sql="select * from item" setrs item=server, createobj
iect("adodb.recordset") rs_iterm.open sql, connstr, 1,
1 response.write "<p><b><img src=images/dot1.gif><a
href=index.asp>全部节目</a> " do while not rs_item.eof
response.write "<imgstc--images/dot1.gif botder=0><a
href=index.asp?item="&rs_item("name")
&">"&rs_item("name")A"</a> " response.write "</b>
" rs hm.Close%> <!-- 第处
--> </td> </table>
</div> <div align="center"> <%dim item
type item type= if
item_type="" or itcrn_type="全部节目" then sql="sclect * from
data" else sql="" end if set rs=server,
createobject("adodb.recordset") rs.open sql, connslr, 1,
1 %> <table <tr>
<td width="125" background="images/bg.gif" height="30">
<img border="0" src="images/biao_left.gif" width="15"
height="15">节目名称</td> <td width="58" background="images/bg.gif"
height="30" align="center">格式类型</td> <td width="43"
background-"images/bg, gif" height="30" align="center">点播次数</td>
<td width="70" background="images/bg.gif" height="30"
align="center">创建日期</td> <td width="115"
background="images/bg.gif" heighr="30" align="center">点播</td>
<td width="73" background="images/bg, gif" height="30"
align="center">下载</td> </tr> <%do while not
rs.eof%> <tr> <td width="125" height"30"> <img
border="0" src="images/dian.gif">
<%=rs("name")%></td> <td width="115" height="30"
align="center"><a href="">点播</td> <td width="58" height="30"
align="center"><%=rs("type")%></td> <td width="70" height="30"
align="center"><%=rs("date")%></td> </tr>
填空题
请根据图中网页的显示效果,解释该ASP程序中用下画线标出的语句的含义,即填写①、③、④、⑥、⑩空缺处的解释内容。
填空题
请根据图中网页的显示效果,将ASP程序中②、⑤、⑦、⑧、⑨空缺处的代码补充完整。
供选择的答案如下。
A.Trim(request("item")) B.rs_item.movenext
C.rs.movenext D.<!--#include file="conn.asp"-->
E.select * from data where item="&item_type&"
F.<td width="43" height="30" align="center"><%=rs("Brand")%></td>
G.<td width="43" height="30" align="center"><%=rs("hits")%></td>
填空题
在index.asp文档中使用了<style type="text/css">语句。其中,CSS是指{{U}} ① {{/U}},它是一种{{U}} ② {{/U}}样式描述格式,能保证文档显示格式的一致性和较好的格式化。CSS本身{{U}} ③ {{/U}}XML的语法规范。
①A.扩展样式表 B.层叠样式表
②A.静态的 B.动态的
③A.遵从 B.不遵从
多选题
以下网页设计方式中,可以使用户快捷有效地获取其所需信息的有______。
A.限制网页中同时显示的颜色数
B.网页内容的显示长度不限
C.采用带有文字的图形(图像)点缀网页
D.网页中超链接突出显示
【正确答案】
A、B、D
【答案解析】 为了提供有效的信息服务,在进行电子商务网站建设时要先设计其基本框架,并定义框架的信息基础单位(如HTML/ASP网页)。由于电子商务网站中包含众多信息,因此必须采用一些有效的方法让用户快速检索并查询到所需的信息,并且实现网页的快速导航。目录和索引是常用的快速导航工具,其典型的应用场合是帮助文档。
为了使用户快捷有效地获取信息,必须采用有效的网页设计方式和设计理念,使用户以最简单、最便捷的方式获取对其最有用的信息。常用的网页设计方式如下。
(1)限制网页中同时显示的颜色数。
(2)网页内容的显示长度不限。
(3)网页中超链接突出显示等。
提交答案
关闭