473,566 Members | 2,784 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1097
> 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.mi crosoft.com> wrote in
message news:AD******** *************** ***********@mic rosoft.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.mi crosoft.com> wrote in
message news:AD******** *************** ***********@mic rosoft.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.mi crosoft.com> wrote in
message news:AD******** *************** ***********@mic rosoft.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.mi crosoft.com> wrote in
message news:AD******** *************** ***********@mic rosoft.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
2320
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: this is a non achievable goal, as stubborness and egoism rules - instead of reason and cooperation. Thus I leave all those ridiculous folks...
2
4278
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 = obj1.m1() + obj2.m2(p1, p2) - Class3.m3() or if (obj1.p1 > obj2.m2()) {
21
4093
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
5357
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 it. In my current application there is data that may or may not exist depending on a certain value. It's a set of rules that may or may not...
77
4678
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 ended up compiling it as a = c; b = c. (Both with no optimizations enabled). How did we notice you may ask? Well, in our case 'b' was a memory...
0
1768
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 Editor supporting browsing, editing, iterpreting and validating of:
54
3884
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 parentheses. 1) "The order of evaluation of subexpressions is determined by the precedence and grouping of operators."
39
5037
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
1932
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 Registry - Problem: Can use before and after image to see changes 2. Use of Windows Clock - Problem: Clock can be changed 3. Write to file - : Problem -...
0
7666
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7584
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7888
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8108
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7644
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7951
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6260
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
1201
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
925
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.