Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 6th, 2007, 05:12 AM
Authorized User
Join Date: Jul 2007
Location: Karachi, Sindh, Pakistan.
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default Online Testing System

52 point Member
Joined on 05-19-2005, 1:52 PM
Posts 111
 I am building a Quiz Engine.

I have a lot of topics in which user can take the quiz.

Remember each topic has thousands of questions.

But I want 25 random questions in each attempt of user.

All is right till Now. But the Question Is.

When the user will start the quiz.

1) I need 25 random questions. One way to implement is we insert 25 questions Id in separate table or use sessions. What is the better solution?

2) I need to save the right or wrong answers which user do. And in the end check this and submit the quiz result. But where we save that results temporarilly eithere in database table or session or any thing else. What is the better solution?

  #2 (permalink)  
Old December 6th, 2007, 01:14 PM
Friend of Wrox
Points: 2,101, Level: 18
Points: 2,101, Level: 18 Points: 2,101, Level: 18 Points: 2,101, Level: 18
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jul 2003
Location: , , .
Posts: 599
Thanks: 6
Thanked 3 Times in 3 Posts


Just a suggestion. I would save the 25 questions in a table with the users ID. You can save the answers in the same table as a bit for right or wrong and if its muliple choice you can save their choice in the same table with the answerID for the answer they chose.


  #3 (permalink)  
Old December 10th, 2007, 12:04 AM
Posts: n/a

my suggestion is to use session..
it is more easy to implement..

1. if more than 100 users are connected u will get very big table
   if the user goes partial way storing data is a waste..(ie u have to
   delete unwanted data peridically)
2. if u have requirement, allowing users in multiple sessions to complete
   25 questions, u must use database
3. each fetch to db will cause some minimum time on server side
   so if u plan a faster system, u have to consider this also..

Happy programming.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
online clinic system project using java jay-jay ASP.NET 1.0 and 1.1 Basics 2 December 6th, 2012 12:13 PM
open source online test/exam system surendran PHP How-To 5 August 22nd, 2010 07:10 AM
Online quiz/testing application takwirira ASP.NET 1.x and 2.0 Application Design 7 March 5th, 2007 03:17 PM
Online testing System karetaker General .NET 4 January 7th, 2007 02:44 AM
How to implement Online payment System virendar23 ASP.NET 1.x and 2.0 Application Design 3 October 2nd, 2006 01:12 PM

All times are GMT -4. The time now is 09:34 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.