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.
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.
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)."