View Single Post
  #1  
Old 08-08-2006, 02:29 PM
robertson robertson is offline
Junior Member
 
Join Date: Aug 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
robertson is on a distinguished road
Default online quiz query

Hi, suggestions welcomed

I have an online quiz(zes) to make for a site. The quizzes themselves will not change much I have been throwing around the idea in my head on how to best accomplish this. All questions will be displayed on a single page with a submittal showing number of answers correct, percentage, and answers/explanation.

DB first:
Idea 1:
question table: question_id, question_text, question_answer, question_explanation, question_url
solution table: solution_id, question_id, solution_text

Idea 2:
question table: question_id, question_text, question_answer, question_explanation, question_url, question_solution1, question_solution2, question_solution3, question_solution4

The most a question can have is four answers (maybe change in the future) but some only have two; this leads to me preferring Idea 1.

Now the question is, what is the best way to get this information out of th -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  Webmaster Forums - View Single Post - online quiz query
View Single Post
  #1  
Old 08-08-2006, 02:29 PM
robertson robertson is offline
Junior Member
 
Join Date: Aug 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
robertson is on a distinguished road
Default online quiz query

Hi, suggestions welcomed

I have an online quiz(zes) to make for a site. The quizzes themselves will not change much I have been throwing around the idea in my head on how to best accomplish this. All questions will be displayed on a single page with a submittal showing number of answers correct, percentage, and answers/explanation.

DB first:
Idea 1:
question table: question_id, question_text, question_answer, question_explanation, question_url
solution table: solution_id, question_id, solution_text

Idea 2:
question table: question_id, question_text, question_answer, question_explanation, question_url, question_solution1, question_solution2, question_solution3, question_solution4

The most a question can have is four answers (maybe change in the future) but some only have two; this leads to me preferring Idea 1.

Now the question is, what is the best way to get this information out of th -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote