html - MCQ Quiz web-app via MySQL and JSPs -
i working on web application(jsp) conducting mcq(multiple choice questions) quizzes. questions stored in mysql database under 'qna' table. there 10 questions , subsequent choices in each. want create quiz timer per question , each question showing on fresh page (i.e, 1 question per page). don't want end creating 10 jsps' 10 questions (that's absurd!!). how manage access each question database , keep displaying them 1 one. (note: in 1 jsp). ton in advance.
simply use ajax here.
- create single page show question.
- fetch questions , option details once , show them 1 one, or can fetch them 1 one using ajax based on test id. can use display property of css show , hide them.
- once answered question call ajax code save , show next question.
kindly try approach , come code if face issue. more idea can checkout aptitude test sample here- www.technicalbaba.com/app/all-online-tests
Comments
Post a Comment