问题详情

某高校开发了一套基于Web的教务管理系统,实现教务管理人员课程设置、学生选课和成绩查询、教师上传成绩以及特殊情况下教务处对成绩进行修改等功能。系统基于Java EE平台实现,采用表单(Form)实现用户数据的提交并与用户交互。
系统要支持:
7在特定时期内100个用户并发时,主要功能的处理能力至少要达到10个请求/秒,平均数据量8KB/请求;
8用户可以通过不同的移动设备、操作系统和浏览器进行访问。
系统实现时,对成绩更新所用的SQL语句如下:
"UPDATE StudentScore SET score="+intCTientSubmitScore+"WHERE Stuent_ID='"+strStudentID+"';"
设计1个测试用例,以测试该SQL语句是否能防止SQL注入,并说明该语句是否能防止SQL注入,以及如何防止SQL注入。

未搜索到的试题可在搜索页快速提交,您可在会员中心"提交的题"快速查看答案。 收藏该题
查看答案

相关问题推荐

某些设计模式会引入总是被用作参数的对象。例如()对象是一个多态accept方法的参数。
A.Visitor
B.Command
C.Memento
D.Observer
以下属于集成测试的是()。
A.系统功能是否满足用户要求
B.系统的实时性是否满足
C.系统中一个模块的功能是否会对另一个模块的功能产生不利的影响
D.函数内局部变量的值是否为预期值
Why Have Formal Documents
Finally, writing the decisions down is essential. Only when one writes do the gaps appear and the (71) protrude(突出). The act of writing turns out to require hundreds of mini-decisions, and it is the existence of these that distinguishes clear, exact policies from fuzzy ones.
Second, the documents will communicate the decisions to others. The manager will be continually amazed that policies he took for common knowledge are totally unknown by some member of his team. Since his fundamental job is to keep everybody going in the (72) direction, his chief daily task will be communication, not decision-making, and his documents will immensely (73) this load.
Finally, a manager’s documents give him a data base and checklist. By reviewing them ( ) he sees where he is, and he sees what changes of emphasis or shifts in direction are needed.
The task of the manager is to develop a plan and then to realize it. But only the written plan is precise and communicable. Such a plan consists of documents on what, when, how much, where, and who. This small set of critical documents (75) much of the manager’s work. If their comprehensive and critical nature is recognized in the beginning, the manager can approach them as friendly tools rather than annoying busywork. He will set his direction much more crisply and quickly by doing so..
A.periodically
B.occasionally
C.infrequently
D.rarely
以下关于信息和数据的描述中,错误的是()。
A.通常从数据中可以提取信息
B.信息和数据都由数字组成
C.信息是抽象的、数据是具体的
D.客观事物中都蕴涵着信息
Teams are required for most engineering projects. Although some small hardware or software products can be developed by individuals, the scale and complexity of modem systems is such, and the demand for short schedules so great, that it is no longer ___71___ for one person to do most engineering jobs. Systems development is a team ___72___, and the effectiveness of the team largely determines the ___73___ of the engineering.
Development teams often behave much like baseball or basketball teams.Even though they may have multiple specialties, all the members work toward ___74___. However, on systems maintenance and enhancement teams, the engineers often work relatively independently, much like wrestling and track teams.A team is ___75__ just a group of people who happen to work together. Teamwork takes practice and it involves special skills. Teams require common processes; they need agreed-upon goals; and they need effective guidance and leadership. The methods for guiding and leading such teams are well known,but they are not obvious.
A.size
B.quality
C.scale
D.complexity
联系我们 用户中心
返回顶部