473,385 Members | 1,872 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Evaluation Application

Hello,

I'm developing a web application intended to test students on several
subjects. This tests and their questions are stored properly on a database.

I need to have a time limit either for each question or for the entire test.
I have found some javascript scripts that can help in this matter.

But I need help in implementing a robust time control in the web
application: avoiding users to close the Internet Explorer window and
starting all over, in case they do this, to start on the question they were
before and not losing track of the time (if they closed it on purpose for
five minutes, they should lose this time of their total available), something
like this.

Any ideas of the things I should consider while implementing this system?
Any examples you know available on the web, to analize the functionality of
the application.

Thanks
Nov 19 '05 #1
6 1084
> Any ideas of the things I should consider while implementing this system?

Just an idea, but when the page first loads with the question, grab the
server time and set that as some sort of session variable. Then check
against that on submission to determine the time left.

If you want to update the time for the end-user, perhaps have an iframe with
an aspx page that reloads itself every 15 seconds or so checking against the
stored session variable and counting down from that.

-Darrel
Nov 19 '05 #2
www.brainbench.com provides timed evaluation exams. You can see the current
elapsed time count down as you read the page. The problem with a client side
timer is that it is dependent on the client's clock which can be slow or
even manipulated. For example, a student needing some time for a question
could roll the clock back a minute or two, if they have rights to modify the
desktop settings. Therefore you will need to also track the time started and
completed on the server side as well.

"Gabriel Giraldo" <Ga************@discussions.microsoft.com> wrote in
message news:AD**********************************@microsof t.com...
Hello,

I'm developing a web application intended to test students on several
subjects. This tests and their questions are stored properly on a database.
I need to have a time limit either for each question or for the entire test. I have found some javascript scripts that can help in this matter.

But I need help in implementing a robust time control in the web
application: avoiding users to close the Internet Explorer window and
starting all over, in case they do this, to start on the question they were before and not losing track of the time (if they closed it on purpose for
five minutes, they should lose this time of their total available), something like this.

Any ideas of the things I should consider while implementing this system?
Any examples you know available on the web, to analize the functionality of the application.

Thanks

Nov 19 '05 #3
Check out this article - it explains all of your options for managing state:
http://msdn.microsoft.com/library/de...forWC-CH05.asp

One option that would work for your scenario (reviving a session after a
browser restart) is to store state in a database (SQL Server), or in
cookies.

-HTH

"Gabriel Giraldo" <Ga************@discussions.microsoft.com> wrote in
message news:AD**********************************@microsof t.com...
Hello,

I'm developing a web application intended to test students on several
subjects. This tests and their questions are stored properly on a
database.

I need to have a time limit either for each question or for the entire
test.
I have found some javascript scripts that can help in this matter.

But I need help in implementing a robust time control in the web
application: avoiding users to close the Internet Explorer window and
starting all over, in case they do this, to start on the question they
were
before and not losing track of the time (if they closed it on purpose for
five minutes, they should lose this time of their total available),
something
like this.

Any ideas of the things I should consider while implementing this system?
Any examples you know available on the web, to analize the functionality
of
the application.

Thanks

Nov 19 '05 #4
Thanks a lot. I will consider your idea on my solution

"darrel" wrote:
Any ideas of the things I should consider while implementing this system?


Just an idea, but when the page first loads with the question, grab the
server time and set that as some sort of session variable. Then check
against that on submission to determine the time left.

If you want to update the time for the end-user, perhaps have an iframe with
an aspx page that reloads itself every 15 seconds or so checking against the
stored session variable and counting down from that.

-Darrel

Nov 19 '05 #5
Thanks a lot.

"bradley" wrote:
www.brainbench.com provides timed evaluation exams. You can see the current
elapsed time count down as you read the page. The problem with a client side
timer is that it is dependent on the client's clock which can be slow or
even manipulated. For example, a student needing some time for a question
could roll the clock back a minute or two, if they have rights to modify the
desktop settings. Therefore you will need to also track the time started and
completed on the server side as well.

"Gabriel Giraldo" <Ga************@discussions.microsoft.com> wrote in
message news:AD**********************************@microsof t.com...
Hello,

I'm developing a web application intended to test students on several
subjects. This tests and their questions are stored properly on a

database.

I need to have a time limit either for each question or for the entire

test.
I have found some javascript scripts that can help in this matter.

But I need help in implementing a robust time control in the web
application: avoiding users to close the Internet Explorer window and
starting all over, in case they do this, to start on the question they

were
before and not losing track of the time (if they closed it on purpose for
five minutes, they should lose this time of their total available),

something
like this.

Any ideas of the things I should consider while implementing this system?
Any examples you know available on the web, to analize the functionality

of
the application.

Thanks


Nov 19 '05 #6
Thanks for the MS Link.

"Jeffrey Todd" wrote:
Check out this article - it explains all of your options for managing state:
http://msdn.microsoft.com/library/de...forWC-CH05.asp

One option that would work for your scenario (reviving a session after a
browser restart) is to store state in a database (SQL Server), or in
cookies.

-HTH

"Gabriel Giraldo" <Ga************@discussions.microsoft.com> wrote in
message news:AD**********************************@microsof t.com...
Hello,

I'm developing a web application intended to test students on several
subjects. This tests and their questions are stored properly on a
database.

I need to have a time limit either for each question or for the entire
test.
I have found some javascript scripts that can help in this matter.

But I need help in implementing a robust time control in the web
application: avoiding users to close the Internet Explorer window and
starting all over, in case they do this, to start on the question they
were
before and not losing track of the time (if they closed it on purpose for
five minutes, they should lose this time of their total available),
something
like this.

Any ideas of the things I should consider while implementing this system?
Any examples you know available on the web, to analize the functionality
of
the application.

Thanks


Nov 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: Ilias Lazaridis | last post by:
" A cooperation between Sun Microsystems and IBM&Co. in conjunction with liberal & high evolutive communities would result in an nearly unbeatable programming platform. My evaluation has shown:...
2
by: Jeffrey Ganping Chen | last post by:
I'm trying to build a generic runtime C# expression evaluation engine to allow the user to evaluate any C# code blocks at runtime within the application's context. For example, obj4.p4 =...
21
by: dragoncoder | last post by:
Consider the following code. #include <stdio.h> int main() { int i =1; printf("%d ,%d ,%d\n",i,++i,i++); return 0; }
4
by: SL33PY | last post by:
Hi again, I've been coding in vb .Net on my most recent project and during a debug session I noticed that VB .Net hasn't got lazy evaluation... WHY?! I love lazy evaluation and actually count on...
77
by: berns | last post by:
Hi All, A coworker and I have been debating the 'correct' expectation of evaluation for the phrase a = b = c. Two different versions of GCC ended up compiling this as b = c; a = b and the other...
0
by: webmaster | last post by:
TreeStages would like to announce the first evaluation release of XEntrant XML Editor 0.1, which is available for download from our website: http://www.treestages.com XEntrant is an XML Tree...
54
by: Rasjid | last post by:
Hello, I have just joined and this is my first post. I have never been able to resolve the issue of order of evaluation in C/C++ and the related issue of precedence of operators, use of...
39
by: Boltar | last post by:
Why does C do lazy evaluation for logical boolean operations but not bitwise ones? Ie: the following program prints "1 2" , not "1 1" under gcc main() { int a = 1; int b = 1; 0 && ++a;
4
by: johnguilbert | last post by:
Hi, I have developed an application that I want to make an Evaluation Copy for 1 week. In the past I have used one of the following techniques with each having a drawback: 1. Write to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.