好文档 - 专业文书写作范文服务资料分享网站

基于Java - Web的在线考试系统的设计与实现

天下 分享 时间: 加入收藏 我要投稿 点赞

well, with the effectiveness of services to defend the interests of the masses. Third, we should strive to do well. To achieve good practical results, the key is to know the law, to grasp the laws and using laws. Office of economic development, social progress, there are rules to follow. Only act according to the law, to overcome blindness and strengthening initiative, creative. Working n the Office, we should be good at analyzing the essence of things, to find regular thing, change from passive to active, to seek one. Investee 2. establishment of evaluation system. Evaluation system is essentially an incentive mechanism, the evaluation was objective and fair, reasonable, and can stimulate a person's energy, mobilizing people's enthusiasm or be misleading, dampened the enthusiasm of people. At present, the concept of people-oriented people, but to establish and perfect evaluation system is still lagging behind. Work in this area should be seriously caught up. \phasis on\standards and scientific. A fundamental point of the evaluation criteria, is to keep contact, development, comprehensive eye evaluation of cadres. Office work, both \d\potential performance\both subjective efforts, take another look at the objective condition; both \nough, take another look at the \cipating the breadth of the subject. Evaluation of cadres must give full play to democracy, cadres and the masses handing over evaluation. Office work services leadership and service base, serve the people, then nominated the main object will contain a variety of services, so that assessment was accurate and to avoid one-sidedness. Third, pay attention to the seriousness of the conclusion. The use of evaluation findings is mainly embodied in his direction. Permitted to choose one, it would be tantamount to establishing a banner. Evaluation can't take care of the balance, otherwise it would undermine the offset the positive significance of evaluation. Office of the party committees at all levels should take the findings as on the cadres ' bonus-penalty, an important basis for future movements, incentive and restraint effect of making evaluations. 3. Prevention of understanding \ople-centered development, concrete is dialectical,. In practice in the process, to prevent one-sided and still look, from actual people. One is to use dialectical point of view to understand. Humanist is the core of the scientific Outlook on development, remains the development of the scientific Outlook on development emphasizes, is still taking economic construction as the Center. Any departure from the development of thought and action, is a misinterpretation and misunderstanding of people-oriented. Adhere to people-oriented both to overcome one-sidedness of the old, but also to prevent one-sidedness, not accelerating the development of people and the opposition. Must be very clear, people oriented and speeding up development is not opposed, but consistent, we should never be

4.5.1 考生管理

管理员在该模块中,可以对已经注册过的考生进行删除操作,对还未注册的,可以直接添加该考生。如图4-13所示:

图4-13 考生管理页面

点击删除,会弹出提示框,点击确定按钮,后台连接数据库,从user表中删除该考生,执行代码与教师删除试题类似,只是连接数据库表不同。

删除学生的sql语句:

String sql=\删除教师的sql语句:

String sql=\点击添加新用户按钮,会跳转到添加页面,在此页面中,需要管理员填写用户名、密码、确认密码、真实姓名,该页面与注册页面基本相同,其主要执行代码也与注册页面执行的代码类似。在此就不列举了。

执行添加的sql语句是:

