某管理系统采用ASP+SQL Server开发,数据库名db,打开该网站主页,如下图所示。
问题1(每空2分,共计6分)以下是该网站主页部分的html代码,请根据上图将(1)~(3)的空缺代码补齐。<body> <div> <form id="ff" > <input id="hfcity" type="hidden" name="city" /> <div> <div> <div> <label>工号</label> <input type="(1)" id="UserId" name="UserId" placeholder="请输入教师工号" style="width:200px" /> </div> <div> <label>密码</label> <input type="(2)" id="Password" name="Password" placeholder="请输入密码" style="width:200px" /> </div> <div> <input type="text" class="inputtext width160" id="VeriCode" name="VeriCode" placeholder="请输入验证码" /> <img id="imgVerifi" title="单击换一张验证码" src="verificationcode" onclick= "changecode()" /> </div> <div> <a (3)="forgotpwd">忘记密码?</a> </div> <div> <button id="btnlogin" onclick="loginform(); return false">登录</button> </div> </div> ……</body></html>问题2(每题1.5分,共计3分)该网站采用ASP编写程序代码,在ASP内置对象中,application对象和session对象可以创建存储空间用来存放变量和对象的引用。如果在页面中设置访客计数器,应采用上述的 (4) 对象;如果用户身份信息存放,应采用上述的 (5) 对象。 问题3(每空2分,共计6分)数据库中有一个成绩表,表名为sco如下图所示。
计算每个人的总成绩并排名(要求显示字段:姓名,总成绩)select name,SUM((6)) as allscore from db.scogroup by (7) order by (8);
正确答案及解析
正确答案
解析
(1)text(2)password(3)href(4)application(5)session(6)score(7)name(8)allscore
【解析】
问题1:Html中,用户名输入框采用text文本框,密码输入采用密码文本框password,链接采用href标签。 问题2:session对象:是一个会话,是一个客户与服务器之间的交互。session是HTTPSeeesionState的类别,他存储个人信息,一个用户不能访问另一个用户的session信息。application对象:是应用程序类,程序启动时第一次请求时这个application实例就会运行起来。有了application对象,这个对象会维护1个或多个会话信息,多个信息共享。会话之间是隔离的,用他联系起来。他就相当于全局变量,程序已启动就存在,程序关闭时才灭亡,在他存在的过程中,多个session对象都可以访问它,所以他使用存放一些公关的信息。 问题3:略
你可能感兴趣的试题
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
- 查看答案