某电子商务网站采用ASP+SQL Server开发的电子商务网站系统,提供商品查询、网上购物车、订单管理、后台商品管理、在线支付等功能。其后台修改商品页面如下图所示。
12、【问题1】网站开发完成后,开发人员将源代码和数据库文件pubs.mdf及pubs_log.ldf提供给公司网络管理人员进行网站发布。此时应采用 (1) 数据库方式在数据库服务器上生成数据库。13、【问题2】为保证系统运行的安全性,该商务网站数据库服务器与Web服务器分离,在数据库服务器上创建登录用户时,应打开企业管理器中的 (2) 项进行操作,在创建数据备份计划时,应打开企业管理器中的 (3) 项进行操作。(2)~(3)备选答案:A.数据库 B.数据库转换服务 C.管理D.安全性 E.复制 F.支持服务14、【问题3】该网站数据库连接程序conn.inc部分代码如下,请在空白处填入相应的程序代码。<%set conn= (4) .createobject("adodb.connection")conn.provider="sqloledb"provstr="server=10.10.10.10;database= (5) ;uid=swwz;pwd=9765123"conn. (6) provstr%>(4)~(6)备选答案:A.run B.open C.pubsD.pubs_log E.server F.request15、【问题4】该商务网站数据库中商品表的部分字段如下:
下面是后台修改商品页面的部分表单代码,请根据图和上述字段描述,确定(7)~(9)的表单类型,将答案填写在对应位置。1.<input name="newsbook" type=" (7) " id="nb" value="1"<%if rs1("newsbook")=1 then%>checked<%end if%>>2.<input name="bm" type=" (8) id="bn" size="30" value="<%=rs1("bookname")%>">3.<input type=" (9) " name="go" value="修 改" onClick="return check();">
正确答案及解析
正确答案
解析
12、附加
13、(2)D或安全性(3)C或管理
14、(4)E或server (5)C或pubs(6)B或open
15、(7)checkbox(8)text(9)submit
12、本题考查的是Web数据库的基本知识。问题1考查的是在SQL数据库服务器上创建数据库的方法。在SQL数据库服务器上可以使用以下方法建立数据库:(1)新建数据库。(2)还原数据库:需要扩展名为bak的备份文件,可以将数据库还原到备份点:(3)附加数据库:需要扩展名为mdf和ldf的数据库文件,可以将文件中的数据导入SQL数据库服务器。从本题要求可见,有数据库文件pubs.mdf及pubs_log.ldf,所以应采用附加数据库的方法在数据库服务器上生成数据库。
13、[解析] 考查的是SQL数据库服务器的基本操作。在数据库服务器上创建登录用户时,应打开企业管理器中的安全性项进行操作,在创建数据备份计划时,应打开企业管理器中的管理项进行操作,如下图所示。
14、[解析] 考查的是Web数据库的连接代码。根据题目说明,该网站采用ASP+SQL Server开发,其数据库名称由问题1可知为pubs,所以数据库的连接代码为:<%set conn= server..createobject ("adodb.connection")conn.provider="sqloledb"provstr="server=10.10.10.10; database= pubs; uid=swwz; pwd=9765123"conn. open provstr%>
15、[解析] 考查的是Web程序代码。由上图和商品表字段可以看出,第1小题是“新品”选项,类型是复选框,第2小题是商品名称,其表单类型是文本型,第3小题是“修改”按钮,类型是提交按钮。其具体代码如下:1.<input name="newsbook" type="checkbox" id="nb" value="1"<%if rs1("newsbook")=1 then%>checked<%end if%>>2.<input name="bm" type="text" id="bn" size="30" value="<%=rs1("bookname")%>">3.<input type="submit" name="go" value="修 改" onClick="return check();">
包含此试题的试卷
你可能感兴趣的试题
Advancements in ( )have contributed to the growth of the automotive industry through the creation and evolution of self-driving vehicles.
-
- A.Artificial Intelligence
- B.Cloud Computing
- C.Internet of Things
- D.Big Data
- 查看答案
In project human resource management , ( )is not a source of power for the project manager.
-
- A.referent power
- B.expert power
- C.reward power
- D.audit power
- 查看答案
At the project establishment stage , the feasibility study mainly includes techinical feasibility analysis , ( ), operation environment feasibility analysis and other aspects of feasibility analysis.
-
- A.detail feasibility analysis
- B.opportunity analysis
- C.economic feasibility analysis
- D.risk analysis
- 查看答案
( )is a grid that shows the project resources assigned to each work package.
-
- A.Stakeholder engagement assessment matrix
- B.Requirements traceability matrix
- C.Probability and impact matrix
- D.Responsibility assignment matrix
- 查看答案
Xinhua News Agency reported in January 2022,Chian will further promote the developmet of a digital economy during the 14th Five-Year Plan eriod(2021-2025). The plan also emphasized industrial ( )transformation.
-
- A.digital
- B.networking
- C.intelligentize
- D.informatization
- 查看答案