阅读以下说明,回答问题一,并将解答填入答题纸对应的解答栏中。 某公司用ASP 实现了用户满意度调查的网页,系统的几个主要文件及作用如表1所示, 网页的效果如图1 所示。
用户调查数据库表info表结构如表2所示:
问题1:完成下列代码填空
备选答案:A.用户满意度调查 B. rs C. username
D. </frameset> E. dbpathF.Conn G.exec H. top.html I.info J. login.asp K.searchtext L. rs.EOF M. MoveNext N.wt1 O. rowcount
正确答案及解析
正确答案
解析
(1)A (2)H (3)J (4)D (5)C (6)I (7)K(8)F (9) E (10)B (11)G (12)L (13)N(14)O (15)M
【解析】
(1) 从图中的标题可以看出是“用户满意度调查”(2) 结合表中给出的各个文件的作用,可以知道此处是顶面框架的banner位置(3) Main框架指向操作区文件,根据图像显示是一个登陆页面,也就是login.asp(4) 此位置是一个frameset结束标记。(5) 根据下面的sQL语句知道,要搜索的是username(6) 此处需要一个数据表的名字,从题干可知是用户调查数据库表info表(7) 组合成SQL语句,需要输入的用户名,此时用户名在变量searchtext中(8) 打开数据库连接,必须是一个adodb对象,因此是conn(9) Source是对应的数据库位置,在上一行已经将数据位置存放在dbpath中(10) 根据上下文,此时是一个记录集,也就是RS。(11) 此处是需要以一个SQL语句,SQL存在exec中(12) 此处是一个遍历数据库记录的操作,因此要设定遍历的条件就是记录还没有到结尾位置。Rs.eof就是常用的标记。(13) 根据上下文可以知,这是将用户的三个问题显示出来,因此是wt1(14) Rowcount是一个控制行数的变量,在循环条件中已经用到,此处是不断的减去1.(15) Movenext就是记录集不断后移的动作
你可能感兴趣的试题
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
- 查看答案