与在线考试项目相关 [英] Relating the online exam Project

查看:75
本文介绍了与在线考试项目相关的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的在线考试项目中,我有50个问题.
在某些情况下,当用户按下完成并完成50个问题后,浏览器会抛出错误在51位置没有行".
如果此问题与代码方面有关,则所有学生都应面对此问题,但是大多数学生都在那里完成了考试而没有任何问题.
这与服务器端问题或网络问题有关吗?
在此先感谢

In my online exam project i have 50 questions.
after completing 50 questions when user press finish in some cases browser throw a error that "There is no row at 51 position"
if this problem is related to code side then all student should face this problem, But most of the student completed there exam with any problem.
so is it related to server side problem or network problem?
Thanks in advance

推荐答案

从以上信息看来,您的代码中有问题.不可能有.原因的原因. 您可能会以某种方式递增索引,使得它有时终止而没有在最后一个索引处执行,因此在另一方面却不会报错,有时它会被执行,从而产生错误.
我想您应该先检查您的代码.

在此类问题中,请使用断点,它将帮助您大量解决问题,或打印中间结果以找出错误的方法


谢谢
from above information it seems that there is a problem in your code. there can be no. of reasons for this.
you may be incrementing the index in such a way that some times it terminates without executing at last index hence doesn''t gives error on the other hand sometimes its get executed, therefor giving error.
I suppose you should check your code first.

In this kind of problems use breakpoints it''ll help you alot to solve your problems,or print the intermediate results to catch where you are getting wrong way


thanks


这篇关于与在线考试项目相关的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