sql = \value('\

eople-oriented in the name of reducing our enthusiasm. Premier Wen Jiabao's Government work report this year, identified as 7% growth, 2.1% lower than last year's 9.1%, but in 8 work remains to accelerate development in the first place ... Work standards. Second is to use the scale of development to understand. Society is evolving, human needs are also changing. Practice of humanism is a long-term process and cannot be achieved overnight. To treat people if you stand still and rigid dogma, it is possible to return to this, see things but not people's old ways. Therefore, we have to follow the development of the times, and continue debugging the humanist perspective, innovative people-oriented way. Under the new historical conditions, we are requested by the times, set up a brand new concept, a high starting point, high standard of armed people, shaping, exercise, people, constantly taking the new connotation of the times. erms of Office, is to lead the vast numbers of cadres to actively adapt to the knowledge faster and actively adapt to the increasingly high level of leadership situation, actively adapt to the demand of the masses more and more situations, eager to learn, enhance accumulation, efforts, honed the ability to overcome a good service, panic. Third is to use realistic understanding. Adhere to people-oriented must be based on reality, not divorced from reality. Desk no water cups here in Hong Kong, staff need to drink some water to the drinking fountain on a floor, the glass used is a one-time non-cone type. Drink this cup can only hold, cannot be put down. This is not only to save on glass materials, more important is to force you to get drinking water, go back to your seat business. Our emphasis on people-oriented, does not imply you can indulge the desires, the comfortable, the pursuit of enjoyment. Office of the party committees at all levels of our comrades, must continue to maintain the style of plain living and hard struggle, to stand up to the tests of temptations, exciting \position\he spirit of selfless dedication and provide services. Investee 4. clearly defined responsibilities. Putting people first is acommon vision of development, everyone is a liability. People-oriented, above and below with the responsibility for coordinating system must be established and hold everyone accountable. First, we must strengthen the leadership. \ce, its governance, its level, bear the responsibility of the Division.\his is the minimum requirement for leaders, is a measure of the basic criteria for whether a leading cadre is competent. Leaders need to \benefit of\ously assume responsibility for implementing people-oriented. Director of the Office of the party committees at all levels is the responsibility of the units to implement people-oriented, to manage their people, \n own responsibility\nce the education of leading cadres, cadres and cadres work, efforts to revitalize the Office of human resources, Office work is full of vigor and vitalityJava Web应用开发——在线模拟考试系统的设计与实现

第五章 系统测试

5.1什么是软件测试

软件测试是在软件投入运行前,对软件需求分析、设计规格说明书和编码的最终的复审,是软件质量保证的关键步骤。确切的说,软件测试就是为了发现错误而执行的过程。一般分为两个阶段:

1.单元测试:在编完模块后进行测试;

2.综合测试:在开发完软件后进行综合测试。

5.2软件测试的目标与方法

G. Myers 给出了关于测试的一些规则,这些规则可以看作是测试的目标或定义:

1.测试是为了发现程序中的错误而执行程序的过程;

2.好的测试方案是极可能发现迄今为止尚未发现的错误的测试; 3.成功的测试是发现了至今为止尚未发现的错误的测试。 测试任何软件都有两种方法:黑盒测试和白盒测试法。

黑盒测试法(又称功能测试法)是把程序看成一个黑盒子,完全不考虑程序的内部结构和处理过程,是在程序接口进行的测试,它只检查程序功能是否按照规格说明书的规定正常使用。

白盒测试法(又称结构测试法)是把程序看成装在一个透明的白盒子里,也就是完全了解程序的结构和处理过程,这种方法按照程序内部的逻辑测试程序,检验程序中的每条通路是否都能按照预定要求正确工作。

5.3测试内容

考生注册功能-点击注册按钮,跳转到注册页面,输入一个已经注册成功的用户名,填写完其他项,点击注册,提示该用户名已经存在,与预期效果相同。

考生修改密码功能-在修改页面填写原密码,新密码和确认新密码项填写不同,但是也提示修改成功,与预期效果不同,经查询代码发现,sql语句的限制条件出现问题,导致最后这种效果,最终经修改、测试,达到预期效果。教师修改密码的测试与考生类似,不一一列举。

考生成绩查询功能-先选择要查询的试卷类别,然后在页面中显示出考试的成绩以及考试时间,与预期效果相同。

教师对题目的增加、删除、修改功能-填写好题目的内容,然后进行添加,但是当插入数据库的时候,跳转的页面显示不出提示信息,经查阅资料后得知,是因为插入中文问题,修改了数据库的字符类型后,成功添加,

35

well, with the effectiveness of services to defend the interests of the masses. Third, we should strive to do well. To achieve good practical results, the key is to know the law, to grasp the laws and using laws. Office of economic development, social progress, there are rules to follow. Only act according to the law, to overcome blindness and strengthening initiative, creative. Working n the Office, we should be good at analyzing the essence of things, to find regular thing, change from passive to active, to seek one. Investee 2. establishment of evaluation system. Evaluation system is essentially an incentive mechanism, the evaluation was objective and fair, reasonable, and can stimulate a person's energy, mobilizing people's enthusiasm or be misleading, dampened the enthusiasm of people. At present, the concept of people-oriented people, but to establish and perfect evaluation system is still lagging behind. Work in this area should be seriously caught up. \phasis on\standards and scientific. A fundamental point of the evaluation criteria, is to keep contact, development, comprehensive eye evaluation of cadres. Office work, both \d\potential performance\both subjective efforts, take another look at the objective condition; both \nough, take another look at the \cipating the breadth of the subject. Evaluation of cadres must give full play to democracy, cadres and the masses handing over evaluation. Office work services leadership and service base, serve the people, then nominated the main object will contain a variety of services, so that assessment was accurate and to avoid one-sidedness. Third, pay attention to the seriousness of the conclusion. The use of evaluation findings is mainly embodied in his direction. Permitted to choose one, it would be tantamount to establishing a banner. Evaluation can't take care of the balance, otherwise it would undermine the offset the positive significance of evaluation. Office of the party committees at all levels should take the findings as on the cadres ' bonus-penalty, an important basis for future movements, incentive and restraint effect of making evaluations. 3. Prevention of understanding \ople-centered development, concrete is dialectical,. In practice in the process, to prevent one-sided and still look, from actual people. One is to use dialectical point of view to understand. Humanist is the core of the scientific Outlook on development, remains the development of the scientific Outlook on development emphasizes, is still taking economic construction as the Center. Any departure from the development of thought and action, is a misinterpretation and misunderstanding of people-oriented. Adhere to people-oriented both to overcome one-sidedness of the old, but also to prevent one-sidedness, not accelerating the development of people and the opposition. Must be very clear, people oriented and speeding up development is not opposed, but consistent, we should never be达到预期效果。删除和修改功能与预期效果相同。

管理员对考生的删除功能-点击删除,出现提示框,是否确认删除,点击确定后,实现删除,与预期效果相同;对教师的删除功能也是按照此步骤,与预期效果相同。

其他的功能的测试也如上面一样进行,测试结果与预期结果一致。

5.4系统的不足和展望

对于本次做的网上考试系统有很多的不足和不完善的地方。比如系统的有些功能操作不够人性话,提示不够准确,对管理信息的设置很不完善。在系统模块的实现上,由于本人学业不精,导致做的都非常复杂;没有设置公共页面,在修改的时候会非常的繁琐,是以后提升的重要点。在页面美化上,没有做的很好,只是基本功能能够实现了,但在今后的学习上,会更加注意这一点。在教师成绩统计的页面,没有考虑到不同时期考试的成绩累加问题,这个也需要我再继续完善下该系统。在数据库表方面,表的关联性运用的不是很好,只是一些内容得到了关联,使用了外键,由于前期设计是没有想的很全面,导致了到最后的复杂性,需要在今后的工作和学习中不断的积累经验,要有个全局的思想。

在当今信息时代,计算机技术与网络技术越来越广地成熟的应用于各个领域,同时也影响了教育领域的重大变革,网上考试系统也将更多更好的应用在教育教学领域中。以后的网上考试系统将会更加完善使用。

eople-oriented in the name of reducing our enthusiasm. Premier Wen Jiabao's Government work report this year, identified as 7% growth, 2.1% lower than last year's 9.1%, but in 8 work remains to accelerate development in the first place ... Work standards. Second is to use the scale of development to understand. Society is evolving, human needs are also changing. Practice of humanism is a long-term process and cannot be achieved overnight. To treat people if you stand still and rigid dogma, it is possible to return to this, see things but not people's old ways. Therefore, we have to follow the development of the times, and continue debugging the humanist perspective, innovative people-oriented way. Under the new historical conditions, we are requested by the times, set up a brand new concept, a high starting point, high standard of armed people, shaping, exercise, people, constantly taking the new connotation of the times. erms of Office, is to lead the vast numbers of cadres to actively adapt to the knowledge faster and actively adapt to the increasingly high level of leadership situation, actively adapt to the demand of the masses more and more situations, eager to learn, enhance accumulation, efforts, honed the ability to overcome a good service, panic. Third is to use realistic understanding. Adhere to people-oriented must be based on reality, not divorced from reality. Desk no water cups here in Hong Kong, staff need to drink some water to the drinking fountain on a floor, the glass used is a one-time non-cone type. Drink this cup can only hold, cannot be put down. This is not only to save on glass materials, more important is to force you to get drinking water, go back to your seat business. Our emphasis on people-oriented, does not imply you can indulge the desires, the comfortable, the pursuit of enjoyment. Office of the party committees at all levels of our comrades, must continue to maintain the style of plain living and hard struggle, to stand up to the tests of temptations, exciting \position\he spirit of selfless dedication and provide services. Investee 4. clearly defined responsibilities. Putting people first is acommon vision of development, everyone is a liability. People-oriented, above and below with the responsibility for coordinating system must be established and hold everyone accountable. First, we must strengthen the leadership. \ce, its governance, its level, bear the responsibility of the Division.\his is the minimum requirement for leaders, is a measure of the basic criteria for whether a leading cadre is competent. Leaders need to \benefit of\ously assume responsibility for implementing people-oriented. Director of the Office of the party committees at all levels is the responsibility of the units to implement people-oriented, to manage their people, \n own responsibility\nce the education of leading cadres, cadres and cadres work, efforts to revitalize the Office of human resources, Office work is full of vigor and vitalityJava Web应用开发——在线模拟考试系统的设计与实现

结束语

通过这次项目实训设计,对很多东西有了新的认识和新的见解,认识问题的和思考解决办法有了本质上的进步,特别是对一个系统开发的模式有了更深的认识,对专业技能的运用更熟练。

网上考试系统的开发过程中也遇到了很多问题,开始做需求时不确定考试系统到底应该具备那些功能,只知道主要功能就是有试题能考试,但具体流程,怎样实现这些功能就很模糊,所以查看了很多资料才理清楚。数据库设计也是个难点,不明确要实现哪些功能就不能很好的把数据库设计好。设计数据库就是开发一个系统的核心。设计数据库一定要思路清晰,各个数据的流向各个表之间的关系一定要弄清楚,透彻。数据库设计出错了对以后整个系统的影响是最直接的。所以做需求时一定要做好需求分析,考虑完善,数据库设计要谨慎。总之需求分析时能做好就能降低需求变更,再加上设计时考虑到的技术可行性就可以大幅度的降低需求变更。

最终还是完成了预定的需求功能。看到自己独立完成并可以使用的系统给了我很大信心。在本系统的设计过程和论文编写过程中,很多老师、同学都给与了我许多无私的帮助,尤其是我的导师给我的论文提出了很多宝贵的修改意见,在这里我向这些无私帮助我的人表示衷心的感谢。

网上考试系统给我获得了实践中再学习的机会。通过独立完成网上考试系统后,了解了其实自己还有很多很多的东西还不知道,还需要再学习。以为四年的学习时间很长,可以学到很多知识,其实老师所教的知识还远远不够,但老师给了我们学习新知识新技术的方法,让我们能自己学习,自己去摸索,这一点是最重要的。

所以感谢每一位任课的老师,是他们对我们高度负责的态度,含辛茹苦的教导才使得我们学到了将会受益终生的知识教诲。特别要感谢的是我的毕业设计指导老师XXX老师,在此致以万分感谢!

最后,感谢曾给过我帮助的同学和朋友,愿他们心想事成。

37

well, with the effectiveness of services to defend the interests of the masses. Third, we should strive to do well. To achieve good practical results, the key is to know the law, to grasp the laws and using laws. Office of economic development, social progress, there are rules to follow. Only act according to the law, to overcome blindness and strengthening initiative, creative. Working n the Office, we should be good at analyzing the essence of things, to find regular thing, change from passive to active, to seek one. Investee 2. establishment of evaluation system. Evaluation system is essentially an incentive mechanism, the evaluation was objective and fair, reasonable, and can stimulate a person's energy, mobilizing people's enthusiasm or be misleading, dampened the enthusiasm of people. At present, the concept of people-oriented people, but to establish and perfect evaluation system is still lagging behind. Work in this area should be seriously caught up. \phasis on\standards and scientific. A fundamental point of the evaluation criteria, is to keep contact, development, comprehensive eye evaluation of cadres. Office work, both \d\potential performance\both subjective efforts, take another look at the objective condition; both \nough, take another look at the \cipating the breadth of the subject. Evaluation of cadres must give full play to democracy, cadres and the masses handing over evaluation. Office work services leadership and service base, serve the people, then nominated the main object will contain a variety of services, so that assessment was accurate and to avoid one-sidedness. Third, pay attention to the seriousness of the conclusion. The use of evaluation findings is mainly embodied in his direction. Permitted to choose one, it would be tantamount to establishing a banner. Evaluation can't take care of the balance, otherwise it would undermine the offset the positive significance of evaluation. Office of the party committees at all levels should take the findings as on the cadres ' bonus-penalty, an important basis for future movements, incentive and restraint effect of making evaluations. 3. Prevention of understanding \ople-centered development, concrete is dialectical,. In practice in the process, to prevent one-sided and still look, from actual people. One is to use dialectical point of view to understand. Humanist is the core of the scientific Outlook on development, remains the development of the scientific Outlook on development emphasizes, is still taking economic construction as the Center. Any departure from the development of thought and action, is a misinterpretation and misunderstanding of people-oriented. Adhere to people-oriented both to overcome one-sidedness of the old, but also to prevent one-sidedness, not accelerating the development of people and the opposition. Must be very clear, people oriented and speeding up development is not opposed, but consistent, we should never be参考文献

[1]孙鑫.Java Web开发详解:XML + XSLT + Servlet +JSP深入剖析与应用实例[M].北京:电子工业出版社,2006.

[2]计磊,李里,周伟.精通J2EE整合应用案例[M].北京:人民邮电出版社,2006. [3]孙卫琴,李洪成. Tomcat与Java Web开发技术详解[M].北京:电子工业出版社,2004. [4]唐有国,湛洪波.编著.JSP网站开发详解[M].北京:清华大学出版社,2008 [5]王红.Java Web应用开发技术实用教程[M].北京:水利水电出版社,2008. [6]林建素,孟康健.Eclipse开发学习笔记[M].北京:电子工业出版社,2008.

[7]孙卫琴.Tomcat与Java Web开发技术详解(第2版)[M].北京:电子工业出版社,2009. [8]卢菊平,郭江杰.精通JSP+XML+CSS网络开发混合编程[M].北京:电子工业出版社,2006. [9]封超,晁阳.Tomcat与Java Web开发技术详解[M].北京:清华大学出版社,2008. [10]梁立新.项目实践精解:JAVA Web应用开发[M].北京:电子工业出版社,2007. [11] Bruce Eckel. Thinking in Java (3rd Edition)[M].机械工业出版社,2009. [12] Bruce Tate. Bitter Java[M]. Manning Publications,2002

eople-oriented in the name of reducing our enthusiasm. Premier Wen Jiabao's Government work report this year, identified as 7% growth, 2.1% lower than last year's 9.1%, but in 8 work remains to accelerate development in the first place ... Work standards. Second is to use the scale of development to understand. Society is evolving, human needs are also changing. Practice of humanism is a long-term process and cannot be achieved overnight. To treat people if you stand still and rigid dogma, it is possible to return to this, see things but not people's old ways. Therefore, we have to follow the development of the times, and continue debugging the humanist perspective, innovative people-oriented way. Under the new historical conditions, we are requested by the times, set up a brand new concept, a high starting point, high standard of armed people, shaping, exercise, people, constantly taking the new connotation of the times. erms of Office, is to lead the vast numbers of cadres to actively adapt to the knowledge faster and actively adapt to the increasingly high level of leadership situation, actively adapt to the demand of the masses more and more situations, eager to learn, enhance accumulation, efforts, honed the ability to overcome a good service, panic. Third is to use realistic understanding. Adhere to people-oriented must be based on reality, not divorced from reality. Desk no water cups here in Hong Kong, staff need to drink some water to the drinking fountain on a floor, the glass used is a one-time non-cone type. Drink this cup can only hold, cannot be put down. This is not only to save on glass materials, more important is to force you to get drinking water, go back to your seat business. Our emphasis on people-oriented, does not imply you can indulge the desires, the comfortable, the pursuit of enjoyment. Office of the party committees at all levels of our comrades, must continue to maintain the style of plain living and hard struggle, to stand up to the tests of temptations, exciting \position\he spirit of selfless dedication and provide services. Investee 4. clearly defined responsibilities. Putting people first is acommon vision of development, everyone is a liability. People-oriented, above and below with the responsibility for coordinating system must be established and hold everyone accountable. First, we must strengthen the leadership. \ce, its governance, its level, bear the responsibility of the Division.\his is the minimum requirement for leaders, is a measure of the basic criteria for whether a leading cadre is competent. Leaders need to \benefit of\ously assume responsibility for implementing people-oriented. Director of the Office of the party committees at all levels is the responsibility of the units to implement people-oriented, to manage their people, \n own responsibility\nce the education of leading cadres, cadres and cadres work, efforts to revitalize the Office of human resources, Office work is full of vigor and vitality

基于Java - Web的在线考试系统的设计与实现

well,withtheeffectivenessofservicestodefendtheinterestsofthemasses.Third,weshouldstrivetodowell.Toachievegoodpracticalresults,thekeyistoknowthelaw,tograspthelaws
推荐度:
点击下载文档文档为doc格式
62lex5878w44p5c1cp2i5zpak1cssx00da6
领取福利

微信扫码领取福利

微信扫码分享