Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Online Examination System with random questions order

Online Examination System with random questions order

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasedesignregex
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Ani_2006
    wrote on last edited by
    #1

    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

    A Y 2 Replies Last reply
    0
    • A Ani_2006

      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

      A Offline
      A Offline
      arunjothi
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • A Ani_2006

        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

        Y Offline
        Y Offline
        yogsworld
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups