Problem in developin an online testing system

Closed
vibhu - Nov 12, 2008 at 01:41 PM
GiantLeap Posts 85 Registration date Saturday November 29, 2008 Status Member Last seen December 8, 2008 - Dec 3, 2008 at 03:35 PM
hi.....

i m working on an online testing system in asp and facing a lot of problem in developing it. i dont know how to get the selected answers of the questions checked from the database. like a checking system as we have when we check a username's availability in building up our email id. the same check is required and the database is sql server 2005.

would someone pls help me regarding this. i would appreciate ur reply.
Related:

2 responses

pseudo code:


Pass in to the funtion
a) intUSER_TEST_SCORE
b) intQUESTION_NUMBER_TO_CHECK
c) strGIVEN_ANSWER



strRIGHT = select correct_answer from questions where questions.question_number is equal to intQUESTION_NUMBER_TO_CHECK


if strGIVEN_ANSWER = strRIGHT
intUSER_TEST_SCORE = intUSER_TEST_SCORE + 1
end if

Hope it helps
1
GiantLeap Posts 85 Registration date Saturday November 29, 2008 Status Member Last seen December 8, 2008 45
Dec 3, 2008 at 03:35 PM
use Microsoft SQL query
0