Online exam script help

Discussion in 'PHP' started by Om ji Kesharwani, Aug 9, 2010.

  1. #1
    I am developing a script for online exam. The admin features are completed with unlimited grades,subjects and question sets.

    Now i started client side coding, Please suggest me any tutorial or code to store each answer options in php session for the member giving exam for that session and display result by calculating marks.

    Please tell me how to assign time for 2 hours for each exam when started.
     
    Om ji Kesharwani, Aug 9, 2010 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,901
    Likes Received:
    4,555
    Best Answers:
    123
    Trophy Points:
    665
    #2
    Have you looked at how Moodle do it?

    Assigning time is easy. They sign in, click a "start" button to register their start time and then when they're finished you compare times.
     
    sarahk, Aug 9, 2010 IP
  3. Mythotical

    Mythotical Well-Known Member

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    111
    #3
    You more than like grab the current date/time and post it to the screen for them to view, once they finish have it grab the date/time again as well subtract the newest date/time from the start date/time then have it displayed as "It took you: 27 minutes, 14 seconds to complete the exam for (insert class or exam name here)."
     
    Mythotical, Aug 12, 2010 IP
  4. DonCapri

    DonCapri Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    could use database - 2 fields; start time & finish time.
     
    DonCapri, Aug 12, 2010 IP