how to create online exam paper

Posted by Deepakji under C# on 4/25/2012 | Points: 10 | Views : 5518 | Status : [Member] | Replies : 2
hi, i want to create online exam paper for the students where they can write the exam and system will generate the answer previously i was able to generate in word doc which later can be printed now i need online so please let me know how can it be done or any code which can be used its urgent.




Responses

Posted by: Siva524 on: 5/7/2012 [Member] Starter | Points: 25

Up
0
Down
first select asp.net empty web site template from the available templates
and decide how many questions you want to include in online test.
suppose 5 questi ons .so take 6 web fo rms .each webpage contains one question.
i took one extra form because to show result of the online test after clicking submit button in webpage 5.
for each question have multiple choices so take 4 choi ces and take the choices as radiobut ton
because one option must be answer.


after that use cookie or query string or session to hold the option selected by the user.
if the selected option is correct then increment "counter" variable.
otherwise no change .
take right answer as "yes" and wrong answer as "no"
add all these values to string
like below
string s="";

for(int i=0;i<noofquestions;i++)
{
string result+=q+" i"+":"+ session["r1"];
}
result+="<BR>"+counter



Deepakji, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Prabhakar on: 5/8/2012 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi , Deepakji


Go with this link .. it's help us u.. for make online Exam

http://www.codeproject.com/Articles/105285/Online-Exam-in-C-ASP-NET

Best Regard's
Prabhakar

Deepakji, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response