[说明]某公司使用ASP开发商务网站,该商务网站具有商品介绍、会员管理、在线支付、物流管理等功能。该商务网站采用SQL Server数据库,数据库名为business,其中用户表名称为name,其结构如下表所示。字段名类型UserNameCharPasswordCharUsergradeChar其中Usergrade仅有两个有效值:“m”表示会员,“b”表示非会员。 该商务网站只对会员用户开放购物车模块,当非会员用户点击购物车模块首页链接时,系统跳转至会员注册页面;会员用户点击购物车模块首页链接时,直接进入购物车模块的首页。其中购物车模块的首页为 main.asp,用户登录时的判断页面是 ChkLogin.asp,会员注册页面为Register.asp。1. ChkLogin.asp的部分代码如下,请在空(4)~(6)处填写正确的代码。<%……username=replace(trim((4) ("username")),"'","")……sql="select * from (5) where Password='"&password&"' andUserName='"&username&"'"rs.open sql,conn,1,1if (6) (rs.bof and rs.eof) thenif password=rs("Password") thensession("Username")=rs("UserName ")session("Usergrade")=rs("Usergrade ")……%>2.main.asp的部分代码如下,请为空(7)~(8)选择正确的代码。<%if (7)<>"m" thenresponse. (8)"Register.asp"end if%>……(7)备选答案:A.session("Username")B.session("Usergrade")C.application("Username")D.application("Usergrade")(8)备选答案:A.cookieB.endC.redirectD.write
T1载波采用()复用技术,将()路话音复用在一条通信线路上,每路话音信号要经过编码器进行采样,采样频率为()Hz。 每路话音信号要经过编码器进行采样,采样频率为()Hz。
A. 50
B. 1000
C. 8000
D. 10000
填写图2-1中(a)~(f)处联系的类型(注:一方用1表示,多方用m或n或*表示),并补充完整图2-1中的实体、联系和联系的类型。 f--()
Both bus and tree topologies are characterized by the use of multipoint().For the bus,all stations attach,through appropriate hardware()known as a tap,directly to a linear transmission medium,or bus.Full-duplex operation between the station and the tap allows data to be transmitted onto the bus and received from the().A transmission from any station propagates the length of the medium in both directions and can be received by all other().At each end of the bus is a(),which absorbs any signal,removing it from the bus. For the bus,all stations attach,through appropriate hardware()known as a tap,directly to a linear transmission medium,or bus.
A. processing
B. switching
C. routing
D. interfacing