摘要
在试题顺序和答案顺序随机的情况下,使用AJAX技术,实现将在线考试的答案定时保存到服务端数据库。在考生意外关闭浏览器再次进入后,试题和答案顺序和第一次进入时一致,已做的答案被勾选。在客户端和服务端交互中,尽可能地精简交互的数据,减少交互次数,保证系统的性能。
In the case of random questions order and answer order, it uses the AJAX technology, realizes the online examination answers timing saved to the database server. When the examinee acci dentally closed the browser and re-entered, the order of questions and answers are the same as the first enter, and the answer which has ever done is checked again. In interation of the client and the server, streamlines the interactive data as possible, reduces the exchange times, to en sure that the performance of the system.
出处
《现代计算机》
2012年第23期76-77,共2页
Modern Computer