>>hello to every one, i m developing online test for student i hve to 
>>define a timer. means i hve to specify the test ending time limit. it 

>You would have to use JS for the client side timer. 
bad idea
>You can use JS or meta tag refresh to redirect the page after a set 
>time. You would print or echo the time value to the page output so JS 
>or Meta Tag can start counting from or to the value you specified.
another not so good idea.

It is for a student test. That means you want the student not to be able to
fraud the test. That means that the control can not be something that can be
manipulated on the client side. Because the student will have the
possibility to disable javascript, or to save the page, change the refresh
time, and open the locally saved page to submit that...

You have some options, but all with some limitations:
1. use session tiome expiration. Quite OK, except that it will not let you
vary the time between different tests as this is a global setting.
2. when serving the test, write the request time into a db table. When the
answer is received, compare the time with the previously saved time to
decide if there was a time out. In case of a time out, tell the student he
has passed the set time limit.
Of course a nice javascript watch on the page, counting back, would be nice
in this case. You will have to give a margin of some seconds as you can not
trust the page to load in 0.0 seconds...

Still, you will have to remember that students can ALWAYS fraud online tests
when they are made without supervision, so they are unsuitable to really
grade students. I worked on this for quite some time for a Dutch University
for a distance education project and the only solution would be to have
students take tests in a supervised room, to avoid them chatting amongst
each others, using MSN qwhile making the test, using cell-phone
text-messaging or using a book.

Tests for distance education with some value (i.e.: leading to a real
diploma that has been payed expensively) can not be trusted to be taken in a
not controlled environment.

Marc



___________________________________
Webmail TOP Internet www.top.com.br




Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/php-list/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to