52 point Member
Joined on 05-19-2005, 1:52 PM
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?