Online Examination System with random questions order
-
I am developing an Online Examination System in ASP.NET which will have random order of questions.This tool will be solely for our Company's internal use.There will be different exams annd once the user logins in Domain,he will be able to select the exam type.After that,the user will be redirected to that page.In that page there will be a start button.once,the exam starts,timer will start and there will be timebound.After that,the results will be displayed.the pattern will be multiple choice.There will be two kinds of roles-one Admin and other-User.Admin will be able to add a new exam,set Total Questions and select no. of questions to be displayed,set the time bound.4 choices for answers will be there.Marks can be set by the Admin.Can anybody help me in database design and how to set the random questions-what control to use for that. Anindita
-
I am developing an Online Examination System in ASP.NET which will have random order of questions.This tool will be solely for our Company's internal use.There will be different exams annd once the user logins in Domain,he will be able to select the exam type.After that,the user will be redirected to that page.In that page there will be a start button.once,the exam starts,timer will start and there will be timebound.After that,the results will be displayed.the pattern will be multiple choice.There will be two kinds of roles-one Admin and other-User.Admin will be able to add a new exam,set Total Questions and select no. of questions to be displayed,set the time bound.4 choices for answers will be there.Marks can be set by the Admin.Can anybody help me in database design and how to set the random questions-what control to use for that. Anindita
if u want ur qestions to be retrived randomly u can do it in two ways. 1. use order by newid() in ur t-sql statement. ex: select qstn_no,qstn_des from questions order by newid(). 2.u can use random class in system namespace. random r=new random() int ran=r.next(min,max) this will generate random number and then u can supply this ran in ur query to get records randomly. feel free to ask : arunjothi@gmail.com
-
I am developing an Online Examination System in ASP.NET which will have random order of questions.This tool will be solely for our Company's internal use.There will be different exams annd once the user logins in Domain,he will be able to select the exam type.After that,the user will be redirected to that page.In that page there will be a start button.once,the exam starts,timer will start and there will be timebound.After that,the results will be displayed.the pattern will be multiple choice.There will be two kinds of roles-one Admin and other-User.Admin will be able to add a new exam,set Total Questions and select no. of questions to be displayed,set the time bound.4 choices for answers will be there.Marks can be set by the Admin.Can anybody help me in database design and how to set the random questions-what control to use for that. Anindita
Just i give the logic to generate random question..... 1) U have databse that store number of question.Each question have primary key e.g(1.....1000) 2)In Random Num generator class specify limit to generate number within u r limit i.e (1..1000) once u get number search in database to that quetion number 3) In this way u can generate random question ... Yogesh hgfhtyytytry trytr ytytrytytr